[Suns-at-Home] xterm number of columns when performing man pages
display
Bob Hoekstra
Bob.Hoekstra@HoekstraSystems.ltd.uk
Mon, 27 Nov 2006 02:42:54 +0000
There is no way to get more than 80 columns from a program that is
created to produce text in 80 column widths. Forget it. Unless you want
to rewrite the nroff and SGML sources.... no, don't even go there.
However, if you use man pages a lot, can I suggest you look at man2html?
If you have a webserver available this creates a useful interface.
Eugene Work0 wrote:
> 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.
>>
> _______________________________________________
> Suns-at-Home mailing list
> Suns-at-Home@net-kitchen.com
> http://www.net-kitchen.com/mailman/listinfo/suns-at-home