another strange terminal problem



Author: anonymous
Date: Tue May 17 13:51:33 2005
Subject: another strange terminal problem

I have 2 sco 5.0.5 systems that I support and I use CRT as my terminal emulator for both. The strangeness is with unix utility programs i.e. more, page etc. that need to know where the bottom line is AND if the screen has been resized to more than 80 lines ONE of the boxes does not work properly. Instead of pausing at the bottom line it jumps up to line 80 and resumes from there. I have ruled out everything I can think of - stty, terminfo, CRT - but cannot get the one box to behave.

Thanks


Hate these ads?



Comments /Forum/anonymous9.html


Tue May 17 14:00:05 2005: Subject:   BigDumbDinosaur
...if the screen has been resized to more than 80 lines...The scoansi screen can only display 25 lines in its normal configuration. Are you sure you have things correctly set up?



Tue May 17 14:33:44 2005: Subject:   TonyLawrence
I think he might mean more than 80 lines (I mean CHARACTERS!) wide - which means it has to do with wrapping or not wrapping lines, most likely.



Tue May 17 16:23:03 2005: Subject:   TonyLawrence
BTW, "anonymous" posted the same article twice - I removed the duplicate.




Tue May 17 18:36:43 2005: Subject: correction   anonymous
I actually tried to post a correction - I meant to say 25 lines not 80 lines. And as it turns out the misbehaving sco is version 5.0.4 not 5.0.5 like I thought.



Tue May 17 18:53:12 2005: Subject:   TonyLawrence
Oh, sorry - I have no provision for correcting articles. Do it with a comment or just send me email and I'll fix it.



Wed May 18 01:04:19 2005: Subject:   anonymous
`less` has modes which do what I think you're trying to describe. Start it up on a long file (`less /etc/termcap`), then hit "-c" a couple of times, "-C" a couple of times. Those toggle the two settings I'm thinking of. Do this on both machines, see if the defaults are different.



`less` responds to environment variables $LESS (and maybe $MORE), check if the different machines have different settings.

Check whether $TERM differs on the two machines.

I think what you're describing is like the "Application" mode on a Wyse 60: instead of scrolling, new data starts over at the top of the screen? If so, it's possible that the CRT emulation responds to an escape sequence that sets that mode. But then it would happen in everything, not just paging utilities. `ls -l` of a 50-file directory would page over itself.

>Bela<

Wed May 18 05:54:37 2005: Subject:   KimPetersen
have you tried to set the LINES and COLUMNS environment variables ?





Fri May 20 07:45:16 2005: Subject:   anonymous
(came across this by accident)



On other brands (not use SCO for some time) 'eval resize' before a curses program works for me.

C.

Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner

cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.


Views for this page
Today This Week This Month This Year  Overall
1315277 2,878

/Forum/anonymous9.html copyright May 2005 anonymous All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Forum




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.









Change Congress


Related Posts