Commit graph

80 commits

Author SHA1 Message Date
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
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
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
Tony Lainson
3b7ca01f98 9term: allow scroll wheel in main window
http://codereview.appspot.com/105082
2009-08-11 11:11:58 -04:00
rsc
93921c4817 better cleanup 2006-06-28 17:39:52 +00:00
rsc
98df7c80d8 check initdraw return 2006-06-25 23:50:32 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
89de2e575e ignore hangup signal 2006-01-19 00:05:56 +00:00
rsc
5bd21066c5 different login shell 2006-01-18 23:11:00 +00:00
rsc
7fe619f766 use STACK 2005-12-29 22:11:35 +00:00
rsc
e58459c7b3 fix paste in raw hold mode 2005-12-29 21:15:06 +00:00
rsc
baa6e34b72 set window params on startup 2005-11-30 02:31:55 +00:00
rsc
d879e173b4 add button 3 menu 2005-11-26 15:42:53 +00:00
rsc
21d0dda69c fix -f 2005-11-11 08:01:37 +00:00
rsc
cf21e2e6fc fixes 2005-11-11 01:37:00 +00:00
rsc
bcc96c1df8 fixes 2005-11-11 01:33:53 +00:00
rsc
c21d0ab45b fixes 2005-11-11 00:37:14 +00:00
rsc
c935adc6a2 more 2005-11-10 23:21:06 +00:00
rsc
0c7f940a72 snarf, plumbing 2005-11-07 15:07:40 +00:00
rsc
3fd51250be fix snarf 2005-11-07 01:51:11 +00:00
rsc
a0205bea95 fix scroll bar 2005-11-06 22:31:59 +00:00
rsc
10ab06a791 handle interrupts 2005-11-06 22:22:54 +00:00
rsc
e830a90849 New 9term using rio sources more directly. 2005-11-06 22:16:48 +00:00
rsc
38897b2053 Generate interrupt key (according to terminal settings)
when user presses DEL.
2005-08-11 16:43:37 +00:00
rsc
dcc0b3ca1d better cr handling 2005-07-18 00:01:56 +00:00
rsc
6cc5b304fa hold mode in raw mode 2005-07-14 00:20:41 +00:00
rsc
55d360f653 lets try hold mode in raw mode 2005-07-13 03:53:17 +00:00
rsc
040b6da028 Allow unicode in identifiers. 2005-05-01 17:56:35 +00:00
rsc
4999080d5b fix doubleclick 2005-02-11 19:44:27 +00:00
rsc
fa467fbe51 fix paste again 2005-02-08 20:41:39 +00:00
rsc
8d9f61e1c9 try to handle DEL better 2005-02-08 18:33:06 +00:00
rsc
efe1241109 handle sysnames in labels 2005-01-30 16:27:45 +00:00
rsc
38c10d1abc do not call exits in threaded programs 2005-01-17 21:29:00 +00:00
rsc
e45084490f ignore spurious sigchilds on sunos 2005-01-07 17:06:01 +00:00
rsc
100d566802 new prototype 2005-01-04 21:26:49 +00:00
rsc
acc021b8f8 add ? for unknown plumbs 2005-01-02 03:45:07 +00:00
rsc
60535a5ff6 make work with new thread library 2004-12-26 21:37:31 +00:00
rsc
048610b7ea handle interrupt right 2004-10-22 18:11:38 +00:00
rsc
ad00bb91b9 use threadexitsall 2004-10-17 05:33:14 +00:00
rsc
c3e73c01e3 remove socket at exit 2004-10-17 04:18:55 +00:00
rsc
42c3794c5c fix interrupt handling, add clumsy way to get at text buffer contents 2004-10-17 04:06:56 +00:00
rsc
c6687d4591 Continue the pthreads torture. 2004-09-21 01:11:28 +00:00
rsc
e5c26b01f7 various forgotten files 2004-09-20 15:08:57 +00:00
rsc
0fa6e0cfbf Make comment match code. 2004-08-06 12:44:41 +00:00
wkj
8773b4b238 Try to be more clever about re-enabling terminal echo.
From Axel Belinfante.
2004-08-02 15:21:38 +00:00
rsc
d7037d6280 scrolling 2004-06-11 04:12:54 +00:00
rsc
3d99190131 mouse scrolling 2004-06-09 14:54:37 +00:00
rsc
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
304b47c101 collapse \r\r\r\r => \r. 2004-04-25 21:23:27 +00:00
rsc
2d930d4552 always be honest about tabstop. 2004-04-25 20:49:44 +00:00