summaryrefslogtreecommitdiff
path: root/sys/src/cmd/sam
AgeCommit message (Collapse)Author
2022-04-16make = command's output plumbableumbraticus@prosimetrum.com
This patch makes sam's = cmd output what seems to me a more useful (plumbable) format: /full/path/to/file:addr , where addr is line(s) under = and rune(s) under =#.
2021-10-05sam: fix spurious overwrite message (patch from plan9port)Igor Böhm
Fixes: % sam -d -. w /tmp/foo /tmp/foo: (new file) #0 w /tmp/foo ?warning: write might change good version of `/tmp/foo'
2021-02-19sam/{address.c, sam.h}: bump STRSIZE to 512MB (thanks, Ori_B)sl
2020-04-25Bump protocol version for TtclickOri Bernstein
2020-04-25triple click selection in samOri Bernstein
three clicks selects a whitespace-delimited line.
2020-03-09sam: ^ does not need current fileSigrid
2020-03-09sam: add $%dot (thanks kvik)Sigrid
2019-12-04acme, sam: handle >1GB files correctlyOri Bernstein
imported from plan9port, edfe3c016fe6ef10c55f7a17aab668214ec21efc
2018-10-20fix misleading/wrong fd checksBurnZeZ
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