- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Differences between "pts" and "ttyp"
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
Forums
Discussions
Discussions
Discussions
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
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
12-27-2000 05:50 AM
12-27-2000 05:50 AM
Differences between "pts" and "ttyp"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2000 06:16 AM
12-27-2000 06:16 AM
Re: Differences between "pts" and "ttyp"
Typically, the ttyp device files are used by serial devices such as modems and dumb terminals. The pts and pty device files are for pseudo terminals such as telnet, hpterm, xterm, dtterm, etc.
The difference between pts and pty is that pts is streams based.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2000 07:04 AM
12-27-2000 07:04 AM
Re: Differences between "pts" and "ttyp"
The main difference between pts/x and ttypxx is that the pts files are streams based ptys. See pts(7) for a complete explanation.
The streams based ptys (pts/x) were introduced at hp-ux 10.20 and are used by rlogind at that release. At 11.0 streams based ptys are also
used by telnetd.
Test as follow:
When you use rlogin, to connect to a 10.20 system the device used is a pts, but when you use telnet it will be ttyp.
But on hp-ux 11.X it will be pts in both cases.
When you do the following on a hpux 11.X system:
1- hpterm -e remsh
- pty
/dev/pts/6
2- rlogin
who
# darrell pts/6 Dec 27 15:48
When you perform rlogin to a 10.20 system, the device will be
# darrell ttypc Dec 27 15:49
When you're connecting to a system with the TERM settings XTERM/HPTERM
Below a examples:
darrell 10542 10541 13 15:37:55 ttyp2 00:00 -sh
root 10541 1 12 15:37:54 ? 00:00 /usr/bin/X11/xterm -fn 6x13 -sb -ls -display 10.1.8.139:0
darrell 10588 10542 0 15:38:52 ttyp2 00:00 grep 10541
Also check the following man pages:
pts; ptm; tty; termio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2000 08:10 AM
12-27-2000 08:10 AM
Re: Differences between "pts" and "ttyp"
tty-get the name of the terminal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2001 09:16 AM
04-05-2001 09:16 AM
Re: Differences between "pts" and "ttyp"
I have been bitten by the change in behaviour in 11.0 noted above. I need to have the connection come in as a ttyp, because a legacy application - still running from 9.x looks for tty type devices, and does not see pts type devices. Had to change from rlogin to telnet going from 9.x to 10.x...now what can we do?
Thanks