jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: no cut and paste between xjed and kde-apps


Joachim Schmitz <js@xxxxxxxxxxxxx> [2003-09-17 01:03]:

I am writing this mail with mozilla-mailclient and it is not possible to copy from an xjed-window. The otherway around works. I know that this has been discussed before on this list, but I don't think there was a solution.


From: "John E. Davis" <davis@xxxxxxxxxxxxx>
Mailing-List: list jed-users@xxxxxxxxxxx; contact jed-users-owner@xxxxxxxxxxx
Date: Sat, 20 May 2000 19:22:26 -0400
Subject: Re: [jed-users] FTP support, Linux copy-paste, feature list?

It turns out that the problem is that konsole apparantly does not support a `COMPOUND_TEXT' selection object that Xjed requests. That is, upon pasting, Xjed sends a message to to the server requesting that the selection owner, e.g., `konsole' convert the selection to `COMPOUND_TEXT'. It appears that konsole does not know how to do this and as a result, Xjed gets told that there is nothing to paste.

I will make it a compile-time option whether or not to support
`COMPOUND_TEXT' in Xjed.

I've tried to utilize this. There is a:

#define XJED_USE_COMPOUND_TEXT  0

in jed-0.99-16/src/xterm.c

I set it to 1, installed slang-1.4.9 from source using the defaults, then tried to install jed-0.99-16.
It fails with the message:
...
syntax:/usr/local/src/slang-1.4.9 # make install-links
cd src; make install-links
make[1]: Entering directory `/usr/local/src/slang-1.4.9/src'
rm -f /usr/local/lib/libslang.so
rm -f /usr/local/lib/libslang.so.1
cd /usr/local/lib; /bin/ln -sf libslang.so.1.4.9 libslang.so.1
cd /usr/local/lib; /bin/ln -sf libslang.so.1 libslang.so

A link libslang.so.1 to libslang.so.1.4.9 was created.
A link libslang.so to libslang.so.1 was created.

make[1]: Leaving directory `/usr/local/src/slang-1.4.9/src'

syntax:/usr/local/src/slang-1.4.9 # ldconfig

syntax:/usr/local/src/jed-0.99-16 # ./configure --prefix=/usr/local/jed
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
  .
  .
  .
looking for the SLANG library
Looking for slang.h in /usr/local/src/slang/libsrc
and libslang.a in /usr/local/src/slang/libsrc/objs
Looking for slang.h in /usr/local/src/slang/libsrc
and libslang.a in /usr/local/src/slang/libsrc/objs
Looking for slang.h in /usr/local/src/slang/src
and libslang.a in /usr/local/src/slang/src/objs
Looking for slang.h in /usr/local/src/slang/src
and libslang.a in /usr/local/src/slang/src/objs
Looking for slang.h in /root/include
and libslang.a in /root/lib
Looking for slang.h in ${prefix}/include
and libslang.a in ${exec_prefix}/lib
Looking for slang.h in /usr/local/include
and libslang.a in /usr/local/lib
Found it.
creating ./config.status
creating Makefile
creating src/Makefile
creating src/sysconf.h
src/sysconf.h is unchanged

You need to edit src/Makefile if the following are not correct:
 CC = gcc
 CFLAGS = -g -O2 -fno-strength-reduce
 JED_ROOT = /usr/local/jed/jed

Also edit src/Makefile to enable:
 GPM Mouse support (Linux)
You may also want to edit src/jed-feat.h to enable or disable some features.

Before typing 'make', type 'make clean' first.

syntax:/usr/local/src/jed-0.99-16 # make clean
/bin/rm -f *~
cd src; make clean
make[1]: Entering directory `/usr/local/src/jed-0.99-16/src'
/bin/rm -f /usr/local/src/jed-0.99-16/src/objs/* *~ \#*
make[1]: Leaving directory `/usr/local/src/jed-0.99-16/src'
syntax:/usr/local/src/jed-0.99-16 # make
cd src; make jed
make[1]: Entering directory `/usr/local/src/jed-0.99-16/src'
gcc -g -O2 -fno-strength-reduce   -I/usr/X11R6/include -Dunix -DJED  -I/usr/local/include  /usr/local/src/jed-0.99-16/src/chkslang.c -o /usr/local/src/jed-0.99-16/src/objs/chkslang  -L/usr/local/lib -lslang    -lutil  -lm
if /usr/local/src/jed-0.99-16/src/objs/chkslang jed 10311 ;\
then exit 0; else rm -f /usr/local/src/jed-0.99-16/src/objs/chkslang; exit 1; fi


******
slang.h does not match slang library version.  Did you install slang as
as a shared library?  Did you run ldconfig?  You have an installation problem
and you will need to check the SLANG variables in the Makefile and properly
set them.  Also try: make clean; make
******

make[1]: *** [slangversion] Error 1
make[1]: Leaving directory `/usr/local/src/jed-0.99-16/src'
make: *** [jed] Error 2


I've run into the same failure several times before and gave up. The only reason I'm able run Jed is because it's on the SuSE 8.2 rpm distribution. Once, I did successfully compile an earlier version from source, but it was only after hours of tracking down the problem with the default install and I have long since forgotten what the magic incantation was. The error message was useless for me (I can't find any SLANG variables in any of the Makefiles (which one should I be looking at?)

Perhaps if someone can point out what magic has to be done to make Jed compile, all of us can have a version of XJed that we can paste from.

frustrated,

-rex

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]