Operating System - HP-UX
1833840 Members
2500 Online
110063 Solutions
New Discussion

Re: text wrapping questions in xterm

 
SOLVED
Go to solution
Kenneth_18
Frequent Advisor

text wrapping questions in xterm

Hello,

I'm trying to view some logs files which are tab delimited but the no. of columns exeeds the xterm display. From the menu settings of the terminal, I can disable the text wrapping but how do I enable the horizontal scroll bar so I could scroll to the text not displayed.

Also in vi, how do I disable text wrapping and scroll horizontally to the undisplayed text.

Thanks in advance
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: text wrapping questions in xterm

see my comments wrt dtterm in http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcf22b941255cd71190080090279cd0f9,00.html

xterm works the same way

you can just vi Xdefaults and add :

Xterm*saveLines:4000
Xterm*scrollBar:True

or use the command line options -sl # -sb see man xterm

not sure about vi I'll see what I can find .....
Jean-Louis Phelix
Honored Contributor
Solution

Re: text wrapping questions in xterm

Hi,

I've never seen an horizontal scrollbar on a xterm or dterm. Perhaps you could try to use dtpad :

/usr/dt/bin/dtpad -standAlone file

will give you a very simple editor with both scrollbars (horizontal + vertical).

Regards.
It works for me (© Bill McNAMARA ...)
Kenneth_18
Frequent Advisor

Re: text wrapping questions in xterm

Thanks,

How silly of me. The GUI text editor is just right under my nose and never bothered using it.