[Bug 1027] Re: Keyboard input not accepted after copying selection with Control-C

Alberto Cerpa acerpa+ubuntu at gmail.com
Thu Sep 21 06:06:20 UTC 2006


Just a follow up on this (and some others) bug(s).

acerpa at jupiter:~$ uname -r
2.6.15-27-amd64-generic

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 at jupiter:~$ which nedit
/usr/bin/nedit
acerpa at 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:
nedit -xrm '*visualID: default'
OR
(using tcsh)
setenv XLIB_SKIP_ARGB_VISUALS 1; nedit

Prevent the system to use the 32-bit visual.

Follow up on the bug can be found here:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1030467&group_id=11005


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 at 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 at jupiter:~/nedit-5.5/source$ printenv LANG
en_US.UTF-8
acerpa at jupiter:~/nedit-5.5/source$ ./nedit -xrm '*visualID: default'
UTF8 locale not supported.

Follow up on the bug can be found here:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1440331&group_id=11005

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:
https://sourceforge.net/tracker/index.php?func=detail&aid=1543796&group_id=11005&atid=111005

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 at 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

Hope this helps.

-- 
Keyboard input not accepted after copying selection with Control-C
https://launchpad.net/bugs/1027




More information about the universe-bugs mailing list