(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



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




More Articles by anonymous




Click here to add your comments





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

gravatar
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

gravatar
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

gravatar
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.

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



/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

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!



 I sell and support
 Kerio Mail server






More:
       - Forum


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress