|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
LANG=fr_FR /usr/bin/nedit and accentuated charactersHi,
I use NEdit all day long to draft ma thesis (LaTeX), I work under lenny-sid/KDE (3.5.9) and I use bash under Konsole. When I write in french, I use to call NEdit this way: LANG=fr_FR /usr/bin/nedit <file> & since my locale is LANG=fr_FR.UTF-8. It works good for a while (I mean I have all characters I need to draft in french: à, é, è, ê, ï, etc.) and then it begins to be buggy (in the same X session): accentuated characters typed as a two-keys-sequence are no more accepted in NEdit. For example ^+e should display an "ê" but I got an "e" instead, the same for ¨+i, I got an "i". When I restart my KDE session, all things become ok for a while an then I fails again... So what am I doing wrong ? I also tried with luit: LANG=fr_FR luit /usr/bin/nedit <file> but this does not repair anything (and sometimes introduces strange behaviours in my bash sessions). At least my question would be: Is there anything to reset or restart except my KDE session or my whole computer to get things working good ? Thanks a lot ! Nicolas. ------- Info: My NEdit is linked to lesstif2: $ aptitude show nedit Paquet : nedit État: installé Automatiquement installé: non Version : 1:5.5-2 Priorité : optionnel Section : editors Responsable : Alexandre Pineau <alexandre.pineau@...> Taille décompressée : 1782k Dépend: lesstif2, libc6 (>= 2.7-1), libice6 (>= 1:1.0.0), libsm6, libx11-6, libxext6, libxp6, libxt6 Suggère: csh Est en conflit: nedit-dmotif, nedit-smotif Remplace: nedit-dmotif, nedit-smotif Description : A powerful, customizable, Motif based text editor NEdit is a multi-purpose text editor for the X Window System, which combines a standard, easy to use, graphical user interface with the thorough functionality and stability required by users who edit text eight hours a day. It provides intensive support for development in a wide variety of languages, text processors, and other tools, but at the same time can be used productively by just about anyone who needs to edit text. Users of Macintosh and MS Windows based text editors will find NEdit a familiar and comfortable environment. -- To UNSUBSCRIBE, email to debian-user-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: LANG=fr_FR /usr/bin/nedit and accentuated charactersOK, I found something "interesting": when it begins to be buggy,
accentuated characters only fails when I open multiple files in tabs, on every tabs except the tab of the first file I opened via the command line... stupid rule... I know that NEdit is considered stable only when linked to specific versions of openmotif or lesstif... what a mess ! (http://www.nedit.org/pipermail/develop/2004-July/008974.html) ----- $ nedit -V NEdit 5.5 Sep 30, 2004 Built on: Linux, 486, GNU C Built at: Aug 21 2008, 10:06:05 With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release 0.95.0] Running Motif: 2.1 [unknown] Server: The X.Org Foundation 10402000 Visual: 24-bit TrueColor (ID 0x21, Default) Locale: fr_FR -- To UNSUBSCRIBE, email to debian-user-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
["solved"] Re: LANG=fr_FR /usr/bin/nedit and accentuated charactersOK, I found an acceptable solution: download NEdit from here
http://www.nedit.org/ftp/v5_5/executables/ to get an well linked binary, install it into /usr/local/ ! (Sorry Debian packagers, but I really need to work with NEdit. ;-) ) N. > OK, I found something "interesting": when it begins to be buggy, > accentuated characters only fails when I open multiple files in tabs, > on every tabs except the tab of the first file I opened via the > command line... > stupid rule... > > I know that NEdit is considered stable only when linked to specific > versions of openmotif or lesstif... what a mess ! > (http://www.nedit.org/pipermail/develop/2004-July/008974.html) > > ----- > $ nedit -V > NEdit 5.5 > Sep 30, 2004 > > Built on: Linux, 486, GNU C > Built at: Aug 21 2008, 10:06:05 > With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release 0.95.0] > Running Motif: 2.1 [unknown] > Server: The X.Org Foundation 10402000 > Visual: 24-bit TrueColor (ID 0x21, Default) > Locale: fr_FR > > -- To UNSUBSCRIBE, email to debian-user-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: LANG=fr_FR /usr/bin/nedit and accentuated charactersAm 2008-08-29 13:52:33, schrieb Nicolas BERCHER:
> Hi, > > I use NEdit all day long to draft ma thesis (LaTeX), I work under > lenny-sid/KDE (3.5.9) and I use bash under Konsole. > > When I write in french, I use to call NEdit this way: > LANG=fr_FR /usr/bin/nedit <file> & > since my locale is LANG=fr_FR.UTF-8. > > It works good for a while (I mean I have all characters I need to draft > in french: à, é, è, ê, ï, etc.) and then it begins to be buggy (in the > same X session): accentuated characters typed as a two-keys-sequence are > no more accepted in NEdit. > For example ^+e should display an "ê" but I got an "e" instead, the same > for ??+i, I got an "i". I am using german, french and turkisch and have had never problems with NEdit... > So what am I doing wrong ? > I also tried with luit: > LANG=fr_FR luit /usr/bin/nedit <file> ^^^^^ Since you are using UTF-8 you have choosen the wrong locale since fr_FR is the same as iso-8859-1 (without €). You should use LANG=fr_FR.UTF-8 /usr/bin/nedit <file> and you are done > but this does not repair anything (and sometimes introduces strange > behaviours in my bash sessions). iso-8859-1 != iso-10646-1 ff_FR != fr_FR.UTF-8 Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) |
|
|
Re: LANG=fr_FR /usr/bin/nedit and accentuated charactersHi,Remove "nodeadkeys" from the Xorg.conf and you are done. I am using german, french and turkisch and have had never problems with NEdit... I don't have this option enabled in my /etc/X11/xorg.conf.
Sorry, but experiences show you're wrong: My system locale is already fr_FR.UTF-8, so your code LANG=fr_FR.UTF-8 /usr/bin/nedit <file>has really really no effects ! Moreover, it works (a little) this ways: LANG=fr_FR /usr/bin/nedit <file>but *only in he first nedit's tab*: try to open a new file in a second tab and type ¨+i : do you get an ï or ¨i ? This is with nedit installed by apt-get/aptitude@stable/testing/sid. Nowadays, I use the binary tar.gz package provided by nedit.org. All character encoding stuff are ok. Just a little problem: window redrawing operations are really slow (a few seconds for a tens of opened files in NEdit, really boring in a multi desktop env...) Best regards. Nicolas. |
| Free Forum Powered by Nabble | Forum Help |