[fpc-pascal]Keyboard echo / Linux

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Feb 5 09:47:44 CET 2001


On Mon, 5 Feb 2001, Sakari Nylund   OH1KH wrote:

> 
> 
> 
> Hello!
> 
> 
> I've been away from list for some time. My problem is easy (?!!)
> and might have been said here before.
> How ever small search did not give any results, so:
> 
> If I write a program (Linux, console, non X) where I have gateway
> to command to shell using:
> 
> Shell( '/bin/sh');
> or
> Shell (' su ');
> 
> I can get command prompt and any given command is working as
> it should BUT ....  there is NO keyboard echo. So everything is
> a blind typing altough typed commands are passed through 
> system OK. Typing 'exit' will return back to program as should.
> 
> 
> Same effect happens if I have program that uses graphic
> display (for ex. svga 640x480x256) in console mode. It works
> great BUT .... after finishing program and return to system
> there is no more keyboard echo, as above.


If you use the CRT unit, remove it; the CRT unit puts the terminal
in raw mode, this is what causes your problem.

Michael.
 





More information about the fpc-pascal mailing list