aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm
Commit message (Collapse)AuthorAgeFilesLines
* acme, sam, samterm: remove weird switch usageRuss Cox2021-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | For whatever reason all three of these programs contain switches like: switch(x) { case 1: if(cond) case 2: f(); } Like Duff's device, this is legal C but more obscure than it really needs to be. This commit assumes those are intended as written and simply writes them more clearly. I did consider that maybe they are mistakes, but in the case of sam/regexp.c, my rewrite in this commit matches the acme/regx.c that has been in plan9port since I added acme in 2003. (I didn't bother to dig up the old Plan 9 releases.) Assuming acme/regx.c has been correct for the past two decades, this commit should be correct too.
* Trivial changes: whitespace and modes.Dan Cross2020-01-105-9/+8
| | | | | | | | | 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>
* samterm: stop ignoring all keys >= KcmdPocket78782019-04-051-2/+3
|
* samterm: free some getenv resultsXiao-Yong Jin2018-03-271-2/+7
|
* samterm: retina scaling for scroll bars, bordersRuss Cox2012-11-263-14/+24
| | | | | R=rsc http://codereview.appspot.com/6844083
* This should resolve the crash indicated in issue 44:Eoghan Sherry2010-02-181-1/+1
| | | | | | | | http://code.swtch.com/plan9port/issue/44/sam-crash R=rsc CC=codebot http://codereview.appspot.com/207094
* mergeRuss Cox2009-04-301-0/+19
|
* Better tick management - no frdrawseltick calls.rsc2007-05-101-4/+6
|
* manage off-screen tick betterrsc2007-05-102-8/+18
|
* shut up gccrsc2006-04-201-2/+2
|
* 64-bit fixes from plan 9rsc2006-04-203-23/+23
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-013-4/+4
|
* ignore interruptsrsc2006-02-091-0/+10
|
* cleanuprsc2005-03-183-9/+8
|
* line editing from robrsc2005-03-181-9/+33
|
* disable chordingrsc2005-01-301-3/+5
|
* add autoindent (-a) and chording.rsc2005-01-274-13/+71
| | | | clean up argument parsing.
* ignore host read eof while exitingrsc2005-01-203-0/+9
|
* gccrsc2005-01-071-0/+1
|
* debugging for sam, and an old fix forgottenrsc2005-01-073-3/+18
|
* debuggingrsc2005-01-073-10/+13
|
* use 9pclientrsc2005-01-041-3/+3
|
* Goodbye SHORTLIBrsc2005-01-041-2/+0
|
* change to use new thread libraryrsc2004-12-273-14/+31
|
* Fix missing parameter type. From rob.wkj2004-06-251-1/+1
|
* add key syms.rsc2004-06-171-1/+3
| | | | where did these go?
* Buttons 4 and 5rsc2004-06-091-4/+37
|
* add -W to specify window size.rsc2004-04-291-2/+7
| | | | various other little fixes.
* clean up when finished.rsc2004-04-191-1/+0
| | | | | don't set PLAN9 don't set PLAN9
* SunOS can rot in hell.rsc2004-03-261-0/+1
|
* Small tweaksrsc2004-03-211-19/+17
| | | | Lots of new code imported.
* Little tweaks and documentation.rsc2004-03-023-29/+13
|
* Make sure snarf is <64kB, since the wire countrsc2004-03-021-4/+11
| | | | is only 16 bits.
* Various tweaks.rsc2004-02-291-4/+2
|
* Small tweaks to make things build again.rsc2004-02-291-2/+2
|
* Fighting the good fight.rsc2004-02-291-6/+9
| | | | | | | | | | | | Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
* More tweaks on Linux and Solaris.rsc2003-11-251-1/+1
|
* Changes for Mac OS X. Most important is stack sizes in samterm,rsc2003-11-242-4/+6
| | | | | | which were completely bogus. (Libthread used to ignore them but not anymore. Maybe we really should ignore them, but that breaks Venti, which needs *really* big stacks.)
* make -> mkrsc2003-11-232-29/+30
|
* perror, create, remove now in the headersrsc2003-11-231-4/+0
|
* remove debugging print.rsc2003-11-231-1/+0
|
* change from rob -- handle ^U like in rio, acmersc2003-11-231-0/+4
|
* Use new directory structure.rsc2003-10-111-6/+6
|
* Tweaks to make it work on Unix.rsc2003-10-116-66/+86
|
* Reorgrsc2003-09-3013-160/+9
|
* Initial revisionrsc2003-09-3021-0/+3271
|
* Initial import.rsc2003-09-305-0/+1548