[Bug 264299] tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment.
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264299] tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264299] tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264299] tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264299] tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264299] tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264299] tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 May 2022 21:21:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264299 Bug ID: 264299 Summary: tcsh dirs builtin-command and more can't input/show tilda/reverse_solidus character in LANG=ja_JP.SJIS environment. Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: alumina@ceramix.compress.to /usr/src/tools/tools/locale/etc/final-maps/map.SJIS fix mapping character. /usr/src/contrib/tcsh/sh.print.c fix core-dumped in show home directory in dirs builtin-command in LANG=ja_JP.SJIS environment. --- tools/tools/locale/etc/final-maps/map.SJIS.orig 2018-08-15 20:55:35.0543 59000 +0900 +++ tools/tools/locale/etc/final-maps/map.SJIS 2018-08-15 21:02:32.780522000 +0 900 @@ -163,7 +163,7 @@ <LATIN_CAPITAL_LETTER_Z> \x5a <Z> \x5a <LEFT_SQUARE_BRACKET> \x5b -<YEN_SIGN> \x5c +<REVERSE_SOLIDUS> \x5c <RIGHT_SQUARE_BRACKET> \x5d <CIRCUMFLEX_ACCENT> \x5e <LOW_LINE> \x5f @@ -223,7 +223,7 @@ <LEFT_CURLY_BRACKET> \x7b <VERTICAL_LINE> \x7c <RIGHT_CURLY_BRACKET> \x7d -<OVERLINE> \x7e +<TILDE> \x7e <CONTROL-007F> \x7f <DELETE> \x7f <IDEOGRAPHIC_SPACE> \x81\x40 --- contrib/tcsh/sh.print.c.orig 2018-06-22 08:03:38.000000000 +0900 +++ contrib/tcsh/sh.print.c 2018-08-15 20:01:12.462458000 +0900 @@ -169,9 +169,9 @@ } } else if (!isprint(c) && (ASC(c) < 0x80 || MB_CUR_MAX == 1)) { - xputchar('\\' | atr); - xputchar((((c >> 6) & 7) + '0') | atr); - xputchar((((c >> 3) & 7) + '0') | atr); + putraw('\\' | atr); + putraw((((c >> 6) & 7) + '0') | atr); + putraw((((c >> 3) & 7) + '0') | atr); c = (c & 7) + '0'; } (void) putraw(c | atr); -- You are receiving this mail because: You are the assignee for the bug.