[fpc-pascal]Keyboard echo / Linux

Ken Wright kenw at cncware.com
Tue Feb 6 06:01:20 CET 2001

On Mon, 05 Feb 2001, you wrote:
> On Mon, 5 Feb 2001, Sakari Nylund, OH1KH wrote:
> > Yep, it seems to help.
> > Just wonder if I need some of CRT's functions also. What then :-)
> Use the ncrt unit instead. Or manually restore the terminal settings (see
> crt.pp sources to see what exactly is done at
> initializations/finalization)

When using nCrt, use the procedures, nStop and nStart. When spawning a new
process via shell(), etc., first call nStop. This will put the console/terminal
back into cooked mode for the new process. After returning, call nStart. This
will re-establish ncurses' raw mode.


More information about the fpc-pascal mailing list