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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to