I am running Ubuntu 6.06 LTS Dapper Drake distribution. It comes with the nedit binary compiled to use the LessTif clone.
NEdit 5.5
Sep 30, 2004
Built on: Linux, x86-64, GNU C
Built at: Oct 8 2005, 20:15:23
With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release 0.93.94] (UNTESTED)
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C
I am also running a box with dual-head system, running the nvidia drivers, render acceleration, xinerama, etc. As a long time nedit user I had to track down this and some other bugs to make my new system work. These are my findings so far:
1) Dual Head Bug:
===========
acerpa@jupiter:~$ which nedit
/usr/bin/nedit
acerpa@jupiter:~$ nedit
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 78 (X_CreateColormap)
Value in failed request: 0x24a
Serial number of failed request: 11
Current serial number in output stream: 13
Problem:
32-bit visual in X make the *Tif library (and Nedit) to crash.
When attempting to copy something to the clipboard using nedit Ctrl+c I get:
Attempt to copy to unlocked clipboard!
Problem:
This is a bug on LessTif that has not been fixed :-(
Workaround:
Compile nedit from source using the libmotif-dev Open Motif libraries, using 2.2.3-1.2ubuntu2. I created a statically compiled binary to prevent any dependency on libmotif (just in case I want to remove the library).
Built on: Linux, x86-64, GNU C
Built at: Sep 20 2006, 21:22:30
With Motif: 2.2.3 [@(#)Motif Version 2.2.3] (UNTESTED)
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C
acerpa@jupiter:~/nedit-5.5/source$ printenv LANG
en_US.UTF-8
acerpa@jupiter:~/nedit-5.5/source$ ./nedit -xrm '*visualID: default'
UTF8 locale not supported.
4) Copy & Paste not working between nedit and firefox:
=================================
Problem: self explanatory
Workaround: just select the text to be copied and use the mouse middle button to paste directly
My final version of nedit:
statically compiled version with the libmotif libraries.
(for tcsh): alias nedit 'unset LANG; nedit -xrm '*visualID: default''
acerpa@jupiter:~/nedit -V
NEdit 5.5
Sep 30, 2004
Built on: Linux, x86-64, GNU C
Built at: Sep 20 2006, 21:22:30
With Motif: 2.2.3 [@(#)Motif Version 2.2.3] (UNTESTED)
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C
Just a follow up on this (and some others) bug(s).
acerpa@jupiter:~$ uname -r 27-amd64- generic
2.6.15-
I am running Ubuntu 6.06 LTS Dapper Drake distribution. It comes with the nedit binary compiled to use the LessTif clone.
NEdit 5.5
Sep 30, 2004
Built on: Linux, x86-64, GNU C
Built at: Oct 8 2005, 20:15:23
With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release 0.93.94] (UNTESTED)
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C
I am also running a box with dual-head system, running the nvidia drivers, render acceleration, xinerama, etc. As a long time nedit user I had to track down this and some other bugs to make my new system work. These are my findings so far:
1) Dual Head Bug:
===========
acerpa@jupiter:~$ which nedit
/usr/bin/nedit
acerpa@jupiter:~$ nedit
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 78 (X_CreateColormap)
Value in failed request: 0x24a
Serial number of failed request: 11
Current serial number in output stream: 13
Problem:
32-bit visual in X make the *Tif library (and Nedit) to crash.
Workaround: ARGB_VISUALS 1; nedit
nedit -xrm '*visualID: default'
OR
(using tcsh)
setenv XLIB_SKIP_
Prevent the system to use the 32-bit visual.
Follow up on the bug can be found here: /sourceforge. net/tracker/ ?func=detail& atid=111005& aid=1030467& group_id= 11005
https:/
2) Locked clipboard bug (this launchpad's bug): ======= ======= =======
=======
When attempting to copy something to the clipboard using nedit Ctrl+c I get:
Attempt to copy to unlocked clipboard!
Problem:
This is a bug on LessTif that has not been fixed :-(
Workaround:
Compile nedit from source using the libmotif-dev Open Motif libraries, using 2.2.3-1.2ubuntu2. I created a statically compiled binary to prevent any dependency on libmotif (just in case I want to remove the library).
acerpa@ jupiter: ~/nedit- 5.5/source$ ./nedit -xrm '*visualID: default' -V
NEdit 5.5
Sep 30, 2004
Built on: Linux, x86-64, GNU C
Built at: Sep 20 2006, 21:22:30
With Motif: 2.2.3 [@(#)Motif Version 2.2.3] (UNTESTED)
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C
acerpa@ jupiter: ~/nedit- 5.5/source$ printenv LANG jupiter: ~/nedit- 5.5/source$ ./nedit -xrm '*visualID: default'
en_US.UTF-8
acerpa@
UTF8 locale not supported.
Follow up on the bug can be found here: /sourceforge. net/tracker/ ?func=detail& atid=111005& aid=1440331& group_id= 11005
https:/
Almost there...
3) Bug in Nedit to support the locale ======= ======= =
=======
Problem: User have a locale define, but Nedit is not taking it. It happens only with the motif libraries (not lessmotif).
Workaround: unset the LANG environmental variable before invoking nedit.
Follow up on the bug can be found here: /sourceforge. net/tracker/ index.php? func=detail& aid=1543796& group_id= 11005&atid= 111005
https:/
4) Copy & Paste not working between nedit and firefox: ======= ======= ======= =====
=======
Problem: self explanatory
Workaround: just select the text to be copied and use the mouse middle button to paste directly
My final version of nedit: jupiter: ~/nedit -V
statically compiled version with the libmotif libraries.
(for tcsh): alias nedit 'unset LANG; nedit -xrm '*visualID: default''
acerpa@
NEdit 5.5
Sep 30, 2004
Built on: Linux, x86-64, GNU C
Built at: Sep 20 2006, 21:22:30
With Motif: 2.2.3 [@(#)Motif Version 2.2.3] (UNTESTED)
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C
Hope this helps.