From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alberto =?iso-8859-1?Q?Cort=E9s?= To: 9fans@cse.psu.edu Subject: Re: [9fans] fgetrune() ? Message-ID: <20031107173344.GA1254@shire> References: <20031107165943.GA1096@shire> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Date: Fri, 7 Nov 2003 18:33:44 +0100 Topicbox-Message-UUID: 81accab4-eacc-11e9-9e20-41e7f4b1d025 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. --=20 Alberto Cort=E9s Mart=EDn | Ing. en Telecomunicaci=F3n 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 --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/q9d43sDfaZ63xaURAkpJAJwNvDXAWXR1TRg5EtreGjVt/+RpGgCbBmui kkh5ZiND4rn2a/0kcMO9KiE= =mhIR -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--