Re: bug in perldoc (escape characters in output)

2004-10-31 Thread Gerrit P. Haase
Brian Dessent wrote:
Elvin Peterson wrote:

I don't get any color highlighting when I use LESS=R,
but as I said in another post, perldoc didn't have
highlighting to begin with.  Does anyone here get
color in the terminal for, say, perldoc CPAN?  As it
is, I am using man for everything except perldoc -f.

perldoc works fine, has full highlighting/bolding support but you have
to configure less to show the escape codes.  Try "export LESS=-R".  Not
just R.  There is a minus in front of it.  Just like it says in the
README.
I see no difference in using LESS=R instead of LESS=-R, works fine anyway.
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: bug in perldoc (escape characters in output)

2004-10-31 Thread Brian Dessent
Elvin Peterson wrote:

> I don't get any color highlighting when I use LESS=R,
> but as I said in another post, perldoc didn't have
> highlighting to begin with.  Does anyone here get
> color in the terminal for, say, perldoc CPAN?  As it
> is, I am using man for everything except perldoc -f.

perldoc works fine, has full highlighting/bolding support but you have
to configure less to show the escape codes.  Try "export LESS=-R".  Not
just R.  There is a minus in front of it.  Just like it says in the
README.

Brian

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



Re: bug in perldoc (escape characters in output)

2004-10-31 Thread Elvin Peterson

--- "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote:

> Elvin Peterson wrote:
> 
> >>>Hello,
> >>>The perl documentation viewed using the
> >>> perldoc commands has escape characters inserted
> into it. 
> >>> The same pages view with the man command are OK.
>  I 
>  >>> think this is cygwin specific, so I am posting
> it here.
> 
> >>Not really a problem with perldoc, try:
> >>export LESS=R
> 
> > The same effect can be achieved with perldoc -t. 
> 
> This is textmode only, yep.
> 
> > However, the color highlights are gone, so fixing
> this
> > might be worthwhile.
> 
> You get highlightingsd when you set LESS=R in your
> environment.
> 
> So what to fix?  It is a feature, not a bug.
> 

I don't get any color highlighting when I use LESS=R,
but as I said in another post, perldoc didn't have
highlighting to begin with.  Does anyone here get
color in the terminal for, say, perldoc CPAN?  As it
is, I am using man for everything except perldoc -f.

Thanks.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: bug in perldoc (escape characters in output)

2004-10-31 Thread Gerrit P. Haase
Elvin Peterson wrote:
Hello,
   The perl documentation viewed using the
perldoc commands has escape characters inserted into it. 
The same pages view with the man command are OK.  I 
>>> think this is cygwin specific, so I am posting it here.
Not really a problem with perldoc, try:
export LESS=R

The same effect can be achieved with perldoc -t. 
This is textmode only, yep.
However, the color highlights are gone, so fixing this
might be worthwhile.
You get highlightingsd when you set LESS=R in your environment.
So what to fix?  It is a feature, not a bug.
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: bug in perldoc (escape characters in output)

2004-10-31 Thread Elvin Peterson
--- Yaakov Selkowitz
<[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Elvin Peterson wrote:
> | Hello,
> | The perl documentation viewed using the
> perldoc
> | commands has escape characters inserted into it. 
> The
> | same pages view with the man command are OK.  I
> think
> | this is cygwin specific, so I am posting it here.
> | Thanks.
> 
> Quoting /usr/share/doc/Cygwin/perl-5.8.5.README:
> 
> ***NOTE: you may want to set LESS=-R for less output
> in your global
> ~ Cygwin environment because the escape
> characters are not
> ~ expanded without this setting.
> 

OK, thanks for all who replied--so perldoc doesn't
have the color highlighting to begin with.  So it
would seem that man is a better command for reading
perl documentation.  My apologies for not reading the
README file for perl.

> 
> Yaakov
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.4 (Cygwin)
> Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
> 
>
iD8DBQFBhE3XpiWmPGlmQSMRAu1nAKCIZ54U7OlOj00ktArba4Ot+zYn5QCgv9FH
> t65+hfLgCB8RvNhnZCnaD9M=
> =LlHs
> -END PGP SIGNATURE-
> 
> 
> --
> Unsubscribe info: 
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:  
> http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: bug in perldoc (escape characters in output)

2004-10-31 Thread Elvin Peterson

--- "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote:

> Elvin Peterson wrote:
> 
> > Hello,
> > The perl documentation viewed using the
> perldoc
> > commands has escape characters inserted into it. 
> The
> > same pages view with the man command are OK.  I
> think
> > this is cygwin specific, so I am posting it here.
> 
> Not really a problem with perldoc, try:
> export LESS=R
> 

The same effect can be achieved with perldoc -t. 
However, the color highlights are gone, so fixing this
might be worthwhile.

Thanks for the reply.

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




__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

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



Re: bug in perldoc (escape characters in output)

2004-10-31 Thread Gerrit P. Haase
Elvin Peterson wrote:
Hello,
The perl documentation viewed using the perldoc
commands has escape characters inserted into it.  The
same pages view with the man command are OK.  I think
this is cygwin specific, so I am posting it here.
Not really a problem with perldoc, try:
export LESS=R
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: bug in perldoc (escape characters in output)

2004-10-30 Thread Yaakov Selkowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Elvin Peterson wrote:
| Hello,
| The perl documentation viewed using the perldoc
| commands has escape characters inserted into it.  The
| same pages view with the man command are OK.  I think
| this is cygwin specific, so I am posting it here.
| Thanks.
Quoting /usr/share/doc/Cygwin/perl-5.8.5.README:
***NOTE: you may want to set LESS=-R for less output in your global
~ Cygwin environment because the escape characters are not
~ expanded without this setting.
Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBhE3XpiWmPGlmQSMRAu1nAKCIZ54U7OlOj00ktArba4Ot+zYn5QCgv9FH
t65+hfLgCB8RvNhnZCnaD9M=
=LlHs
-END PGP SIGNATURE-
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/