summaryrefslogtreecommitdiff
path: root/sys/src/cmd/sam
AgeCommit message (Collapse)Author
2016-09-26sam: putenv("%", ...): don't crash when no file is currentftrvxmtrx
2016-09-22sam: use $% instead of $f for filename to be consistent with acmecinap_lenrek
2016-09-22sam: make current filename available to shell commands in $f (thanks aiju)cinap_lenrek
2015-04-28sam: prevent array overflow with multiple -i and -a arguments (thanks clsmith)cinap_lenrek
2014-12-21sam: '^' and '_' cmds; same as '<' and '|' except that stdout goes to the ↵ftrvxmtrx
command window
2014-04-01sam, acme: fix character classes quoting for 21-bit runescinap_lenrek
quote handling was broken with 21-bit runes. nextrec() returned quoted rune as long rune | (Runemax+1) to escape it. with 16-bit runes, storing that long into 16-bit Rune would automatically remove the escaping, but with 21-bit runes, Rune is uint32 so the escaping would remain. we now use (Runemask+1) instead, and mask the escaping off explicitely when storing back to Rune.
2013-04-24make all the commands agnostic about Rune width. (from sources)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
2012-12-31fix utf and rune handling in preparation for 32bit runescinap_lenrek
2012-08-01make sam jump to changes made by undoaiju
2012-04-24fix more fd <= 0 bugscinap_lenrek
2012-01-29sam: fix memory leak for name in fwritecinap_lenrek
2011-08-17sam: fix memory leakcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen