#55 NEdit quit if unable to resolve X locale

release
closed-fixed
None
4
2001-08-07
2001-08-06
No

Originally submitted by Russell Watkins
<russell.watkins@metoffice.com>:

I have just installed SuSE 7.2 on a new PC. I added
nedit to the installation, using the Yast2 SuSE
facility, but when I attempted to run nedit, the
following error message occurred:

itrw@rdl004:~ > nedit
NEdit: Xlib: locale en_GB@euro not supported

Since that initial failure I've downloaded nedit (both
glibc and libc versions) from the download section on
your website, but have come up with the same error in
each case.

========

This happens when your system's C library supports a
specifc locale, but your system's X library does not.

Workaround: 'setenv LANG C' before invoking nedit.

I'm not sure why it's quitting, it should probably just
fallback to C if it can't change. This is in fact what
the default Xt language procedure does.

Anyone know why we don't use XtSetLanguageProc(NULL,
NULL, NULL) here? All the code that sets the C/X
locale can be replaced with this one call.

Discussion

  • Scott Tringali

    Scott Tringali - 2001-08-07
    • assigned_to: nobody --> tringali
    • status: open --> closed-fixed
     
  • Scott Tringali

    Scott Tringali - 2001-08-07

    Logged In: YES
    user_id=11321

    Fix committed.

    Checking in source/nedit.c;
    /cvsroot/nedit/nedit/source/nedit.c,v <-- nedit.c
    new revision: 1.15; previous revision: 1.14
    done

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks