echoing style - DOS,VMS vs. Unix (was: AT&T Joining OSF)
Doug Gwyn
gwyn at smoke.ARPA
Mon Sep 5 13:57:49 AEST 1988
In article <1402 at spp2.UUCP> baur at spp2.UUCP (Steven L. Baur) writes:
>Sh will willing backspace over the prompt even on BSD systems.
Not true. BSD /bin/sh is invariably run in "cooked" mode, where
the terminal handler takes care of such things as character erasing.
And the "new" BSD terminal handler, which is the only one anyone in
his right mind uses on BSD, does not erase past the beginning of the
input.
When history/command editing is enabled in the BRL sh, characters
ARE individually read and acted on immediately, same as the Korn shell.
We also don't backspace before the beginning of the input. (At
present we also don't emulate line wrap for terminals that lack it,
because we don't want the shell to have to depend on termcap.)
More information about the Comp.unix.wizards
mailing list