From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <018801c45554$b07a37b0$07fa7d50@SOMA> From: "boyd, rounin" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> References: <200406181311.i5IDBLB05307@zamenhof.cs.utwente.nl> <013a01c45545$8bf80c50$07fa7d50@SOMA> <200406181606.i5IG6BW06986@zamenhof.cs.utwente.nl> Subject: Re: [9fans] 9term echo-disabling fix (for ssh, vncviewer) Date: Fri, 18 Jun 2004 18:52:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: a6255ad6-eacd-11e9-9e20-41e7f4b1d025 > Then, we must be careful to correctly deal with the case > where we have [icanon and no echo] which is what > ssh and vncviewer use when prompting for a password > (shows up as: israw c- in the debug 9term output) yup. get _all_ the cases right. > However, I'm the first to admit I know very little about termio(s). well, it's a mess & i've spent far too much time fighting it. ahh, turning off ICANON you then have to get VMIN and VTIME right iirc. VMIN should be 1 and VTIME should be some default to mean infinite to get V7 style RAW mode (but that's not even strictly true).