🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57869

Re: programming: how to read a key?

#57869
From: Terry Dawson
Date: Mon, 19 Aug 1996 00:00
12 lines
808 bytes
Kent Tong (freemant@wr.com.au) wrote:
 
: 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?

Go take a look at curses/ncurses. It handles just about all of what
you are seeking to do.

Terry
Technical Details
Message-ID: <4v8hmv$ha8@cdn_news.telecom.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4uvh9k$21t@metro.usyd.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,6c7f4d9f7702cf30
X-Google-Attributes: gid102983,public
From: terry@baldric.no.itg.telecom.com.au (Terry Dawson)
Subject: Re: programming: how to read a key?
Date: 1996/08/19
Message-ID: <4v8hmv$ha8@cdn_news.telecom.com.au>
X-Deja-AN: 174989322
distribution: inet
references: <4uvh9k$21t@metro.usyd.edu.au>
organization: Telstra
newsgroups: aus.computers.linux