- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Lines wraping on xterm terminal
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
04-11-2006 01:11 PM
04-11-2006 01:11 PM
I am using xterm of WRQ Reflection X.
Sometime when i open a text file using vi editor, lines are wraping on other lines.
Also full screen output is not coming correctly.
Sometime lines are visible in only half the xterm terminal screen.
Can someone suggest how to fix this ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 02:35 PM
04-11-2006 02:35 PM
Re: Lines wraping on xterm terminal
Check the display setting of your reflection scree.
On the tool bar, under setup tab select Display and then the Screen tab.
There you will have the lines and columns allowed to display.... and the font...etc
Indira A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 04:29 PM
04-11-2006 04:29 PM
Re: Lines wraping on xterm terminal
Two factors besides Reflections X.
The choice of TERM variable. You may wish to try TERM=hp or TERM=vt100 or TERM=xterm
It could also be the termcap or lack of one associated with that terminal type. I'd try various TERM variables first however.
Good Luck,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 11:39 PM
04-11-2006 11:39 PM
Re: Lines wraping on xterm terminal
if the TERM variable is set, you can try a
eval `resize`
before (re-)opening vi.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 12:03 AM
04-12-2006 12:03 AM
Solutioneval $(ttyset -s)
This will set the TERM, LINES and COLUMNS values based on the terminal. Note also that resizing a terminal window changes the number of lines and columns. For modern versions of HP-UX, the Xwindow code signals the HP-UX system to automatically change the LINES and COLUMNS variables. If you are running really obsolete code (not up to date on Xwindow patches), this resize signal may not be working. Test like this:
echo $COLUMNS $LINES
then change the shape of the window and again:
echo $COLUMNS $LINES
If the values do not change, then your HP-UX machine is badly out of date and you can't change the shape of the terminal window without manually running the rezsize command like this:
eval $(resize)
vi and SAM and swinstall and in general, all menuing programs will malfunction if the variables LINES and COLUMNS do not match your tereminal's screen.
Note also that if you are not running /etc/profile at login, you need to create a .Xdefaults file in your HOME directory on the HP-UX machine. Create it like this:
echo "*loginShell: true" >> $HOME/.Xdefaults
Now, when you start a terminal window such as dtterm, a 'normal' HP-UX login will occur.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 12:43 AM
04-12-2006 12:43 AM
Re: Lines wraping on xterm terminal
Try the following
1. TERM=vt100; export TERM
2. do "resize"
I guess you are not doing "resize"
Sometimes, you need to setup this on your RefX, Enable the Auto Warp button.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2006 05:49 AM
04-14-2006 05:49 AM