Richard Miller
d9ada3e4f8
build: fix for non-standard uname
...
The scratchbox-based SDK for maemo cross-compilation (for Nokia N800 and N900) has a non-standard uname command which doesn't support the '-p' option. This patch allows INSTALL to work anyway, by issuing 'uname -m' if 'uname -m -p' fails.
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4554041
2011-05-18 13:21:40 -04:00
Richard Miller
9cf92718e9
arm: build fixes
...
Get p9p to build cleanly for ARM - based on suggestions from rsc and eekee, plus a final tweak from me. Tested (a bit) on sheevaplug (ubuntu jaunty), Nokia N800 (maemo 4) and Nokia N900 (maemo 5).
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4524056
2011-05-18 13:20:56 -04:00
Russ Cox
af0dea4531
SunOS fixes (thanks Aram Hăvărneanu)
...
R=rsc, rsc
http://codereview.appspot.com/4271084
2011-05-17 18:48:42 -04:00
Rob Pike
4e247f10fa
gif: fix setting of transparency channels when writing gifs.
...
R=rsc
http://codereview.appspot.com/4538073
2011-05-17 17:46:45 -04:00
Russ Cox
333482548d
lib9: restore SIGCHLD handler in rfork
...
R=rsc
http://codereview.appspot.com/4436071
2011-05-01 15:38:18 -04:00
Russ Cox
8cd258df4e
crop: fix 64-bit
...
R=rsc
http://codereview.appspot.com/4438088
2011-05-01 14:42:58 -04:00
Russ Cox
ba31ab3044
9term, acme: autoscroll
...
Ignore scroll/noscroll window setting.
Instead, scroll when the write begins in
or immediately after the displayed window content.
In the new scrolling discipline, executing
"Noscroll" is replaced by typing Page Up or
using the mouse to scroll higher in the buffer,
and executing "Scroll" is replaced by typing End
or using the mouse to scroll to the bottom of
the buffer.
R=r, r2
http://codereview.appspot.com/4433060
2011-04-27 13:18:07 -04:00
Eoghan Sherry
42ef984cf2
mklatinkbd: fix buffer overflow
...
Fixes #71 .
R=rsc
CC=codebot
http://codereview.appspot.com/4327057
2011-04-04 15:46:58 -04:00
Russ Cox
707b99e60b
unvac: always create writable directories
...
R=rsc
http://codereview.appspot.com/4221043
2011-02-23 08:26:35 -05:00
Russ Cox
6886b3cd89
rc: fix $ifs bug introduced with utf-8 code
...
R=rsc
http://codereview.appspot.com/4187050
2011-02-16 12:48:06 -05:00
Russ Cox
31bffaba60
eqn: add working mbtowc and wctomb
...
Fixes UTF-8 input files.
R=rsc
http://codereview.appspot.com/4132042
2011-02-04 15:41:39 -05:00
Jeff Sickel
cbcec5adb9
devdraw: fix flashing during window drag
...
R=rsc
CC=codebot
http://codereview.appspot.com/3922043
2011-01-12 00:54:22 -05:00
Russ Cox
a2f6b810f5
factotum: add proto-specific key prompt
...
R=rsc
http://codereview.appspot.com/3852042
2011-01-02 18:50:00 -05:00
Russ Cox
3e899d0203
tr: 32-bit rune fixes
...
R=rsc
http://codereview.appspot.com/3761044
2011-01-02 18:42:25 -05:00
Russ Cox
2bde567347
mklatinkbd: fix out of bounds bug
...
R=rsc
http://codereview.appspot.com/3828045
2011-01-02 18:31:50 -05:00
Russ Cox
a8bf49f9cb
acid: fix build
...
R=rsc
http://codereview.appspot.com/3784048
2011-01-02 18:30:22 -05:00
Russ Cox
5e90ec75ee
libframe: fix line wrap display glitch (Erik Quanstrom)
...
R=rsc
http://codereview.appspot.com/3777044
2011-01-02 17:54:48 -05:00
Russ Cox
839c052a93
acid: 4-byte Runes
...
R=rsc
http://codereview.appspot.com/3860041
2011-01-02 16:01:05 -05:00
Russ Cox
b567422f98
keyboard(7): document X compose sequences
...
Add -x flag to mklatinkbd to generate file for $HOME/.XCompose.
Thanks to Anthony Martin, Tony Lainson, and Kris Maglione for legwork.
R=rsc
http://codereview.appspot.com/3811043
2011-01-02 15:39:09 -05:00
Russ Cox
0786c9647c
rc: handle 4-byte utf-8
...
R=rsc
http://codereview.appspot.com/3833043
2011-01-02 13:44:15 -05:00
Russ Cox
72f66c2d3c
rc: handle utf-8 in $ifs
...
R=rsc
http://codereview.appspot.com/3798046
2011-01-02 13:43:20 -05:00
Russ Cox
c4071243a5
factotum: update prototab (thanks Erik Quanstrom)
...
R=rsc
http://codereview.appspot.com/3750045
2010-12-28 21:46:07 -05:00
Russ Cox
02d8e8247f
wc: 4-byte utf-8 capable (Erik Quanstrom)
...
R=rsc
http://codereview.appspot.com/3437044
2010-12-07 23:15:22 -05:00
Russ Cox
74dd032175
delete 9P2000.u
...
thanks to Erik Quanstrom
R=rsc
http://codereview.appspot.com/3469042
2010-12-07 13:34:11 -05:00
Russ Cox
d10a7ed9a8
auth/factotum: fix password prompt hang
...
Fixes #51 .
R=rsc
http://codereview.appspot.com/3431044
2010-12-07 13:17:27 -05:00
Russ Cox
00f0146a5c
venti: add mgr (work in progress)
...
R=rsc
http://codereview.appspot.com/3003041
2010-11-09 10:52:41 -05:00
Russ Cox
dc6625ea01
import: clean up correctly
...
R=rsc
http://codereview.appspot.com/2875041
2010-11-03 15:49:22 -04:00
Russ Cox
de2d77683e
mkfiles: fix macargv buf
...
R=rsc
http://codereview.appspot.com/2729042
2010-10-27 19:40:16 -07:00
Russ Cox
afea5fc3fd
mac: add 9term.app, Plumb.app
...
R=rsc
http://codereview.appspot.com/2783041
2010-10-27 18:22:03 -07:00
Russ Cox
c8471ac58c
win: another attempt at input modes
...
R=rsc
http://codereview.appspot.com/2476042
2010-10-13 10:50:46 -04:00
Russ Cox
bb72982b79
libmach: fix warning about preadn
...
R=rsc
http://codereview.appspot.com/2388041
2010-10-07 04:23:17 -04:00
Anthony Martin
c54202e577
getflags: use shell quoting
...
R=rsc
CC=codebot
http://codereview.appspot.com/2065042
2010-10-07 03:35:43 -04:00
Russ Cox
a6ba36b663
plumber: comment out bogus user name check
...
R=rsc
http://codereview.appspot.com/2295043
2010-10-07 03:31:19 -04:00
Russ Cox
873e5f5094
libmach: more mach-o support
...
R=rsc
http://codereview.appspot.com/2277041
2010-09-24 12:25:25 -04:00
Russ Cox
875351f44f
win: add cook/nocook
...
R=rsc
http://codereview.appspot.com/2162042
2010-09-10 09:31:56 -04:00
Russ Cox
77929f8261
topng: 64-bit fix
...
R=rsc
http://codereview.appspot.com/2124042
2010-09-03 10:21:44 -04:00
Russ Cox
ef5c6a6eda
9term, win: better echo cancellation
...
Also just drop \r from output.
It's a losing battle to keep turning it off.
R=rsc
http://codereview.appspot.com/2128042
2010-09-03 10:21:16 -04:00
Rob Pike
a208917e7a
acme: fix rounding in rows computation
...
R=rsc
CC=codebot
http://codereview.appspot.com/2007045
2010-08-24 10:16:32 -04:00
Russ Cox
860d327c8f
sam: use ulong as type of dev consistently
...
Otherwise io.c:39 compares int != ulong,
causing spurious file modification warnings
when dev doesn't fit in an int.
R=r
http://codereview.appspot.com/1917045
2010-08-04 17:35:44 -07:00
Russ Cox
4e2602a754
devdraw: snarf better with Chrome
...
maybe the code is also actually correct. who knows.
R=rsc
http://codereview.appspot.com/1875045
2010-07-22 13:52:56 -07:00
Russ Cox
36d9b90c56
acme, sam: fix regexp code for bigger Runemax
...
R=r
http://codereview.appspot.com/1765042
2010-07-14 11:10:59 -07:00
Russ Cox
75a851e927
acme: fix off by one in editcmd, pointer comparison in getch, nextc
...
R=r
http://codereview.appspot.com/868046
2010-07-14 11:08:42 -07:00
Russ Cox
efe48aa670
lib9: add <sys/dkio.h> for OpenBSD
...
R=, rsc
CC=
http://codereview.appspot.com/1762045
2010-07-11 10:08:41 -07:00
Russ Cox
d67dc856d1
tar: rename sstrnlen to avoid OpenBSD compile error
...
R=, rsc
CC=
http://codereview.appspot.com/1810041
2010-07-11 09:48:51 -07:00
Michael Teichgräber
c006e98419
This patch fixes unicode, unicode-be and unicode-le
...
input, and unicode output, which have been broken due
to the change of the size of Rune from two bytes to
four bytes.
(Unicode-le and unicode-be output have not been
affected, since they work different, and produce
correct output as long as sizeof(Rune) >= 2.)
In all of the affected functions an extra array of N
elements of type u16int is used to temporarily store
the 16-bit unicode data. As this increases stack
usage, perhaps a different, slightly more complicated
solution might be preferred, where only a single
`Rune buf[N]' is used for both temporary storage and
the result.
R=rsc
CC=codebot
http://codereview.appspot.com/1574041
2010-06-28 14:43:28 -07:00
Anthony Martin
25989d9eca
tcs: macroman charset fixes
...
2126 -> 03a9 # greek capital letter omega
2012 -> 201c # left double quotation mark
00a4 -> 20ac # euro sign
f7ff -> f8ff # apple logo
R=rsc
CC=codebot
http://codereview.appspot.com/1233043
2010-06-28 14:37:40 -07:00
Anthony Martin
598020ec4e
hget: use absolute url for POST through a proxy
...
R=rsc
CC=codebot
http://codereview.appspot.com/1282042
2010-06-28 14:37:26 -07:00
Anthony Martin
0efbfd36f5
9p: tflag sorts by mtime
...
R=rsc
CC=codebot
http://codereview.appspot.com/1265043
2010-06-28 14:33:30 -07:00
Anthony Martin
c988c8adf1
9term: fix getpts on linux
...
Openpty uses grantpt internally and its behavior is
unspecified when a handler is set to catch SIGCHLD.
Fixes issue 37. http://code.swtch.com/plan9port/issues/37
R=rsc
CC=codebot
http://codereview.appspot.com/1209049
2010-06-28 14:32:29 -07:00
David Swasey
670f730113
9term: add -c to force cooked mode
...
R=rsc
CC=codebot
http://codereview.appspot.com/1044043
2010-05-19 18:27:05 -07:00