Problem with perldoc output (was: Re: two problems w/ new perl encountered)
Hallo Thomas, Now again CC'd to the Cygwin list. Am Montag, 17. März 2003 um 09:01 schriebst du: Gerrit P. Haase [EMAIL PROTECTED] schrieb am 16.03.03 16:42:01: Hallo mellman, Am Freitag, 14. März 2003 um 22:46 schriebst du: Is there a way to dump the exact pipeline that perldoc uses? It says something in the man page about nroff, etc ... Does it use nroff or groff? /usr/bin/nroff From perldoc -h: Options: -t Display pod using pod2text instead of pod2man and nroff (-t is the default on win32) So the problem probably is hidden somewhere in pod2man. Oh, no, I doubt that. If the -t option entry is to be interpreted as: using (pod2text) instead of (pod2man, nroff) ... then surely not. Well, pod2text works, pod2man nroff doesn't. it's nroff that generates the escape sequences, which on cursory inspection, BTW, look good. I suspect a problem on the interface between nroff and the pager (but not the $PAGER, because it doesn't help to eliminate that variable). Setting $PERLDOC_PAGER to less doesn't help. Interesting, though, is that entering: perl2man /usr/bin/perldoc | nroff -man | less gives the same results. Also w/ groff. I'll bet there's a problem with the -man package. Incidently, I did: perl2man /usr/bin/perldoc $tmp/perldoc.1 man $tmp/perldoc.1 and it comes out right. Does man use a different -man package? Then it isn't pod2man... Hmmm, generating the manpage with pod2man works, then it is probably a problem with nroff, as you said. man maintainer, groff maintainer, any comments? BTW, Du kannst aber schon deutsch schreiben wenn Du willst. :-) Gerrit -- =^..^=
Re: two problems w/ new perl encountered
Hallo mellman, Am Freitag, 14. März 2003 um 22:46 schriebst du: Is there a way to dump the exact pipeline that perldoc uses? It says something in the man page about nroff, etc ... Does it use nroff or groff? /usr/bin/nroff From perldoc -h: Options: -t Display pod using pod2text instead of pod2man and nroff (-t is the default on win32) So the problem probably is hidden somewhere in pod2man. Gerrit -- =^..^=
two problems w/ new perl encountered
I just updated cygwin and now have two problems with the cygwin port of perl: - in perl -d some-script I have to hit Enter two times for it to be recognized. - man perlfunc now returns: No manual entry for perlfunc This wouldn't be so bad, because perldoc does work, sort of. For a while now, however, it's terminfo entry has been screwed up - rather than intelligent curses effects, I get the expanded escape sequences. Man works okay. My perl: Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=cygwin, osvers=1.3.12(0.5432), archname=cygwin-multi-64int uname='cygwin_nt-5.0 kmbestst 1.3.12(0.5432) 2002-07-06 02:16 i686 unknown ' config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O2 -Dman3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' ccversion='', gccversion='3.1.1 20020718 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lcrypt -lutil perllibs=-lcrypt -lutil libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Jul 24 2002 18:47:09 %ENV: PERLLIB=/home/lib/perl5/local:/opt/lib/perl5/site_perl/5.6.1/cygwin-multi:/opt/lib/perl5/5.6.1/cygwin-multi:/opt/lib/perl5/site_perl/5.6.1:/opt/lib/perl5/5.6.1 CYGWIN=ntsec tty @INC: /home/lib/perl5/local /opt/lib/perl5/site_perl/5.6.1/cygwin-multi /opt/lib/perl5/5.6.1/cygwin-multi /opt/lib/perl5/site_perl/5.6.1 /opt/lib/perl5/5.6.1 /usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . My cygwin: CYGWIN_NT-4.0 xxx 1.3.21(0.77/3/2) 2003-03-12 00:24 i686 unknown unknown Cygwin -- Thomas Mellman [EMAIL PROTECTED] __ Schon wieder Viren-Alarm? Bei WEB.DE FreeMail ist das kein Problem, hier ist der Virencheck inklusive! http://freemail.web.de/features/?mc=021158 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: two problems w/ new perl encountered
Hallo Thomas, Am Freitag, 14. März 2003 um 17:06 schriebst du: I just updated cygwin and now have two problems with the cygwin port of perl: - in perl -d some-script I have to hit Enter two times for it to be recognized. Try to set PERLIO in the environment, e.g. $ export PERLIO=raw other possible settings: PERLIO=stdio, PERLIO=perlio, ... see the perlio manpage for details. - man perlfunc now returns: No manual entry for perlfunc Hmmm, works for me. Did you install the perl_manpages package? The manpages are in a separate package since 5.8! This wouldn't be so bad, because perldoc does work, sort of. For a while now, however, it's terminfo entry has been screwed up - rather than intelligent curses effects, I get the expanded escape sequences. Man works okay. Not the fault of perl (I believe!), it works well as perl was built and after upgrading cygwin to some later version than 1.3.12 it doesn't work without this problem. Do you have a guess how to fix it? My perl: I'm on the way to release an update the next days, would be nice to get the perldoc display bug fixed for that. Gerrit -- =^..^=
Re: two problems w/ new perl encountered
On Fri, 14 Mar 2003, Gerrit P. Haase wrote: This wouldn't be so bad, because perldoc does work, sort of. For a while now, however, it's terminfo entry has been screwed up - rather than intelligent curses effects, I get the expanded escape sequences. Man works okay. Not the fault of perl (I believe!), it works well as perl was built and after upgrading cygwin to some later version than 1.3.12 it doesn't work without this problem. Do you have a guess how to fix it? Didn't the default options of less change? export PAGER='/bin/less -R'; helped me with perldoc. I've forgotten if I was also having problems with man, however. -- Greg MathesonI have an elaborate mnemonic for Dr Bean's Penpal Poolremembering what day it is. It's Address: palpool called the number system. Domain: @cn91.chinmin.edu.tw -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/