[Suns-at-Home] xterm number of columns when performing man pages display
Eugene Work0
ework0@gmail.com
Sat, 25 Nov 2006 13:30:56 -0600
Hello,
Thanks for your soon response, but,
I regret to inform you that your workaround doesn't work.
I am able to perform stty -a command and change columns to 192, for
example, but I still see 80 columns when I perform the man page on a
xterm window.
I am using xterm because it's faster than JDS gnome-terminal. I use
man pages actively, but this 80 columns limitation is pretty annoy.
Any other workaround ?
Thanks,
Fabio
On 11/24/06, Phillip Tong <pgt@myrealbox.com> wrote:
> Eugene Work0 wrote:
> > Hello,
> >
> > Solaris 10 (SPARC), running JDS, I run xterm but, when I use man
> > command, for example, I can't see the text across the wide terminal,
> > it's limit to 80 columns.
> >
> > My default shell is bash, I use the a wide resolution (exploting xvr
> > 1000 capabilities), and the command: export COLUMNS=100 doesn't
> > help. I don't know if I have to deal with tic or termcap files, I was
> > not lucky changing (the behavoir of the) pager neither.
> >
> > Any workaround ?
>
> Try using the 'stty' command. I find I have to run it on some terminals
> that don't set the number of rows and columns automatically (and in
> these case, I usually have to set the TERM variable too).
> To see if this is the case, run 'stty -a' and read off the rows and
> columns values.
>
> To change it, run the following (using 43 lines/rows and, say, 100
> columns in your case):
>
> stty rows 43 columns 100
>
> I would also make sure your xterm window is that large (use the -g
> parameter to xterm to set it) before running this inside the xterm.
>
> See how you go.
>
> Regards,
> Phil.
>