Article View: news.software.readers
Article #160049[OT] UNIX shell command-line editing (was: [OT] Best News Reader)
From: Frank Slootweg
Date: Sun, 02 Jan 2005 17:04
Date: Sun, 02 Jan 2005 17:04
36 lines
2680 bytes
2680 bytes
[Subject: changed.] ยปQยซ <boxcars@gmx.net> wrote: > /betty/ <no.addr.4.u.equals.no.spam.2.me@simple.isnt.it.invalid> > wrote in <news:svug0gkma8ih.dlg@betty.invalid>: > > >>> bai^W > >> > >> -?- > > > > In normal 'puter parlance "^" followed by a capital letter > > represents Control key + key -- it also means "caret", a > > proofreading symbol placeholder to indicate an insertion (or > > perhaps correction). > > > > And in this case Ctrl_W is an ye olde Wordstar generation standard > > key-combo for 'delete the word (or stream of consecutive > > characters), to the left of caret' [cursor]. > > In a Bourne shell, ctrl+W also deletes the preceding word. Huh? The Bourne shell did not have any command-line editing facilities. Perhaps you were thinking of the C-shell or Korn shell. > The Bourne > shell and Wordstar are roughly contemporaries, so maybe the ctrl+W > command has an older history. I dunno about the original Unix shell. > (Yeah, that's me trolling for OT trivia in case someone here knows. For me, the Bourne shell *is* "the original Unix shell", i.e. I am not aware of any earlier shell. With the Bourne shell, any command-line editing was done by the terminal driver, not by the shell. So, have a look at a termio(7) (or earlier/equivalent) manpage for your UNIX of choice. > Hope I used the right bai^W um, whatever.)
Technical Details
Message-ID:
<41d829a5$0$35004$b83b6cc0@news.wanadoo.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mailReferences:
<41d63789$0$31701$a1866201@visi.com> <5cs5vjq87l0j.dlg@betty.invalid> <Xns95D17763BB13Djbn10161@140.99.99.138> <svug0gkma8ih.dlg@betty.invalid> <MrQ95D1DF783AE31itsmeitsQ@QsFQDN.dyndns.org>Show Full Headers
Complete Article Headers
Message-ID: <41d829a5$0$35004$b83b6cc0@news.wanadoo.nl>
Subject: [OT] UNIX shell command-line editing (was: [OT] Best News Reader)
Date: Sun, 02 Jan 2005 17:04:37 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <41d63789$0$31701$a1866201@visi.com> <5cs5vjq87l0j.dlg@betty.invalid> <Xns95D17763BB13Djbn10161@140.99.99.138> <svug0gkma8ih.dlg@betty.invalid> <MrQ95D1DF783AE31itsmeitsQ@QsFQDN.dyndns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
(CYGWIN_NT-5.1/1.5.10(0.116/4/2) (i686)) Hamster/2.0.2.2
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 36
NNTP-Posting-Date: 02 Jan 2005 17:04:37 GMT
NNTP-Posting-Host: c5147453f.cable.wanadoo.nl
X-Trace: 1104685477 whopper.euro.net 35004 81.71.69.63:64495
X-Complaints-To: abuse@wanadoo.nl