From: "Alberto Cortés" <alcortes@coitt.es>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fgetrune() ?
Date: Fri, 7 Nov 2003 18:33:44 +0100 [thread overview]
Message-ID: <20031107173344.GA1254@shire> (raw)
In-Reply-To: <E1AI92U-000Hbx-D8@t40.swtch.com>
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
Some time ago, Russ said:
> Rio (the window system) doesn't send any of the typed
> characters until your press enter. This means that,
> for example, you can edit the line using the mouse
> if you make an early mistake that takes a while to
> notice.
umm, now i understand. I was trying to get the design idea behind that
behaviour, i was sure that there where a very good reason for the lack
of fgetrune :)
> If you really want to get characters as they are typed,
> you need to put the console in raw mode, by writing
> "rawon" to /dev/consctl and then keeping the file
> descriptor for /dev/consctl open.
>
> I believe that then Bgetrune will give you runes
> as they come in. However, you will be in charge
> of echoing them to standard output.
thanks a lot.
--
Alberto Cortés Martín | Ing. en Telecomunicación
email: alcortes@coitt.es | Universidad Carlos III
Jabber: alcortes43 | Madrid
ICQ#: 101088159 | Spain
MSN: fly you fools! |
url: http://montoya.aig.uc3m.es/~acortes/index.html
gpg public key fingerprint:
3399 329C 032C 5FCD A8D5 C7B8 DEC0 DF69 9EB7 C5A5
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
prev parent reply other threads:[~2003-11-07 17:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-07 16:59 Alberto Cortés
2003-11-07 16:00 ` Russ Cox
2003-11-07 17:33 ` Alberto Cortés [this message]
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=20031107173344.GA1254@shire \
--to=alcortes@coitt.es \
--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).