Re: garbages in man page output
Camaleón noela...@gmail.com: On Fri, 29 Jan 2010 18:13:43 +, T o n g wrote: On Fri, 29 Jan 2010 08:55:07 +, 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.htmlPlease, don't Cc: me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: garbages in man page output
On Fri, 29 Jan 2010 18:13:43 +, T o n g wrote: On Fri, 29 Jan 2010 08:55:07 +, 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): *** s...@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: *** s...@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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: garbages in man page output
On Thu, 28 Jan 2010 15:29:42 +, T o n g wrote: On Thu, 28 Jan 2010 10:51:16 +, 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: garbages in man page output
On Fri, 29 Jan 2010 08:55:07 +, 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: garbages in man page output
On Thu, 28 Jan 2010 03:30:28 +, 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: garbages in man page output
On Thu, 28 Jan 2010 10:51:16 +, 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
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â 8090 lier parameters in the command line. Multiple outputs may be modified at the same time by passâ 8090 ing multiple --output options followed immediâ 8090 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org