- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HELP! regarding device file /dev/tty's (HP-UX 10.2...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 06:39 PM - last edited on тАО03-29-2013 12:52 AM by Cathy_xu
тАО04-20-2004 06:39 PM - last edited on тАО03-29-2013 12:52 AM by Cathy_xu
HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
Hello all! nice to meet you!!
My question is very simple as follows,
In HP-UX 10.20, TELNET uses device file under /dev/tty's
But in HP-UX 11.0 TELNET uses device file under /dev/pts's instead of tty.
Due to some reasons (compatiblality of an application with the HP OS), is it possible to change the device file used in TELNET under HP-UX 11.0 back to /dev/tty's instead of using /dev/pts's (by default)???
(i know it is part of problems of the executables of telnet, telnetd, tels something like that)
And, the most important is, how to make such changes??? Can any HP-UX professionals can tell?
I appreciate if 'you' can tell me.
Thanks a lot!!!!
peace.
Ivan
Moved from HP-UX Technical Documentation to HP-UX > sysadmin
- Tags:
- telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 06:43 PM
тАО04-20-2004 06:43 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 06:46 PM
тАО04-20-2004 06:46 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
really thanks for your FAST reply.
;)
anyway, i don't understand much on what you mean. ;(
Umm..in my case, i just want to use device file, /dev/tty's under HP-UX 11.0 when receiving client TELNET's request.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 06:52 PM
тАО04-20-2004 06:52 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
Use ln command create a soft/hard link.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 07:00 PM
тАО04-20-2004 07:00 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
If you can let us know why you have to do this , we will work out a better solution rather than linking devicefiles which is really time consuming
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 07:09 PM
тАО04-20-2004 07:09 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
Create your /dev/tty directory and use "ln" to link all the files in your "pty" directory to the /dev/tty directory. These links will mean you have two names for each pty. The original one and your linked one. Both will be functionally equivalent.
This might not be enough for you but I think it's the best you can do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 07:25 PM
тАО04-20-2004 07:25 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
Umm.. it is difficult to tell the whole story here. Maybe I make a summary.
We need to migrate a application form HP-UX 10.20 to HP-11.0
After we upgrade the OS to 11.0, the application fails to be run from terminal client connection through TELNET. I can login but when i tried to execute application functions, there is an error.
Instead, it is ok for the console login (throught COM port directly using like hyperterminal). The application works perfectly. Here we found that the there is no problem of the application with device files used in OS HP-UX 10.20 is under /dev/tty's, while the problem exists in HP-UX 11.0 with device file changed to /dev/pts's. It seems application cannot the output to /dev/pts's, but only output to /dev/tty's.
So.........
That's why I am asking if the device file, /dev/tty's (like /dev/ttypd etc.) can be used instead of /dev/pts's (like /dev/pts/ta) under HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 07:33 PM
тАО04-20-2004 07:33 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 08:17 PM
тАО04-20-2004 08:17 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 08:24 PM
тАО04-20-2004 08:24 PM
Re: HELP! regarding device file /dev/tty's (HP-UX 10.20) and /dev/pts's (HP-UX 11.0) of TELNET teletd
"Redirection or piping of stdin or stdout is allowed only with -b. (156)"
which displayed on screen
honestly, i am not 100% the problem is related to device file.
But seems it is a problem of the change on TELNET, telnetd (like device file i mentioned) between HP-UX 10.20 and 11.0
;(