cancel
Showing results for 
Search instead for 
Did you mean: 

Terminal scrolling display

 
SOLVED
Go to solution
Highlighted
Super Advisor

Terminal scrolling display

Hello,

 

I'm running HP-UX c8000, B.11.11

The terminal type is dtterm (echo $TERM).

The problem is that the terminal does not show the entire "history" when I scroll the window backwards.

If I run ls -l and the output runs to terminal I can't see the whole output.

 

How can I fix it?

 

BR,

Yali

16 REPLIES 16
Highlighted
Honored Contributor

Re: Terminal scrolling display

I think there are options to dtterm to set the number of lines of "scroll back" on the terminal.  That is what you need to investigate. 

Highlighted
Honored Contributor

Re: Terminal scrolling display

To set the number of linkes of scroll back for dtterm, you use the '-sl' option.

 

For example:

 

dtterm -sl 4000l 

 

will invoke dtterm and give you 4000 lines of scroll back capability.  The maximum number for scroll back is 32,767 (I think).

Highlighted
Acclaimed Contributor

Re: Terminal scrolling display

You can also add -sb to get a scrollbar.

Highlighted
Super Advisor

Re: Terminal scrolling display

Thank you for the replies.

 

The command dtterm -sl 4000l is good only for the next opened terminal.

How do I make this setting to take place persistently for root and for other users?

Why does this terminal setting is different for my other machines? Is it part of the env variables?

 

BR,

Yali

Highlighted
Acclaimed Contributor

Re: Terminal scrolling display

>How do I make this setting to take place persistently for root and for other users

 

Users that are using X, need to know how to configure their own display.  Or they are better off using Windows to do this.

 

>Why does this terminal setting is different for my other machines?

 

Mine was coded in menus.  Or in ~/.Xdefaults.

Highlighted
Super Advisor

Re: Terminal scrolling display

Hello,

 

Is there a file to define the "dtterm -sl 4000l" command ?

 

BR,

Yali

Highlighted
Acclaimed Contributor

Re: Terminal scrolling display

>Is there a file to define the "dtterm -sl 4000l" command?

 

We're asking you.  How do users invoke dtterm?  From the shell?  Or from dtterm menu?

Highlighted
Super Advisor

Re: Terminal scrolling display

Sorry, I missed that.

 

Users are invoking terminals from the Front Panel menu.

I add the .Xdefaults file into the home directory of a user and add the following:

 

xterm*scrollLine: 1000

 

Then I ran:

 

xrdb .Xdefaults

 

but still, I can't see enough scrolled lines when I scroll back.

 

Highlighted
Acclaimed Contributor

Re: Terminal scrolling display

>Users are invoking terminals from the Front Panel menu.

 

In my old .mwmrc there was an explicit call to hpterm where I could set it.

 

>I add the .Xdefaults file into the home directory of a user and add the following:

>xterm*scrollLine: 1000

 

Don't you need dtterm?

 

>xrdb .Xdefaults

 

I thought I used to use -merge?

 

>I can't see enough scrolled lines when I scroll back.

 

Do you also need to enable the scrollbar?