[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-port-i386
Subject:    Re: lkm changes from 1.6.1 -> 2.? (followup)
From:       David Laight <david () l8s ! co ! uk>
Date:       2005-06-21 17:12:05
Message-ID: 20050621171205.GH23149 () snowdrop ! l8s ! co ! uk
[Download RAW message or body]

On Tue, Jun 21, 2005 at 10:58:20AM +0200, Ignatios Souvatzis wrote:
> 
> If you want to set parameters from a shell (script) for the benefit of a
> serial line unaware program, you have to prevent the "last close" to happen.
> I've seen something like
> 
> sleep 86400 < /dev/tty01 &
> stty this that < /dev/tty01
> other stuff using /dev/tty01

or just:
exec 3</dev/tty01
stty this that <&3
...

	David

-- 
David Laight: david@l8s.co.uk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic