Kyle Burton on Mon, 4 Oct 1999 09:41:49 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] expect problem


> It started as Redhat 5.1, but I've upgraded a number of things, including the
> kernel to 2.2.11

I'm not having this problem under redhat 6.0, ymmv.

> How can I check this when I get home tonight?  I don't know much about ptys other
> than "pseudo terminal".

I know it's an option in the kernel configuration when you build a kernel.
Also, I think you can check to see if you have a directory /dev/pts, if you
do, then your system is configured for unix98 ptys.  If you have it, there
should be a file in there for each 'terminal' you have open.

> >  Can you run the expect script at root?
> No.

Why not?  Don't you have root access to your box?

> Wow, looks interesting.  Should be a lot of fun to play with.

Simple smoke and mirrors with shell redirection.  That's one of the things
I love about the shell, and about unix in general -- everything's a file,
and a stream of data.  If you can't do something one way, there's usualy
another.  It's Unix, you win (tm).

k

------------------------------------------------------------------------------
"Success covers a multitude of blunders." 
    -- George Bernard Shaw
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug