HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- stty line
Operating System - HP-UX
1834650
Members
2387
Online
110069
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
Go to solution
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
05-31-2003 01:15 PM
05-31-2003 01:15 PM
I want to change the stty line setting in my .profile. I set it as stty line 1, but it shows line = 0 after doing stty -a.
The user is for telnet session with a Symbol 6840 RF terminal. The screen does not paint correctly. Application vendor thinks the line setting is causing the problem.
The user is for telnet session with a Symbol 6840 RF terminal. The screen does not paint correctly. Application vendor thinks the line setting is causing the problem.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2003 11:55 AM
06-01-2003 11:55 AM
Solution
IF the application vendor is not familiar with HP-UX, I would start with the TERM setting first if the display doesn't look correct. It is important to understand that HP-UX can handle hundreds of terminal types with the TERM setting and programs that use the CURSES library. If the vendor cannot provide a valid terminfo file (similar to termcap on other Unix flavors), then the application program writer will have to provide a list of the terminal features (escape sequences) required by the RF termional.
The solution is very simple if the program uses the CURSES library. Just create a terminfo file that defines all the features of the RF terminal. stty typically handles read/write handshaking but if the display doesn't look right, it is likely a terminfo (and value for TERM) issue.
Bill Hassell, sysadmin
The solution is very simple if the program uses the CURSES library. Just create a terminfo file that defines all the features of the RF terminal. stty typically handles read/write handshaking but if the display doesn't look right, it is likely a terminfo (and value for TERM) issue.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2003 01:55 PM
06-01-2003 01:55 PM
Re: stty line
The stty line discipline is not supported by all drivers and in fact very, very seldom requires any changes. You could try a small c program using the termio or termios calls but I rather doubt that that is your problem. Man 7 termio for details.
Your problem sounds much more like improper TERM settings. As Bill said, the programmers should consult the curses manual. This is really state of the art early 1980's stuff. Curses hides all the details about how to position
the
cursor, clear the screen, reverse video, color, how linefeeds and CR's are handled (on input and output), ... from the application.
Your problem sounds much more like improper TERM settings. As Bill said, the programmers should consult the curses manual. This is really state of the art early 1980's stuff. Curses hides all the details about how to position
the
cursor, clear the screen, reverse video, color, how linefeeds and CR's are handled (on input and output), ... from the application.
If it ain't broke, I can fix that.
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