9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Brantley Coile <brantley@coraid.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Implementing cooked mode
Date: Thu, 21 Dec 2006 07:50:55 -0500	[thread overview]
Message-ID: <dfb480de9435276acdd82c198ebf0904@coraid.com> (raw)
In-Reply-To: <ee9e417a0612201747v258a66bcj905fcd8a8be3d279@mail.gmail.com>

>> > If a program has the console in raw mode, can it erase characters or
>> > words that it has echoed to the screen?
>>
>> No.
> 
> This is actually only half true.  You can echo backspaces and it will
> erase up to the beginning of the line, but no earlier.
> 
> 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. ☹

I stuck it in rc(1) and put rc in raw mode.  Not for public consumption, which
is a good thing. ☺



  reply	other threads:[~2006-12-21 12:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-21  0:54 Joel Salomon
2006-12-21  1:08 ` Russ Cox
2006-12-21  1:47   ` Russ Cox
2006-12-21 12:50     ` Brantley Coile [this message]
2006-12-21  2:27 ` [9fans] " Joel Salomon
2006-12-21  4:01   ` Russ Cox
2006-12-21  1:37 [9fans] " erik quanstrom
2007-02-15 17:44 ` Harri Haataja

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dfb480de9435276acdd82c198ebf0904@coraid.com \
    --to=brantley@coraid.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).