`perldoc` and terminal size

Andy Koppe andy.koppe@gmail.com
Sat Apr 20 20:14:00 GMT 2013


On 18 April 2013 22:27, terminatorul wrote:
> Hello
>
> I am using `perldoc` to read the perl manual pages.I can use the black background it gives in mintty with a full-screen console, with low light intensity so I can read it during night o
>
>
> I can use the black background in mintty with a full-screen
> console window with low-light conditions during night or when
> someone else is sleeping.
>
> But it has the problem that it formats and displays text with
> a limited with (of 80 character columns I guess), despite my
> mintty window being twice as wide. I tried it on a Linux
> system and there `perldoc` uses the entire console width.
>
> Currently I have to use something like
>    PAGER="lynx -force_html -xhtml_parsing -nocolor" \
>        perldoc -o xhtml perl
> but I would still like the man format if possible.
>
> Is there an option to fix the display width for `perldoc` in
> cygwin to the console width ?

I'm afraid I don't know, this is just to say that the same happens
when running in a console or xterm, so this does indeed appear to be
an issue with perldoc's setup.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list