ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] man через ssh
@ 2011-02-24  6:07 Alexey Bochenin
  2011-02-24  9:28 ` Dmitry Chistikov
  0 siblings, 1 reply; 14+ messages in thread
From: Alexey Bochenin @ 2011-02-24  6:07 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Подскажите, пожалуйста, чем могут быть вызваны сообщения в SSH-консоли 
типа ниже приведенных?

$ ssh localhost man strace|head

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: Broken pipe
	Input file = /usr/share/man/man1/strace.1.bz2, output file = (stdout)

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: Broken pipe
	Input file = /usr/share/man/man1/strace.1.bz2, output file = (stdout)
STRACE(1)                                          STRACE(1)
NAME
        strace - trace system calls and signals

Мануал при этом показывается на экране, так что ошибка вроде не 
критичная. Что любопытно, возникает она лишь при просмотре больших 
руководств, типа man bash, man ls, и др. А при просмотре небольших манов 
объемом около 100 строк (man df) - в консоли нет ошибок.


Система - x86_64, Сизиф примерно на начало февраля.
$ rpm -q man
man-1.6f-alt11

$ man -d strace
Reading config file /etc/man.conf
found man directory /usr/share/man
found man directory /usr/X11R6/man
found man directory /usr/local/man
found man directory /usr/local/share/man
found manpath map /bin --> /usr/share/man
found manpath map /sbin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/sbin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/share/man
found manpath map /usr/local/sbin --> /usr/local/share/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man
found manpath map /usr/bin/X11 --> /usr/X11R6/man
found manpath map /usr/bin/mh --> /usr/share/man

using /usr/bin/less -isR as pager

using /usr/bin/less -isR as browser

using /bin/cat to dump HTML pages as text

path directory /home/bochenin/bin is not in the config file
and we found no man directory nearby

path directory /bin is in the config file
adding /usr/share/man/ru to manpath
adding /usr/share/man to manpath

path directory /usr/bin is in the config file

path directory /usr/local/bin is in the config file
adding /usr/local/share/man to manpath

path directory /usr/X11R6/bin is in the config file
adding /usr/X11R6/man to manpath

path directory /usr/games is not in the config file
and we found no man directory nearby

adding mandatory man directories

adding /usr/local/man to manpath

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: Broken pipe
	Input file = /usr/share/man/man1/strace.1.bz2, output file = (stdout)
no cat page stored because of nonstandard line length

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: Broken pipe
	Input file = /usr/share/man/man1/strace.1.bz2, output file = (stdout)
using default preprocessor sequence
man:
not executing command:
   (cd "/usr/share/man" && man-source '/usr/share/man/man1/strace.1.bz2' 
'153' '1100i' | /usr/bin/nroff -S -p -t -Dkoi8-r -mtty -mandoc | 
/usr/bin/less -isR)


Если попробовать запустить в SSH-консоли
sh -c "(cd /usr/share/man && man-source 
'/usr/share/man/man1/strace.1.bz2' '153' '1100i' | /usr/bin/nroff -S -p 
-t -Dkoi8-r -mtty -mandoc | /usr/bin/less -isR)"
то ошибок нет

-- 
WBR, Alexey


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-28 10:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-24  6:07 [Comm] man через ssh Alexey Bochenin
2011-02-24  9:28 ` Dmitry Chistikov
2011-02-24 10:57   ` Alexey Bochenin
2011-02-24 12:55     ` Dmitry Chistikov
2011-02-24 16:46       ` Alexey Bochenin
2011-02-24 18:28         ` Dmitry Chistikov
2011-02-24 19:08           ` Dmitry Chistikov
2011-02-25  8:49         ` Alexey Bochenin
2011-03-03  9:45           ` Dmitry Chistikov
2011-03-03 10:59             ` Alexey Bochenin
2011-03-03 11:32               ` Dmitry Chistikov
2011-03-04 12:11             ` Alexey Bochenin
2011-03-05  7:40               ` Dmitry Chistikov
2011-03-28 10:58                 ` Dmitry Chistikov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git