FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-28-2010, 02:30 AM
T o n g
 
Default garbages in man page output

Hi,

I have garbage outputs in the man page of my newly installed Debian, like:

There are a few global options. Other options
modify the last output that is specified in earâ
<80><90>
lier parameters in the command line. Multiple
outputs may be modified at the same time by passâ
<80><90>
ing multiple --output options followed immediâ
<80><90>
ately by their corresponding modifying options.

Previously, I fix the problem with LANG='C' or LANG=en, but it doesn't
work now.

Please help.

thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-28-2010, 09:51 AM
Camaleón
 
Default garbages in man page output

On Thu, 28 Jan 2010 03:30:28 +0000, T o n g wrote:

> I have garbage outputs in the man page of my newly installed Debian,

Does this happen...?

- With all man pages
- Under any terminal (gnome-terminal, xterm, konsole...)?
- Even on tty?
- For all users?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-28-2010, 02:29 PM
T o n g
 
Default garbages in man page output

On Thu, 28 Jan 2010 10:51:16 +0000, Camaleón wrote:

>> I have garbage outputs in the man page of my newly installed Debian,
>
> Does this happen...?
>
> - With all man pages
> - Under any terminal (gnome-terminal, xterm, konsole...)? - Even on tty?
> - For all users?

Yes, with all man pages, under xterm and even console tty.
For the rest, (konsole, other users, etc), I don't care.

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-29-2010, 07:55 AM
Camaleón
 
Default garbages in man page output

On Thu, 28 Jan 2010 15:29:42 +0000, T o n g wrote:

> On Thu, 28 Jan 2010 10:51:16 +0000, Camaleón wrote:
>
>>> I have garbage outputs in the man page of my newly installed Debian,
>>
>> Does this happen...?

(...)

>> - For all users?
>
> Yes, with all man pages, under xterm and even console tty. For the rest,
> (konsole, other users, etc), I don't care.

You should care :-)

If another brand-new user account is not facing the problem, something
could be wrong with your current user profile.

Anyway, test with another locale that can handle UTF-8:

LANG=en_US.UTF-8 man whatever

Or try by appending "-d" for debugging.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-29-2010, 05:13 PM
T o n g
 
Default garbages in man page output

On Fri, 29 Jan 2010 08:55:07 +0000, Camaleón wrote:

> test with another locale that can handle UTF-8:
>
> LANG=en_US.UTF-8 man whatever

No luck, still get the same garbage.

> Or try by appending "-d" for debugging.

Here's it. What's wrong?

------------------------------------------
$ LANG=en_US.UTF-8 man -d xrandr
[ . . . ]
Starting pipeline: zcat < /usr/share/man/man1/xrandr.1.gz [input: {0, /usr/share/man/man1/xrandr.1.gz}, output: {-1, NULL}]
Started "zcat < /usr/share/man/man1/xrandr.1.gz", pid 3739
pre-processors `t' from default
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
cat_charset = ANSI_X3.4-1968
locale_charset = UTF-8
roff_device (locale) = utf8
roff_encoding = ISO-8859-1
output_encoding = UTF-8
Terminal width 80
Terminal width 80 within cat page range [80, 80]
format: 1, save_cat: 0, found: 1
Setting LESS to -ix8RmPm Manual page xrandr(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%..$PM Manual page xrandr(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%..$ifMRdh20
Setting MAN_PN to xrandr(1)
++priv_drop_count = 1
Starting pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | nroff -mandoc -Tutf8 [input: {-1, NULL}, output: {-1, NULL}]
Started "/usr/bin/zsoelim", pid 3740
Started "/usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE", pid 3742
Started "preconv", pid 3744
Started "tbl", pid 3745
Started "nroff", pid 3746
Starting pipeline: less [input: {-1, NULL}, output: {0, NULL}]
Active processes (1):
"less" (3749) -> 0
--priv_drop_count = 0
hash_free: 6 entries, 6 (100%) unique
Starting pipeline: zcat < /usr/share/man/man1/xrandr.1.gz [input: {0, /usr/share/man/man1/xrandr.1.gz}, output: {-1, NULL}]
Started "zcat < /usr/share/man/man1/xrandr.1.gz", pid 3739
pre-processors `t' from default
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
cat_charset = ANSI_X3.4-1968
locale_charset = UTF-8
roff_device (locale) = utf8
roff_encoding = ISO-8859-1
output_encoding = UTF-8
Terminal width 80
Terminal width 80 within cat page range [80, 80]
format: 1, save_cat: 0, found: 1
Setting LESS to -ix8RmPm Manual page xrandr(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%..$PM Manual page xrandr(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%..$ifMRdh20
Setting MAN_PN to xrandr(1)
++priv_drop_count = 1
Starting pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | nroff -mandoc -Tutf8 [input: {-1, NULL}, output: {-1, NULL}]
Started "/usr/bin/zsoelim", pid 3740
Started "/usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE", pid 3742
Started "preconv", pid 3744
Started "tbl", pid 3745
Started "nroff", pid 3746
Starting pipeline: less [input: {-1, NULL}, output: {0, NULL}]
Active processes (1):
"less" (3749) -> 0
--priv_drop_count = 0
hash_free: 6 entries, 6 (100%) unique
------------------------------------------

Thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-30-2010, 09:25 AM
Camaleón
 
Default garbages in man page output

On Fri, 29 Jan 2010 18:13:43 +0000, T o n g wrote:

> On Fri, 29 Jan 2010 08:55:07 +0000, Camaleón wrote:
>
>> Or try by appending "-d" for debugging.
>
> Here's it. What's wrong?
>
> ------------------------------------------
> $ LANG=en_US.UTF-8 man -d xrandr
> [ . . . ]

(...)

> page_encoding = ISO-8859-1
> source_encoding = ISO-8859-1
> cat_charset = ANSI_X3.4-1968
> locale_charset = UTF-8
> roff_device (locale) = utf8
> roff_encoding = ISO-8859-1
> output_encoding = UTF-8

Dunno what is wrong in your side. Here is my output (lenny):

***
sm01@stt008:~$ LANG=en_US.UTF-8 man -d xrandr
(...)
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
cat_charset = ANSI_X3.4-1968
locale_charset = ANSI_X3.4-1968
roff_device (locale) = ascii
roff_encoding = ANSI_X3.4-1968
output_encoding = ANSI_X3.4-1968
less_charset = ascii
***

And, without setting the $LANG:

***
sm01@stt008:~$ man -d xrandr
(...)
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
cat_charset = ANSI_X3.4-1968
locale_charset = UTF-8
roff_device (locale) = utf8
roff_encoding = ISO-8859-1
output_encoding = UTF-8
less_charset = utf-8
***

P.S. Try with another (new-created) user.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-03-2010, 01:18 AM
"s. keeling"
 
Default garbages in man page output

Camaleón <noelamac@gmail.com>:
> On Fri, 29 Jan 2010 18:13:43 +0000, T o n g wrote:
> > On Fri, 29 Jan 2010 08:55:07 +0000, Camaleón wrote:
> >
> >> Or try by appending "-d" for debugging.
> >
> > Here's it. What's wrong?
> >
> > $ LANG=en_US.UTF-8 man -d xrandr

I'm not sure I understand the problem, but in X, try:

LOCALE=utf-8 xman -notopbox -bothshown

I have that in ~/.fluxbox/fluxbox-menu:

[exec] (Xman) {LOCALE=utf-8 xman -notopbox -bothshown} <>

and it displays manpages with no flaws so far that I've seen (and I
have seen the flaws you mention at CLI man blah). GL.


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org