[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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/


Reply to: