[fpc-pascal] Command prompt
Luca Olivetti
luca at ventoso.org
Tue Sep 29 10:18:52 CEST 2009
En/na Carsten Bager ha escrit:
> In the old days you could write
> exec(C:\DOS\COMMAND.COM',' COM1');
> and then get access to the command prompt via a serial interface
> Could someone give me a hint how to do this in a Linux environment?
/sbin/getty -L ttyS0 115200 vt100
man getty for the gory details, if you want a console permanently on the
first serial port, you can put the following in /etc/inittab (again, man
inittab for details)
1:2345:respawn:/sbin/getty -L ttyS0 115200 vt100
Bye
--
Luca
More information about the fpc-pascal
mailing list