aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm
AgeCommit message (Collapse)AuthorFilesLines
2021-02-18Merge remote-tracking branch 'upstream/master'HEADmasterPetter Rodhelind1-1/+1
2021-01-05acme, sam, samterm: remove weird switch usageRuss Cox1-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.
2020-01-14Merge remote-tracking branch 'upstream/master'Petter Rodhelind5-9/+8
2020-01-10Trivial changes: whitespace and modes.Dan Cross5-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>
2019-05-10Merge remote-tracking branch 'upstream/master'Petter Rodhelind1-2/+3
2019-04-05samterm: stop ignoring all keys >= KcmdPocket78781-2/+3
2018-04-20Merge remote-tracking branch 'upstream/master'Petter Rodhelind1-2/+7
2018-03-27samterm: free some getenv resultsXiao-Yong Jin1-2/+7
2017-10-30samterm: Mouse scroll one line at a time.Petter Rodhelind1-0/+4
2017-10-26samterm: Fix indent and code style.Petter Rodhelind1-14/+14
2017-10-25samterm: Add line wrapping for LINESTART/LINEEND, ctrl+a and ctrl+e.Petter Rodhelind1-5/+14
2017-10-25samterm: Remove focus follows mouse.Petter Rodhelind1-2/+0
2017-10-25samterm: Add mouse scrolling.Petter Rodhelind2-14/+21
This makes it possible to use the scroll wheel to simulate button 1 and button 3 clicks in the scroll bar. It scrolls in the same way with variable scroll sections. Further down, more lines per scroll etc...
2017-10-23samterm: change focus on mouseoverPetter Rodhelind1-0/+2
2017-10-23samterm: Add undo/redo key bindings.Petter Rodhelind1-0/+6
2017-10-23samterm: Add sendcmd for arbitrary input in the command window.Petter Rodhelind1-0/+42
2012-11-26samterm: retina scaling for scroll bars, bordersRuss Cox3-14/+24
R=rsc http://codereview.appspot.com/6844083
2010-02-18This should resolve the crash indicated in issue 44:Eoghan Sherry1-1/+1
http://code.swtch.com/plan9port/issue/44/sam-crash R=rsc CC=codebot http://codereview.appspot.com/207094
2009-04-30mergeRuss Cox1-0/+19
2007-05-10Better tick management - no frdrawseltick calls.rsc1-4/+6
2007-05-10manage off-screen tick betterrsc2-8/+18
2006-04-20shut up gccrsc1-2/+2
2006-04-2064-bit fixes from plan 9rsc3-23/+23
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc3-4/+4
2006-02-09ignore interruptsrsc1-0/+10
2005-03-18cleanuprsc3-9/+8
2005-03-18line editing from robrsc1-9/+33
2005-01-30disable chordingrsc1-3/+5
2005-01-27add autoindent (-a) and chording.rsc4-13/+71
clean up argument parsing.
2005-01-20ignore host read eof while exitingrsc3-0/+9
2005-01-07gccrsc1-0/+1
2005-01-07debugging for sam, and an old fix forgottenrsc3-3/+18
2005-01-07debuggingrsc3-10/+13
2005-01-04use 9pclientrsc1-3/+3
2005-01-04Goodbye SHORTLIBrsc1-2/+0
2004-12-27change to use new thread libraryrsc3-14/+31
2004-06-25Fix missing parameter type. From rob.wkj1-1/+1
2004-06-17add key syms.rsc1-1/+3
where did these go?
2004-06-09Buttons 4 and 5rsc1-4/+37
2004-04-29add -W to specify window size.rsc1-2/+7
various other little fixes.
2004-04-19clean up when finished.rsc1-1/+0
don't set PLAN9 don't set PLAN9
2004-03-26SunOS can rot in hell.rsc1-0/+1
2004-03-21Small tweaksrsc1-19/+17
Lots of new code imported.
2004-03-02Little tweaks and documentation.rsc3-29/+13
2004-03-02Make sure snarf is <64kB, since the wire countrsc1-4/+11
is only 16 bits.
2004-02-29Various tweaks.rsc1-4/+2
2004-02-29Small tweaks to make things build again.rsc1-2/+2
2004-02-29Fighting the good fight.rsc1-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.
2003-11-25More tweaks on Linux and Solaris.rsc1-1/+1
2003-11-24Changes for Mac OS X. Most important is stack sizes in samterm,rsc2-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.)