Re: man(1) output error

2010-10-31 Thread perryh
Warren Block wbl...@wonkity.com wrote:

  % man csh | less +/rehash
[...]
  Error executing formatting or display command.
  system command exited with status 36096
  Error executing formatting or display command.
  system command exited with status 36096
  No manual entry for csh
  %
...
  This seems to be a problem with the csh man page.
  Other pages work fine, like 'man hosts | less +/named'
  or 'man devfs | less +/ruleset'.

 Actually, it appears to be a problem with long manual pages,
 including csh, bash, or perlfunc.

Does it by any chance go away if you cause less to read the
pipe all the way to EOF, e.g. by entering G, before exiting?
If so, there may be a problem in the way man handles SIGPIPE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-31 Thread Polytropon
On Sat, 30 Oct 2010 22:00:41 -0700, per...@pluto.rain.com wrote:
 Does it by any chance go away if you cause less to read the
 pipe all the way to EOF, e.g. by entering G, before exiting?

In this case - no error message (either by typing G, End, or
manually scrolling through the whole manpage).

% man csh | less
:q
Error executing formatting or display command.
system command exited with status 36096
Error executing formatting or display command.
system command exited with status 36096
No manual entry for csh
% 

% man csh | less
:G
(END)
:q
% 



 If so, there may be a problem in the way man handles SIGPIPE.

Would be understandable.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-31 Thread parv
in message alpine.bsf.2.00.1010302151370.7...@wonkity.com,
wrote Warren Block thusly...

 On Sat, 30 Oct 2010, Adam Vande More wrote:

  On Sat, Oct 30, 2010 at 10:13 PM, p...@pair.com wrote:
I tried with man perlfunc | less '+/y' (also repeated the above
with csh) which did not result in any error messages in zsh 4 on
FreeBSD 8-STABLE (c. Sep 9 2010).
 
 
  Perhaps it's not directly related to the shell since your config
  is similar to except my stable is from Oct 4 and the error
  happens here.

 Sounds right.  The initial search command for less (+/whatever) is
 not always needed; after the error appears with it, just 'man
 perlfunc | less' will give the errors.

 The errors appear here when 'man perlfunc | less +/y' is run on
 csh, bash, or zsh and q is pressed before the EOF has been
 reached:

% man perlfunc | less +/y
Error executing formatting or display command.
system command exited with status 36096
No manual entry for perlfunc

Yes, pressing q in less produces the above too here.


 The status is always 36096, or 0x8d00.  Haven't yet found a short
 man page which does this.  Interestingly, longer man pages may do
 it twice:

% man ifconfig | less +/following
Error executing formatting or display command.
system command exited with status 36096
Error executing formatting or display command.
system command exited with status 36096
No manual entry for ifconfig

Now this is also reproducible.


 Go to the EOF with G first, then press q, and there are no
 errors.

Yep.

Thanks Warren for listing various cases.  That made me realize that
I did went to the end of two manual pages when I had tried to
reproduce the error earlier.


  - parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-31 Thread Warren Block

On Sun, 31 Oct 2010, Adam Vande More wrote:


On Sat, Oct 30, 2010 at 11:44 PM, Polytropon free...@edvax.de wrote:
  True - and just confirmed on 5.4-p14, so it must have been
  waiting inside the machine for many years now...


Looks like the Norwiegans got to the the south pole first:

http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/030705.html


Yes.  A followup explains the problem more:

http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/030708.html

Why I do this: it's nice to give people a direct link to a spot in a man 
page.  There's an alternate way, which is ugly and visually confusing 
but does not show errors:


  % man -P 'less +/following' ifconfig
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-31 Thread Chip Camden
Quoth Warren Block on Saturday, 30 October 2010:
 On Sat, 30 Oct 2010, Warren Block wrote:
 
 On Fri, 29 Oct 2010, Chip Camden wrote:
 
 % man csh | less +/rehash
 
rehash  Causes the internal hash table of the contents of the 
 directo-
ries  in the path variable to be recomputed.  This is 
 needed if
[...]
 Error executing formatting or display command.
 system command exited with status 36096
 Error executing formatting or display command.
 system command exited with status 36096
 No manual entry for csh
 %
 
 
 (meant to reply to list)
 
 I can confirm that the very latest 8.1-STABLE (csup and build this
 morning) reproduces the problem.  uname -a:
 
 FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE 
 #85: Fri Oct 29 10:27:19 PDT 2010 
 sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS 
 amd64
 
 This seems to be a problem with the csh man page.  Other pages work fine, 
 like 'man hosts | less +/named' or 'man devfs | less +/ruleset'.
 
 Actually, it appears to be a problem with long manual pages, including 
 csh, bash, or perlfunc.

Yes -- it also fails on 'man zshall | less +/alias', for instance.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp73MeThbSmm.pgp
Description: PGP signature


Re: man(1) output error

2010-10-30 Thread Warren Block

On Fri, 29 Oct 2010, Chip Camden wrote:


