🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57926

programming: how to read a key?

#57926
From: Kent Tong
Date: Thu, 15 Aug 1996 00:00
16 lines
696 bytes

I'd like to do the following programmtically:

1. read in a key. It should accept say ctrl-A, Home, PgUp and etc.

2. translate the key just read into a sequence of ascii characters.

Can this be done? If so, how?

Thanks.


---
Kent Tong
Freeman Installer ==> http://www.netnet.net/users/freeman/
Technical Details
Message-ID: <4uvh9k$21t@metro.usyd.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,6c7f4d9f7702cf30,start
X-Google-Attributes: gid102983,public
From: freemant@wr.com.au (Kent Tong)
Subject: programming: how to read a key?
Date: 1996/08/15
Message-ID: <4uvh9k$21t@metro.usyd.edu.au>
X-Deja-AN: 174463035
distribution: inet
organization: TipTec Development
newsgroups: aus.computers.linux