Re:U.S. directs agents to cover up program used to investiga...
by mpyne on Monday August 05, 2013 @11:11AM
(#6160552)
The Backspace key had the same scan code as Control-H, so ^H is what you would see when you typed Backspace on a misconfigured TTY (instead of it deleting the previous character).
Control-W is what you use to delete the previous word (Edit: word, not character), so ^W is what you would have seen on TTYs/Editors that didn't support that command.
Re:U.S. directs agents to cover up program used to investiga...
by js2 on Monday August 05, 2013 @11:09AM
(#6160537)
Control-w deletes the previous word in Bash and in vi insert mode.
Re:U.S. directs agents to cover up program used to investiga...
by jlgreco on Monday August 05, 2013 @11:13AM
(#6160559)
I believe, at least in Linux, the canonical line disipline also does ctrl-w. Pretty sure that behaviour isn't POSIX though.
Re:U.S. directs agents to cover up program used to investiga...
by kps on Monday August 05, 2013 @12:19PM
(#6161018)
Control-W for ‘delete word’ entered Unix in BSD 4.x, along with changing to ^U for line erase (Bell Labs used ^X), ^R for refresh (consensus has reverted to ^L), and ^T for status (which Linux annoyingly still doesn't have). These came from Tenex / TOPS-20, which also had a fancy command completion scheme whose vestiges can be seen in ftp(1) as well as Cicso gear.
Job control (with ^Z and ^Y) entered at the same time. At least Linux/SysV saw the usefulness of that....
Re:U.S. directs agents to cover up program used to investiga...
by jlgreco on Monday August 05, 2013 @12:38PM
(#6161136)
Ah, excellent! Good to know that it is more ubiquitous than I suspected.
(The lack of ^T on Linux really annoys me too. What is worse is that it isn't just a matter of the line discipline sending SIGINFO for ^T... because Linux doesn't have SIGINFO at all. Means you can't even really hack up a pty wrapper program that emulates it, unless you are willing to have everything use a different signal in lieu of SIGINFO...)
Re:U.S. directs agents to cover up program used to investiga...
by fnordfnordfnord on Monday August 05, 2013 @11:19AM
(#6160598)
TIL ...
Re:U.S. directs agents to cover up program used to investiga...
by totalforge on Monday August 05, 2013 @11:09AM
(#6160535)
NERDS!!!!
https://en.wikipedia.org/wiki/ASCII#ASCII_control_code_chart