% man csh | less +/rehash

   rehash  Causes the internal hash table of the contents of the  directo-
   ries  in the path variable to be recomputed.  This is needed if
[...]
Error executing formatting or display command.
system command exited with status 36096
Error executing formatting or display command.
system command exited with status 36096
No manual entry for csh
%



(meant to reply to list)

I can confirm that the very latest 8.1-STABLE (csup and build this
morning) reproduces the problem.  uname -a:

FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE #85: 
Fri Oct 29 10:27:19 PDT 2010 
sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS  amd64


This seems to be a problem with the csh man page.  Other pages work 
fine, like 'man hosts | less +/named' or 'man devfs | less +/ruleset'.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-30 Thread Warren Block

On Sat, 30 Oct 2010, Warren Block wrote:


On Fri, 29 Oct 2010, Chip Camden wrote:


% man csh | less +/rehash

   rehash  Causes the internal hash table of the contents of the 
directo-
   ries  in the path variable to be recomputed.  This is 
needed if

[...]
Error executing formatting or display command.
system command exited with status 36096
Error executing formatting or display command.
system command exited with status 36096
No manual entry for csh
%



(meant to reply to list)

I can confirm that the very latest 8.1-STABLE (csup and build this
morning) reproduces the problem.  uname -a:

FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE 
#85: Fri Oct 29 10:27:19 PDT 2010 
sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS 
amd64


This seems to be a problem with the csh man page.  Other pages work fine, 
like 'man hosts | less +/named' or 'man devfs | less +/ruleset'.


Actually, it appears to be a problem with long manual pages, including 
csh, bash, or perlfunc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-30 Thread parv
in message alpine.bsf.2.00.1010302050110.7...@wonkity.com,
wrote Warren Block thusly...

 On Sat, 30 Oct 2010, Warren Block wrote:

  On Fri, 29 Oct 2010, Chip Camden wrote:
 
  % man csh | less +/rehash
 
 rehash  Causes the internal hash table of the contents of the
  directo-
 ries  in the path variable to be recomputed.  This is
  needed if
[...]
  Error executing formatting or display command.
  system command exited with status 36096
  Error executing formatting or display command.
  system command exited with status 36096
  No manual entry for csh
...
  I can confirm that the very latest 8.1-STABLE (csup and build
  this morning) reproduces the problem.  uname -a:
 
  FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE
  #85: Fri Oct 29 10:27:19 PDT 2010
  sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS
  amd64
 
  This seems to be a problem with the csh man page.  Other pages
  work fine, like 'man hosts | less +/named' or 'man devfs | less
  +/ruleset'.

 Actually, it appears to be a problem with long manual pages,
 including csh, bash, or perlfunc.

I tried with man perlfunc | less '+/y' (also repeated the above
with csh) which did not result in any error messages in zsh 4 on
FreeBSD 8-STABLE (c. Sep 9 2010).


  - parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-30 Thread Adam Vande More
On Sat, Oct 30, 2010 at 10:13 PM, p...@pair.com wrote:

 I tried with man perlfunc | less '+/y' (also repeated the above
 with csh) which did not result in any error messages in zsh 4 on
 FreeBSD 8-STABLE (c. Sep 9 2010).


Perhaps it's not directly related to the shell since your config is similar
to except my stable is from Oct 4 and the error happens here.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-30 Thread Polytropon
On Sat, 30 Oct 2010 22:27:49 -0500, Adam Vande More amvandem...@gmail.com 
wrote:
 On Sat, Oct 30, 2010 at 10:13 PM, p...@pair.com wrote:
 
  I tried with man perlfunc | less '+/y' (also repeated the above
  with csh) which did not result in any error messages in zsh 4 on
  FreeBSD 8-STABLE (c. Sep 9 2010).
 
 
 Perhaps it's not directly related to the shell since your config is similar
 to except my stable is from Oct 4 and the error happens here.

zsh 4 on FreeBSD 7:
% man perlfunc | less '+/y'
Error executing formatting or display command.
system command exited with status 36096
No manual entry for perlfunc

bash 4 on FreeBSD 7:
$ man perlfunc | less '+/y'
Error executing formatting or display command.
system command exited with status 36096
No manual entry for perlfunc

Maybe some buffer issue as the length of the man page seems to
have an influence?



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-30 Thread Warren Block

On Sat, 30 Oct 2010, Adam Vande More wrote:


On Sat, Oct 30, 2010 at 10:13 PM, p...@pair.com wrote:
  I tried with man perlfunc | less '+/y' (also repeated the above
  with csh) which did not result in any error messages in zsh 4 on
  FreeBSD 8-STABLE (c. Sep 9 2010).


Perhaps it's not directly related to the shell since your config is similar to 
except my stable is from Oct 4 and the error happens here.


Sounds right.  The initial search command for less (+/whatever) is not 
always needed; after the error appears with it, just 'man perlfunc | 
less' will give the errors.


