Quoting Alec Smith ([EMAIL PROTECTED]): > I'm trying to set up an Apple LaserWriter IINT to run off a PC. So far I > have the DB9-DB25 cable and null modem connected. However, I'm having some > trouble getting the serial port configured. As I understand the Apple > documentation, I need > > - XON/XOFF handshake > - 9600 baud > - no parity > - 7 data bits > - 1 stop bit > > How can I configure Debian to use these settings on /dev/ttyS0?
With a shell script like: #!/bin/sh stty 9600 < /dev/ttyS0 stty ixon < /dev/ttyS0 etc. stty -a < /dev/ttyS0 will show you all the current values, and man stty will tell you what they all do (but ignore -F device which does nothing). Cheers, -- Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA Disclaimer: These addresses are only for reaching me, and do not signify official stationery. Views expressed here are either my own or plagiarised.