- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tty / pty
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
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
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-08-2002 09:51 PM
тАО12-08-2002 09:51 PM
and pty, and what's the difference between both? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2002 09:58 PM
тАО12-08-2002 09:58 PM
Re: tty / pty
tty=a fixed terminal e.g. a modem, a terminal directly cabled to a MUX board or serial port.
pty= pseudo terminal. Any telnet session will have a pty assigned as opposed to a directly connect terminal or modem. The operating system will allocate the next available pty terminal identity.
There are kernel parameters that allow/control the number of these. These are 'npty' 'nstrtel' and 'nstrpty'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2002 10:10 PM
тАО12-08-2002 10:10 PM
Re: tty / pty
only show /dev/ttyr0. How about /dev/ptyr0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2002 10:24 PM
тАО12-08-2002 10:24 PM
SolutionFYI:
tty was developed by AT&T.
pty was developed by HP
see below:
==============================
K250: dev>ll *tyr5
crw-rw-rw- 2 root root 16 0x000025 Jun 10 1996 ptyr5
crw--w--w- 2 pbh tty 17 0x000025 Dec 9 10:19 ttyr5
K250: dev>
==============================
same (??)
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2002 10:28 PM
тАО12-08-2002 10:28 PM
Re: tty / pty
Let's try these examples:
# lssf /dev/console
pseudo driver cn minor 0x000000 /dev/console
# lssf /dev/ttyd2a1 (modem)
pci_mux0 card instance 2 port a1 callin at address 0/4/0/0 /dev/ttyd2a1
# pty
/dev/pts/tGb
# lssf /dev/pts/tGb
pseudo driver tels minor 0x00005e /dev/pts/tGb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2002 10:40 PM
тАО12-08-2002 10:40 PM
Re: tty / pty
permission and own group for tty?
crw--w---- 2 john tty 17 0x00001a Dec 9 03:45 ttyqa
crw-rw-rw- 2 bin tty 17 0x00001a Dec 9 03:45 ttyqa