Bug#760993: console-setup: CHARMAP no longer set properly
On Tue, Sep 09, 2014 at 08:18:01PM +0200, Kurt Roeckx wrote:
>
> In /etc/default/console-setup I have:
> CHARMAP="ISO-8859-1"
>
> However, my console acts like it's in UTF-8 mode.
>
> If I restart the console-setup service it does get properly set,
> so I'm guessing something else is overriding it.
In order to be sure that that the culprit is not console-setup but other
program, do this:
Open /bin/setupcon in a text editor and find the following block:
elif [ "$do_verbose" ]; then
case "$verbose" in
NONE)
report executing $cmd "$@".
$cmd "$@"
;;
FORK)
# no arguments to suppress '\033%%@' and '\033%%G'
report executing $cmd.
$cmd "$@" &
;;
*)
report executing $cmd "$@".
$cmd "$@" $verbose
;;
esac
else
case "$verbose" in
NONE)
report executing $cmd "$@".
$cmd "$@" >/dev/null 2>&1
;;
FORK)
# no arguments to suppress '\033%%@' and '\033%%G'
report executing $cmd.
$cmd "$@" &
;;
*)
report executing $cmd "$@".
$cmd "$@"
;;
esac
Then remove the symbol '&' from both lines
$cmd "$@" &
Does the problem disappear if you do this?
Anton Zinoviev
Reply to: