From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] Implementing cooked mode From: Brantley Coile Date: Thu, 21 Dec 2006 07:50:55 -0500 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: f71ecc16-ead1-11e9-9d60-3106f5b1d025 >> > If a program has the console in raw mode, can it erase characters or >> > words that it has echoed to the screen? >> >> No. >=20 > This is actually only half true. You can echo backspaces and it will > erase up to the beginning of the line, but no earlier. >=20 > Russ I was about to point this out. We had to implement a reasonable subset of readline for the SR EtherDrive firmware, if you can have the words reasonable and readline in the same sentence. People kept hitting ^P to back up a line in history, causing an unexpected reboot. =E2=98=B9 I stuck it in rc(1) and put rc in raw mode. Not for public consumption, = which is a good thing. =E2=98=BA