- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Terminal gets stuck in one line
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
08-30-2001 01:51 AM
08-30-2001 01:51 AM
i do have a terminal problem where i just can't find the solution.
If i do a rlogin
Interesting : If i do a rlogin
Til now i thought doing a rlogin -l root and doing an rlogin followed by a su - is exactly the same.
At the moment i don't know what to look for. What setting can cause this behavior? Why is there a difference in those two ways becomming root on the server? Exactly where is the difference?
The Client and the server are both running HP-UX 10.20. The user has teh same (mounted) homedirectory on the server and the client.
Any ideas??
Stefan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 01:56 AM
08-30-2001 01:56 AM
Re: Terminal gets stuck in one line
Have you checked how is set your terminal?
Have you tried: stty sane or TERM=
Regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 02:25 AM
08-30-2001 02:25 AM
SolutionI find this problem is caused by using unusual sized windows. ie. not 80x24. If you spawn off a dtterm or hpterm at 80x24 and try it again it should get around the problem.
From a dtterm you can go to the menu bar at the top of the window and do a soft reset which will fix the lockup on one line.
For a more permanent solution you need to fix your .profile, there are some terminal test commands in there which cause the lockup on non regular sized windows. Try removing the .profile and that should work. Then you can create a new .profile and only add in what you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 02:43 AM
08-30-2001 02:43 AM
Re: Terminal gets stuck in one line
I agree with Stefan (king) about the window sizing parameters.
I get this problem by increasing the size of window.
Also setting the TERM variable :
export TERM=
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:46 AM
08-30-2001 03:46 AM
Re: Terminal gets stuck in one line
What i still don't understand is why there is a difference between rlogin -l root and rlogin folowed by a su -. But i think that this has something to do with the different profiles which are active during this rlogin.
Ok, i will have a close look again on my profiles to remove everything thats not necessary.
Thanks again for your help.
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:21 AM
08-30-2001 04:21 AM
Re: Terminal gets stuck in one line
DocId: KBRC00000078
Updated 6/8/01 9:11:00 AM
PROBLEM
The scrolling area is not the full size of the dtterm window if the size is larger than
80x24 and a telnet or su - is executed.
RESOLUTION
When an "su -" or "telnet" is performed, /etc/profile is executed and uses "tset" to
detect and set the TERM type.
When queried, dtterm reports its terminal type as "vt220" --which is correct-- but vt200
and vt220 expect the window to be 80x24 or 132x24 (these terminal emmulators are not
resizable). "tset" will do a reset on the terminal, which will then force the window to be
configured for 80x24.
dtterm is simply a resizable vt220 emmulator.
To correct the problem, do the following:
1.Login as root on the machine
2.cd /usr/share/lib/terminfo/v
3.mv vt200 vt200-old
4.rm vt220 vt220-nam
5.ln ../d/dtterm vt200
6.ln ../d/dtterm vt220
7.ln ../d/dtterm vt220-nam
This will hard link the vt200 and vt220 terminfo database files to the database for
dtterm.
Since dtterm is a resizable version of vt200/vt220, there should not be any adverse side
effects. From then on "tset" in a dtterm generating vt200 will not be a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 12:53 PM
08-30-2001 12:53 PM
Re: Terminal gets stuck in one line
the line you are stuck in is the last one (bottom line),
right?
Most often it is enough to just call "reset", which is
perhaps done in the "/etc/profile" or root's ".profile",
being the reason why you do not have the problem
there...
Just my ?0.02,
Wodisch