Re: Printing to serial console

From: Bob Hauck (postmaster_at_localhost.localdomain)
Date: 02/02/05


Date: Wed, 2 Feb 2005 15:19:32 -0500

On 2 Feb 2005 11:36:54 -0800, peter_holmes2003@yahoo.com
<peter_holmes2003@yahoo.com> wrote:

> I wanted to know if I can write to the serial console using the file
> descriptor of the serial device.

Open /dev/tty, which always points to the tty you are attached to.

hauck@rebel:~$ echo "stuff" > /dev/tty
stuff

-- 
 -| Bob Hauck
 -| To Whom You Are Speaking
 -| http://www.haucks.org/


Relevant Pages