The errors appear here when 'man perlfunc | less +/y' is run on csh, 
bash, or zsh and q is pressed before the EOF has been reached:


  % man perlfunc | less +/y
  Error executing formatting or display command.
  system command exited with status 36096
  No manual entry for perlfunc

The status is always 36096, or 0x8d00.  Haven't yet found a short man 
page which does this.  Interestingly, longer man pages may do it twice:


  % man ifconfig | less +/following
  Error executing formatting or display command.
  system command exited with status 36096
  Error executing formatting or display command.
  system command exited with status 36096
  No manual entry for ifconfig

Go to the EOF with G first, then press q, and there are no errors.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-30 Thread Polytropon
On Sat, 30 Oct 2010 22:21:02 -0600 (MDT), Warren Block wbl...@wonkity.com 
wrote:
 Sounds right.  The initial search command for less (+/whatever) is not 
 always needed; after the error appears with it, just 'man perlfunc | 
 less' will give the errors.
 
 The errors appear here when 'man perlfunc | less +/y' is run on csh, 
 bash, or zsh and q is pressed before the EOF has been reached:
 
% man perlfunc | less +/y
Error executing formatting or display command.
system command exited with status 36096
No manual entry for perlfunc
 
 The status is always 36096, or 0x8d00.  Haven't yet found a short man 
 page which does this.  Interestingly, longer man pages may do it twice:
 
% man ifconfig | less +/following
Error executing formatting or display command.
system command exited with status 36096
Error executing formatting or display command.
system command exited with status 36096
No manual entry for ifconfig
 
 Go to the EOF with G first, then press q, and there are no errors.

True - and just confirmed on 5.4-p14, so it must have been
waiting inside the machine for many years now...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-30 Thread Adam Vande More
On Sat, Oct 30, 2010 at 11:44 PM, Polytropon free...@edvax.de wrote:

 True - and just confirmed on 5.4-p14, so it must have been
 waiting inside the machine for many years now...


Looks like the Norwiegans got to the the south pole first:

http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/030705.html

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-29 Thread Eitan Adler
 % man csh | less +/rehash

 but after exiting less:

 Error executing formatting or display command.
 system command exited with status 36096
 Error executing formatting or display command.
 system command exited with status 36096
 No manual entry for csh

 This error seems new.

I can confirm that this does occur on 8.1-RELEASE and does not occur
on 8.1-STABLE r213338.



-- 
Eitan Adler
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-29 Thread Polytropon
On Fri, 29 Oct 2010 03:30:00 -0400, Eitan Adler li...@eitanadler.com wrote:
  % man csh | less +/rehash
 
  but after exiting less:
 
  Error executing formatting or display command.
  system command exited with status 36096
  Error executing formatting or display command.
  system command exited with status 36096
  No manual entry for csh
 
  This error seems new.
 
 I can confirm that this does occur on 8.1-RELEASE and does not occur
 on 8.1-STABLE r213338.

Must be something older - I can confirm this for 7-STABLE (as of
Aug 2008) on my home system. The error message appears when the
man program (less) is quit by typing 'q'. The searching process
itself works as intended.

% man csh | less +/rehash

   rehash  Causes the internal hash table of the contents of the  directo-
   ries  in the path variable to be recomputed.  This is needed if
[...]
Error executing formatting or display command.
system command exited with status 36096
Error executing formatting or display command.
system command exited with status 36096
No manual entry for csh
% 



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man(1) output error

2010-10-29 Thread Chip Camden
Quoth Polytropon on Friday, 29 October 2010:
 On Fri, 29 Oct 2010 03:30:00 -0400, Eitan Adler li...@eitanadler.com wrote:
   % man csh | less +/rehash
  
   but after exiting less:
  
   Error executing formatting or display command.
   system command exited with status 36096
   Error executing formatting or display command.
   system command exited with status 36096
   No manual entry for csh
  
   This error seems new.
  
  I can confirm that this does occur on 8.1-RELEASE and does not occur
  on 8.1-STABLE r213338.
 
 Must be something older - I can confirm this for 7-STABLE (as of
 Aug 2008) on my home system. The error message appears when the
 man program (less) is quit by typing 'q'. The searching process
 itself works as intended.
 
 % man csh | less +/rehash
 
rehash  Causes the internal hash table of the contents of the  directo-
ries  in the path variable to be recomputed.  This is needed if
   [...]
 Error executing formatting or display command.
 system command exited with status 36096
 Error executing formatting or display command.
 system command exited with status 36096
 No manual entry for csh
 % 
 

(meant to reply to list)

I can confirm that the very latest 8.1-STABLE (csup and build this
morning) reproduces the problem.  uname -a:

FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE #85: 
Fri Oct 29 10:27:19 PDT 2010 
sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS  amd64

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpvgHjVwg7y4.pgp
Description: PGP signature


man(1) output error

2010-10-28 Thread Warren Block

On 8-stable, this works:

% man csh | less +/rehash

but after exiting less:

Error executing formatting or display command.
system command exited with status 36096
Error executing formatting or display command.
system command exited with status 36096
No manual entry for csh

This error seems new.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org