Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site princeton.UUCP
Path: utzoo!linus!philabs!cmcl2!floyd!vax135!ariel!houti!hogpc!houxm!mhuxa!mhb5b!princeton!astro
From: astro@princeton.UUCP
Newsgroups: net.unix-wizards
Subject: tty driver features
Message-ID: <196@princeton.UUCP>
Date: Wed, 15-Jun-83 01:37:37 EDT
Article-I.D.: princeto.196
Posted: Wed Jun 15 01:37:37 1983
Date-Received: Thu, 16-Jun-83 02:38:00 EDT
Organization: Princeton University
Lines: 14

While we are on the subject of tty drivers ...  one of my complaints with both
the BSD and System III tty drivers is that there is no way to turn off the
echoing of carriage return/line feeds. The most general case is where the
new-line is supplied by the program.  For example, suppose if one wanted the
computer's response to a question to appear on the same line after the question.
I have written Forth compilers for both PDP11 and VAX Unix, and have an
atavistic liking for the traditional OK prompt at the end of the line.  I have
usually had to mung the terminal driver to get this.
	4.1 BSD has a normally unused provision for an alternate end-of-line
character tbrk_c.  This would do the job if set to  and tested for before
the test for CRMOD if this character was not echoed.  Alas, however, it is
echoed.  As I have said above, not echoing this character would have been more
general, as a program using this feature which desired it to be echoed could
have echoed it itself.
				William L. Sebok
				Princeton Univ. Observatory
				Peyton Hall
				Princeton N.J 08544
				..!allegra!princeton!astrovax!wls