To curse or not to curse
Jules d'Entremont
jules at iisat.UUCP
Mon Jun 5 12:44:05 AEST 1989
A friend of mine is converting some programs from Turbo Pascal 5.0 to
work in Unix C. He's having difficulty translating a Turbo Pascal
function (getch ?) which reads in a character from the keyboard unechoed,
and without waiting for a carriage return. I told him to use curses and
set cbreak() and noecho() modes. He thinks he shouldn't have to invoke
curses for such a simple task. Is there another way to do this? What
is the best, most portable way to do it?
--
Jules d'Entremont Phone: 454-5631 (Home) 465-5535 (Office)
UUCP: {uunet,utai,watmath}!dalcs!iisat!jules
Bitnet/Uucp: jules at iisat.uucp
Arpanet: jules%iisat.uucp at uunet.uu.net
More information about the Comp.unix.questions
mailing list