9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "boyd, rounin" <boyd@insultant.net>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] 9term echo-disabling fix (for ssh, vncviewer)
Date: Fri, 18 Jun 2004 17:04:24 +0200	[thread overview]
Message-ID: <013a01c45545$8bf80c50$07fa7d50@SOMA> (raw)
In-Reply-To: <200406181311.i5IDBLB05307@zamenhof.cs.utwente.nl>

> - return (ttmode.c_lflag&(ICANON|ECHO));
> + return (ttmode.c_lflag&(ICANON) && ttmode.c_lflag&(ECHO));

that's weird.  1st returns either:

    ICANON
    ECHO
    ICANON|ECHO

2nd returns 0 [raw | raw and no echo] or 1 [not raw and echo].

this doesn't sound right and i don't want to have to read termio[s].

however, i just remembered i have this (which might help):

    http://www.insultant.net/tmp/mace/tty.c



  reply	other threads:[~2004-06-18 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-18 13:11 Axel Belinfante
2004-06-18 15:04 ` boyd, rounin [this message]
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='013a01c45545$8bf80c50$07fa7d50@SOMA' \
    --to=boyd@insultant.net \
    --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).