[procps] Re: top has a locale-dpendent config file ~/.toprc

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Mon, 17 Dec 2012 09:32:41 -0600

On Mon, 2012-12-17 at 13:43 +0100, Dr. Werner Fink wrote:
> just from a bug report (bnc#794678):
> 
>   $ LC_ALL=de_DE.UTF-8 top
>   ## write 'W' configuration file from within top
>   $ LC_ALL=C top
>           top: incompatible rcfile, you should delete '/home/user/.toprc'
> 
> indeed I can reproduce this:
> 
>   /suse/werner> setenv LANG de_DE.UTF-8
>   /suse/werner> top
>   /suse/werner> setenv LANG POSIX
>   /suse/werner> top
>           top: incompatible rcfile, you should delete '/suse/werner/.toprc'
> 
> ... maybe before reading/writing the file ~/.toprc top its self should switch
> to the POSIX (aka C) locale standard.
> 
>    Werner

Hi Werner,

Thanks for the heads up.

I'll send a fix for this issue shortly.

Jim



Other related posts: