HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: psedo terminals for screen using openpty.
Operating System - HP-UX
1837509
Members
3647
Online
110117
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-11-2001 12:58 AM
03-11-2001 12:58 AM
psedo terminals for screen using openpty.
Hi,
I am trying to implement screen command on a UNIX which uses openpty system call to open a slave device.
This is not there in pty.c of screen.
We added this code, seems to return the slave properly terminal properly.
We have problems implemeting screen on that machine.
We do not get the shell prompt and no interaction, probably some line discipline is missing on this.
All the Control commands of screen works fine on this,
like e.g.
Ctrl-A Ctrl-will give a message
Really quit and kill all your windows [y/n]
And will exit properly.
when we say screen ls , then it would give bad select fd error.
Do you have idea on this.
Does any one have a small code to execute a command in pseudo terminal on HPUX, then it would be great, we will try the same on that machine or basic concept.
I do not know anyone who has worked on pseudo terminals.
A help on this will highly appreciated .
Thanks for your time.
Regards
Deepak
I am trying to implement screen command on a UNIX which uses openpty system call to open a slave device.
This is not there in pty.c of screen.
We added this code, seems to return the slave properly terminal properly.
We have problems implemeting screen on that machine.
We do not get the shell prompt and no interaction, probably some line discipline is missing on this.
All the Control commands of screen works fine on this,
like e.g.
Ctrl-A Ctrl-will give a message
Really quit and kill all your windows [y/n]
And will exit properly.
when we say screen ls , then it would give bad select fd error.
Do you have idea on this.
Does any one have a small code to execute a command in pseudo terminal on HPUX, then it would be great, we will try the same on that machine or basic concept.
I do not know anyone who has worked on pseudo terminals.
A help on this will highly appreciated .
Thanks for your time.
Regards
Deepak
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2001 11:34 PM
03-11-2001 11:34 PM
Re: psedo terminals for screen using openpty.
Hi,
i put you some sample source code at attachment that deals with pty.
Hope this helps.
Regards
i put you some sample source code at attachment that deals with pty.
Hope this helps.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2001 07:32 AM
03-12-2001 07:32 AM
Re: psedo terminals for screen using openpty.
Thanks very much for the info
Highly Appreciated.
Regards
Deepak
Highly Appreciated.
Regards
Deepak
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP