aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term/9term.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-19/+18
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-079term: add a "look" menu item (#299)Fazlul Shahriar1-0/+6
Add a menu item which functions similar to acme's `Look` command. This is copied from 9front. See: https://code.9front.org/hg/plan9front/rev/1f1596dbca51 https://code.9front.org/hg/plan9front/rev/d2de1d2f7b48
2017-01-099term: c nitsRuss Cox1-1/+2
Change-Id: Ia18ebb28f24bc69f404004896f9ce54ddb53faf9 Reviewed-on: https://plan9port-review.googlesource.com/2782 Reviewed-by: Russ Cox <rsc@swtch.com>
2017-01-09cmd/9term: A hack because I'm constantly getting confused about ^C vs fn+deleteDave Presotto1-0/+5
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>
2013-08-069term: set TERM=dumb instead of TERM=9termRuss Cox1-0/+1
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
2011-10-139term: fix hold mode delayRuss Cox1-0/+1
2011-10-12mergeRuss Cox1-5/+15
2011-10-119term: hold mode back doorRuss Cox1-3/+8
R=rsc http://codereview.appspot.com/5248056
2011-04-279term, acme: autoscrollRuss Cox1-15/+4
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
2010-09-039term, win: better echo cancellationRuss Cox1-7/+7
Also just drop \r from output. It's a losing battle to keep turning it off. R=rsc http://codereview.appspot.com/2128042
2010-05-199term: add -c to force cooked modeDavid Swasey1-1/+4
R=rsc CC=codebot http://codereview.appspot.com/1044043
2009-08-119term: allow scroll wheel in main windowTony Lainson1-1/+1
http://codereview.appspot.com/105082
2006-06-28better cleanuprsc1-2/+5
2006-06-25check initdraw returnrsc1-1/+3
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-2/+2
2006-01-19ignore hangup signalrsc1-4/+2
2006-01-18different login shellrsc1-0/+3
2005-12-29use STACKrsc1-1/+1
2005-12-29fix paste in raw hold modersc1-2/+2
2005-11-30set window params on startuprsc1-3/+5
2005-11-26add button 3 menursc1-1/+1
2005-11-11fix -frsc1-7/+7
2005-11-11fixesrsc1-1/+1
2005-11-11fixesrsc1-1/+4
2005-11-11fixesrsc1-1/+5
2005-11-10morersc1-2/+101
2005-11-07snarf, plumbingrsc1-3/+0
2005-11-07fix snarfrsc1-2/+30
2005-11-06fix scroll barrsc1-1/+1
2005-11-06handle interruptsrsc1-0/+10
2005-11-06New 9term using rio sources more directly.rsc1-1781/+291
2005-08-11Generate interrupt key (according to terminal settings)rsc1-3/+11
when user presses DEL.
2005-07-18better cr handlingrsc1-2/+9
2005-07-14hold mode in raw modersc1-3/+3
2005-07-13lets try hold mode in raw modersc1-9/+17
2005-05-01Allow unicode in identifiers.rsc1-3/+1
2005-02-11fix doubleclickrsc1-3/+11
2005-02-08fix paste againrsc1-1/+1
2005-02-08try to handle DEL betterrsc1-17/+16
2005-01-30handle sysnames in labelsrsc1-1/+10
2005-01-17do not call exits in threaded programsrsc1-1/+1
2005-01-07ignore spurious sigchilds on sunosrsc1-3/+10
2005-01-04new prototypersc1-1/+1
2005-01-02add ? for unknown plumbsrsc1-1/+20
2004-12-26make work with new thread libraryrsc1-8/+8
2004-10-22handle interrupt rightrsc1-1/+3
2004-10-17use threadexitsallrsc1-1/+1
2004-10-17remove socket at exitrsc1-0/+11
2004-10-17fix interrupt handling, add clumsy way to get at text buffer contentsrsc1-3/+92
2004-09-21Continue the pthreads torture.rsc1-6/+2