- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: view 132 col. on the shell
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
01-05-2004 05:30 PM
01-05-2004 05:30 PM
view 132 col. on the shell
edp//> ps -ef |grep user1
root 5775 5774 0 14:20 pts/88 00:00:00 login -- user1
user1 5781 5775 0 14:20 pts/88 00:00:00 /usr/local/bin/orc /usr/local/e...
user1 5975 5781 0 14:20 pts/88 00:00:00 /usr/local/bin/orc/_proorc /u...
ckyoung 9474 9072 0 14:30 pts/8 00:00:00 grep user1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 05:37 PM
01-05-2004 05:37 PM
Re: view 132 col. on the shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:55 PM
01-05-2004 07:55 PM
Re: view 132 col. on the shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 08:44 PM
01-05-2004 08:44 PM
Re: view 132 col. on the shell
you must export the COLUMNS and ROWS variables to the setting you want. However, some shells do not recognize these settings. try a different shell if you are getting no luck.
With text based applications running in your shell, it is entirely up to the application wether it takes any notice of them or not. When you resize a window, a signal (SIGWINCH) is sent to the application. Some applications then decide to find out the geometry of the window they are running in and adjust output accordingly. Some applications just ignore it. Some applications will use the ROWS and COUMNS variables and some won't.
However, the "portable" way that these things should work is a setting in /etc/terminfo or termcap. Here there is a setting to set the maximum width of the terminal. This should work with any shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 07:27 PM
01-06-2004 07:27 PM
Re: view 132 col. on the shell
stty columns 132
Regards,
John.