Unix deficiencies/problems

Juergen Wagner gandalf at csli.Stanford.EDU
Wed May 10 17:36:21 AEST 1989


In article <2914 at cps3xx.UUCP> rang at cpsin3.cps.msu.edu (Anton Rang) writes:
>...
>  Does anyone know the original reason for the immediate echoing?
>...

The question which has to be raised is who echoes the characters as they
are typed. Is it the driver which is in some echo mode, or is it the
application (shell, emacs, whatever)?

Sh/csh don't know about echoing. They happily process characters as they
come along. (Famous example: killing certain programs leaves the terminal
in a bad, non-echoing state)

The alternative would be to require the application to echo characters just
as it reads them (this would give you the desired behaviour). However, what
happens if you invoke a program from csh? Should the program be expected to
handle all echoing, or should the driver now take over? I guess, somebody
has made a decision towards simplicity, and has chosen to let the driver
echo input unless the application explicitly resets the terminal mode.

-- 
Juergen Wagner		   			gandalf at csli.stanford.edu
						 wagner at arisia.xerox.com



More information about the Comp.unix.questions mailing list