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

Bug#760993: console-setup: CHARMAP no longer set properly



On Thu, Sep 11, 2014 at 07:03:13PM +0300, Anton Zinoviev wrote:
> 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?

So I changed both FORK cases to be: $cmd "$@"

That doesn't change anything, and I don't see why that should
change anything.


Kurt


Reply to: