aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-11-13 18:21:10 -0800
committerRuss Cox <rsc@swtch.com>2008-11-13 18:21:10 -0800
commit95cb0f633d59b3b5b33bba11d8564ef68e817e7e (patch)
tree16f5852020c249e57362caa84e0b4ae989a2a780 /src/cmd/9term
parentd66973d28edb1e78ff534ff016d59c54d40eefe6 (diff)
downloadplan9port-95cb0f633d59b3b5b33bba11d8564ef68e817e7e.tar.gz
plan9port-95cb0f633d59b3b5b33bba11d8564ef68e817e7e.tar.bz2
plan9port-95cb0f633d59b3b5b33bba11d8564ef68e817e7e.zip
win: another attempt at DEL
Diffstat (limited to 'src/cmd/9term')
-rw-r--r--src/cmd/9term/win.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/9term/win.c b/src/cmd/9term/win.c
index 93409f96..77bfe878 100644
--- a/src/cmd/9term/win.c
+++ b/src/cmd/9term/win.c
@@ -372,9 +372,11 @@ stdinproc(void *v)
switch(e.c2){
case 'I':
if(e.nr == 1 && e.r[0] == 0x7F) {
- postnote(PNGROUP, pid, "interrupt");
+ char buf[1];
fsprint(addrfd, "#%ud,#%ud", e.q0, e.q1);
fswrite(datafd, "", 0);
+ buf[0] = 0x7F;
+ write(fd0, buf, 1);
break;
}
if(e.q0 < q.p){