From: Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
To: 9fans@cse.psu.edu
Subject: [9fans] 9term echo-disabling fix (for ssh, vncviewer)
Date: Fri, 18 Jun 2004 15:11:21 +0200 [thread overview]
Message-ID: <200406181311.i5IDBLB05307@zamenhof.cs.utwente.nl> (raw)
I wrote:
> Furthermore I got the impression that the echo-disabling
> code in 9term still/again needs some work: on sunos5.8
> when prompting for a password, telnet succeeds to disable echo
> but ssh and vncviewer fail. I did have an own version where those
> worked too, I'll find time to have a look at the differences.
This seems to be it.
Axel.
Index: SunOS.c
===================================================================
RCS file: /cvs/plan9/src/cmd/9term/SunOS.c,v
retrieving revision 1.6
diff -b -u -w -r1.6 SunOS.c
--- SunOS.c 2004/04/20 02:03:37 1.6
+++ SunOS.c 2004/06/18 12:53:07
@@ -67,7 +67,7 @@
if(debug) fprint(2, "israw %c%c\n",
ttmode.c_lflag&ICANON ? 'c'cvs : 1 : '-',
ttmode.c_lflag&ECHO ? 'e' : '-');
- return (ttmode.c_lflag&(ICANON|ECHO));
+ return (ttmode.c_lflag&(ICANON) && ttmode.c_lflag&(ECHO));
}
next reply other threads:[~2004-06-18 13:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-18 13:11 Axel Belinfante [this message]
2004-06-18 15:04 ` boyd, rounin
2004-06-18 16:06 ` Axel Belinfante
2004-06-18 16:52 ` boyd, rounin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200406181311.i5IDBLB05307@zamenhof.cs.utwente.nl \
--to=axel.belinfante@cs.utwente.nl \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).