Welcome to iraf.net Monday, May 13 2024 @ 10:51 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 iraf doesn't display enough lines
   
mohack
 12/05/2007 10:44PM (Read 3313 times)  
++---
Junior

Status: offline


Registered: 11/18/2007
Posts: 24
When i display a long image header (maybe about 100 or more lines), iraf only displays the last, let's say, 80 lines, so I don't see the top of the header when I scroll up. I solved the problem by writing the header into a file and viewing that with an editor by 'imhead x.fits l+ > header.txt'
But there has to be a way to fix that, right?
I'm using the ecl in an xgterm.

 
Profile Email
 Quote
fitz
 12/05/2007 10:44PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
IMHEAD outputs all the lines in a header and doesn't do any terminal interaction. If you lose lines scrolling up, it's because the number of lines being saved by your terminal is too small. Try something like[code:1:38bf92138f]% xterm -sl 1024[/code:1:38bf92138f]when starting a XTerm to save 1024 lines for scrolling (works for XGTerm as well). The default value is something like 64 but you can reset the 'saveLines' resource for xterm/xgterm to make a more permanent change.-Mike

 
Profile Email
 Quote
mohack
 12/05/2007 10:44PM  
++---
Junior

Status: offline


Registered: 11/18/2007
Posts: 24
I entered 'xgterm -sl 1024' in the iraf xgterm ecl and in the login.cl as stty xgterm -sl 1024, but no way is working. where to I have to enter that and how can I cange it permanently? thanks.

 
Profile Email
 Quote
fitz
 12/05/2007 10:44PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You use the '-sl' option when starting the xgterm window from the unix command line, or if you start these automatically from a .xinitrc file. You can set the X resource 'saveLines' a number of places depending on your X setup, a line such as [code:1:b83a818ef7]*VT100*saveLines: 1024[/code:1:b83a818ef7]in your .Xdefaults file.-Mike

 
Profile Email
 Quote
   
Content generated in: 0.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login