summaryrefslogtreecommitdiff
path: root/sys/src/cmd/samterm
AgeCommit message (Collapse)Author
2014-08-04samterm: fix ctrl-b crash when cmd window resized (thanks revex)cinap_lenrek
for reference: On IRC revex reported that samterm crashes on Ctrl-b if the command window has been resized. I was able to reproduce: http://plan9.stanleylieber.com/sam/bugs/ctrl-b.png ; acid 831213 /proc/831213/text:amd64 plan 9 executable /sys/lib/acid/port /sys/lib/acid/amd64 acid: lstk() abort()+0x0 /sys/src/libc/9sys/abort.c:6 panic1(s=0x400448)+0x27 /sys/src/cmd/samterm/main.c:692 panic()+0x19 /sys/src/cmd/samterm/main.c:684 lldelete()+0x71 /sys/src/cmd/samterm/flayer.c:221 flupfront(l=0x40eac0)+0x18 /sys/src/cmd/samterm/flayer.c:139 v=0x20062900000001 current(nw=0x40eac0)+0x49 /sys/src/cmd/samterm/main.c:156 type(l=0x40eac0,res=0x15300000001)+0x37c /sys/src/cmd/samterm/main.c:658 t=0x40eaa8 buf=0x419ec0 p=0x41dd48 a=0x0 backspacing=0x200000000 c=0x41dd4800000002 cursor=0x0 a0=0x0 threadmain(argv=0x7ffffeffefa0)+0x21c /sys/src/cmd/samterm/main.c:75 r=0xb0000001b1 got=0xfefefefe00000002 chord=0x0 nwhich=0x43c310 scr=0x200000000 t=0xfefefefefefefefe w=0x43c310fefefefe mainlauncher()+0x18 /sys/src/libthread/main.c:59 launcheramd64(arg=0x4194a0,f=0x221673)+0x10 /sys/src/libthread/amd64.c:11 0xfefefefefefefefe ?file?:0 acid:
2014-06-11samterm: use 4K stacks for amd64 (thanks burnzez)cinap_lenrek
we got a stack overflow on the hostproc on amd64 overflowing by arround 200 byte. so just use 4K stacks for everything.
2014-05-12samterm: fix esc, change ctrl+b behaviour to a more useful one (thanks cinap)ftrvxmtrx
2014-05-12samterm: clean up key defines. use ctrl+b as in rioftrvxmtrx
2014-05-02samterm: free() after getenv()ftrvxmtrx
2013-08-08sam: avoid thread stack overflow with 32bit runes (from sources)cinap_lenrek
2013-08-05unsticky scrollbarscinap_lenrek
scrollbars used to put the mouse on the scrollbar while scrolling. if latency is high, this often results to the cursor jumping back. instead, make button 2 srolling work without needing the mouse to be inside the scrollbar and leave the mouse position alone.
2013-06-26samterm: fix crash on scroll when there is no layer (thanks BurnZeZ)cinap_lenrek
2013-04-04sam, samterm: add -i flag to make tab insert spaces up to the next tabstop ↵ppatience0
and backspace to delete spaces until the previous tabstop
2013-01-27sam: make scroll wheel work outside scrollbarcinap_lenrek
2012-12-31fix utf and rune handling in preparation for 32bit runescinap_lenrek
2012-04-24samterm: cleanupstanley lieber
2012-04-24samterm: enable scroll wheel scrolling in the scrollbar (for scrolling)stanley lieber
2012-02-10sam: whitespace/stylecinap_lenrek
2012-02-10sam: chordingcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen