View Single Post

   
  #3 (permalink)  
Old 02-15-2008, 11:43 AM
John DuBois
 
Posts: n/a
Default Re: busying out a pseudo tty

In article <c5a0626d.0310021152.1e7ec391@posting.google.com >,
PW Herman <pagingmrherman@hotmail.com> wrote:
>Hi, I've got a weird problem with an old un-supported dentist program
>that runs on Openserver 5.0.4. For some reason, it gives error
>messages in certain menus if the user logs in on ttyp2, ttyp3, ttyp4
>or ttyp5. Is there any way to make these 4 pseudo ttys appear to be
>busy so nobody ever connects on them???


I'd look at the permissions & ownership of the master & slave devices
associated with those.

But in any case, sure, to busy them out just open the master side:

cd /dev && sleep 1000000000 <ptyp2 1<ptyp3 2<ptyp4 3<ptyp5 &

John
--
John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/
Reply With Quote