Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion bash typewriter simulator

Received: by 10.180.87.100 with SMTP id w4mr3127244wiz.3.1350352575071;
        Mon, 15 Oct 2012 18:56:15 -0700 (PDT)
Path: q10ni65138170wif.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.12.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!xlned.com!feeder1.xlned.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!feeder.erje.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader03.nrc01.news.zen.net.uk.POSTED!not-for-mail
From: Ben Bacarisse <ben.use...@bsb.me.uk>
Newsgroups: comp.unix.shell
Subject: Re: bash typewriter simulator
References: <944ea3c8-5353-4ec5-a60d-60274ce302e0@20g2000yqa.googlegroups.com>
	<fc7dc3eb-f1d2-4ab3-887c-0f05d084b7b0@googlegroups.com>
	<8nlhk9-ujc.ln1@cjlocal.com> <20121010202738.733@kylheku.com>
	<37thk9-sfg.ln1@cjlocal.com> <op.wl00letj0p3ku8@localhost>
	<3nsjk9-avr.ln1@cjlocal.com>
Date: Fri, 12 Oct 2012 01:48:48 +0100
Message-ID: <0.5599327289b66cb3502b.20121012014848BST.87vcegjz0v.fsf@bsb.me.uk>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Cancel-Lock: sha1:k6gv7pKt8SN/cwWZ+2OHgPEG0Hk=
MIME-Version: 1.0
Lines: 26
Organization: Zen Internet
NNTP-Posting-Host: 325ac3e8.news.zen.co.uk
X-Trace: DXC=T_E]@HNS:DRZhEmRS@T;C_f2FgniPJjgR=dR0\ckLKGPWeZ<[7LZNRVUe5O2ajc?eY0L4FB;9HCoP;WES6>H41W[AogEAYU55n_
X-Complaints-To: abuse@zen.co.uk
Bytes: 1916
Content-Type: text/plain; charset=us-ascii

"Chris F.A. Johnson" <cfajohn...@gmail.com> writes:

> On 2012-10-11, Aaron W. Hsu wrote:
>> On Thu, 11 Oct 2012 00:06:27 -0400, Chris F.A. Johnson  
>><cfajohn...@gmail.com> wrote:
>>
>>>    The original script was designed to be a "typewriter" that accepted no
>>>    editing. That needs nothing more than:
>>>
>>> printf "Enter file name: "
>>> read file
>>> echo "Press ^D to quit"
>>> cat > "$file"
>>
>> On most systems, that will still allow for line editing, unless you  
>> explicitly disable it.
>
>    I haven't seen a system where it allows any editing other than backspacing
>    and deleting the previous character.

My Linux system also allows me to erase a word and to kill the whole
line.

<snip>
-- 
Ben.