Commit Graph

31 Commits

Author SHA1 Message Date
Russ Cox
0d2dfbc84f 9term, win: better \r handling (thanks, git)
Change-Id: I75563b911b54d8957d2d004b9c27d0a2f8f043b3
Reviewed-on: https://plan9port-review.googlesource.com/1390
Reviewed-by: Russ Cox <rsc@google.com>
2015-11-10 15:34:06 +00:00
Russ Cox
bf63f986ff 9term: set TERM=dumb instead of TERM=9term
Everyone seems to assume that TERM != dumb implies
ANSI escape codes are okay. In fact, many people assume
that unconditionally, but it is easier to argue back about
TERM=dumb than TERM=9term.

This applies to acme win too, because they share the code.

Set termprog=9term or termprog=win for clients who
need to know.

R=rsc
CC=r
https://codereview.appspot.com/12532043
2013-08-06 09:42:10 -04:00
Russ Cox
0e881c054a 9term: hold mode back door
R=rsc
http://codereview.appspot.com/5248056
2011-10-11 09:34:25 -04:00
Mathieu Lonjaret
13666ca73e win: hide not just passwords but also passphrases
R=rsc, nicolesimons1986
CC=plan9port.codebot
http://codereview.appspot.com/4957042
2011-08-26 16:40:04 -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
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
875351f44f win: add cook/nocook
R=rsc
http://codereview.appspot.com/2162042
2010-09-10 09:31:56 -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
Eoghan Sherry
bea7c49aad win: scroll
R=rsc
CC=codebot
http://codereview.appspot.com/643041
2010-03-19 13:10:14 -07:00
Fazlul Shahriar
6a6c2663bf win fixes
- don't exit from a "child" note unless rc exited (code copied from 9term.c)
- ignore writes to the tag; specifically " Send Noscroll" at startup.

R=rsc
CC=codebot
http://codereview.appspot.com/181115
2010-01-05 14:31:27 -08:00
Russ Cox
65a34c7fac win: better SIGPIPE handling 2009-01-06 14:42:41 -08:00
Russ Cox
95cb0f633d win: another attempt at DEL 2008-11-13 18:21:10 -08:00
Russ Cox
d66973d28e win: handle DEL internally so that it always works 2008-11-13 15:49:48 -08:00
Russ Cox
e1118cf27c win: implement Scroll and Noscroll 2008-11-13 15:39:56 -08:00
rsc
adcb656c84 correct dump string (Fazlul Shahriar) 2007-04-17 05:43:22 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
0aa79278fa quiet Del in win 2006-03-27 13:06:15 +00:00
rsc
4b970769b9 more robust win 2005-03-05 13:11:00 +00:00
rsc
38c087aa6d add - 2005-01-30 16:49:46 +00:00
rsc
efe1241109 handle sysnames in labels 2005-01-30 16:27:45 +00:00
rsc
f8104b3d3d exit on eof 2005-01-05 04:01:12 +00:00
rsc
452c09358f change to use new library. 2005-01-04 21:27:19 +00:00
rsc
60535a5ff6 make work with new thread library 2004-12-26 21:37:31 +00:00
rsc
b1455f33a8 Little fixes. 2004-04-30 02:16:28 +00:00
rsc
2d930d4552 always be honest about tabstop. 2004-04-25 20:49:44 +00:00
rsc
5e0f7e8a72 Fix window size in case we inherited a bad one. 2004-04-23 06:49:17 +00:00
rsc
b4a659b6cf clean up when finished. 2004-04-19 23:03:46 +00:00
rsc
4dcd9af228 9term manages to turn off echo at the right times under SunOS ? 2004-04-15 02:04:30 +00:00
rsc
4f30f3b444 grey out 9term when it loses focus. 2004-03-30 05:03:29 +00:00
rsc
be22ae2d07 SunOS can rot in hell. 2004-03-26 01:59:35 +00:00
rsc
8ad517944e Today's changes.
More changes.
2004-03-25 23:03:57 +00:00