Operating System - HP-UX
1753808 Members
8095 Online
108805 Solutions
New Discussion

Psesudo Terminal and Telnet

 
SOLVED
Go to solution
LucianoCarvalho
Respected Contributor

Psesudo Terminal and Telnet

Hi Guys!

I'm upgrading my server from 10.20 to 11.00. My application uses the tty command to get the pseudo terminal associated with the application. On 10.20 that pseudo terminal will be /dev/xxxx. On 11.00 that pseudo terminal will be /dev/pts/xxx. Is there any way to change te 11.00 behavior, so the pseudo terminal used would be that on /dev instead of on /dev/pty ?
Thanks in advance.
1 REPLY 1
Jeff Schussele
Honored Contributor
Solution

Re: Psesudo Terminal and Telnet

Hi Luciano,

No, you can't change the location of the pseudo term devices....BUT....
You might be able to create links as follows:

/dev/0 -> /dev/pts/0
.
.
.
/dev/t5k -> /dev/pts/t5k

such that you wouldn't have to change your app.
But I've never done this - never had to - & I would rigorously test this prior to implementing in a sensitive environment.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!