plan9port/src/cmd/9term
Dave Presotto be7485e1da cmd/9term: A hack because I'm constantly getting confused about ^C vs fn+delete
Since Google (and a lot of the outside) is so engrained with using
^C as interrupt, I'd like to be able to use it in 9term if I've
stty'd my intr to ^C. Without this, hitting ^C still works but if
the program behind the window isn't reading from /dev/cons, it won't
take effect till after I hit a newline which is often very confusing.

I know this is a hack since it only works if I stty intr ^C but that
seems the only other character that gets used anyways.

Change-Id: I0597e63b2d7628f5668c648e6dba6f281e4b27fd
Reviewed-on: https://plan9port-review.googlesource.com/2742
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-01-09 15:42:59 +00:00
..
9term.c cmd/9term: A hack because I'm constantly getting confused about ^C vs fn+delete 2017-01-09 15:42:59 +00:00
bsdpty.c 9term, win: work around bsd linker nonsense 2017-01-06 20:20:33 +00:00
Darwin.c make mac work 2004-04-19 23:58:57 +00:00
dat.h merge 2011-10-12 13:19:04 -04:00
data.c Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
DragonFly.c all: DragonFly port. 2014-02-27 23:17:47 -05:00
fns.h cmd/9term: A hack because I'm constantly getting confused about ^C vs fn+delete 2017-01-09 15:42:59 +00:00
FreeBSD.c clean up when finished. 2004-04-19 23:03:46 +00:00
Linux.c 9term: fix getpts on linux 2010-06-28 14:32:29 -07:00
malloc.c New 9term using rio sources more directly. 2005-11-06 22:16:48 +00:00
mkfile all: DragonFly port. 2014-02-27 23:17:47 -05:00
NetBSD.c more netbsd support. 2005-03-28 19:37:33 +00:00
OpenBSD.c OpenBSD, thanks to Tim Wiess 2005-07-21 18:29:04 +00:00
rcstart.c 9term: set TERM=dumb instead of TERM=9term 2013-08-06 09:42:10 -04:00
scrl.c New 9term using rio sources more directly. 2005-11-06 22:16:48 +00:00
SunOS.c 9term, win: better echo cancellation 2010-09-03 10:21:16 -04:00
term.h 9term: set TERM=dumb instead of TERM=9term 2013-08-06 09:42:10 -04:00
time.c New 9term using rio sources more directly. 2005-11-06 22:16:48 +00:00
util.c New 9term using rio sources more directly. 2005-11-06 22:16:48 +00:00
win.c win: local \r cancellation 2015-11-10 15:34:42 +00:00
wind.c cmd/9term: A hack because I'm constantly getting confused about ^C vs fn+delete 2017-01-09 15:42:59 +00:00