Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Nov 2004 12:15:34 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Andrey Chernov <ache@nagual.pp.ru>
Cc:        current@freebsd.org
Subject:   Re: Recent TTYDEF_LFLAG default change 
Message-ID:  <16110.1099480534@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 03 Nov 2004 14:11:57 %2B0300." <20041103111157.GA12950@nagual.pp.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20041103111157.GA12950@nagual.pp.ru>, Andrey Chernov writes:
>TTYDEF_LFLAG have ECHO* in it for years, and it is user-visible, some 
>programs may use it (see recent stty/key.c hacking).
>
>Why it was needed to remove ECHO* from here just to make yet one 
>non-standard, non cross-BSD compatible and unknown TTYDEF_LFLAG_ECHO?

Because if you open a serial port and it defaults to echo, you may end up in
an "echo-war" with the other end before you ever get a chance to call
ioctl and disable echoing.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16110.1099480534>