Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gnuplot with readline :-(
@ 1996-09-11  8:41 Harald Koenig
  0 siblings, 0 replies; only message in thread
From: Harald Koenig @ 1996-09-11  8:41 UTC (permalink / raw)


I've used gnuplot for the first time on AXP (RH elf binary) 
and realized that it still uses this crippled old version of readline
which is included in the gnuplot sources which doesn't allow 
cut/paste and lots of other edit functions.

please forget about that readline version and link against libreadline
e.g. using the following patch

--- gnuplot/makefile~	Wed Sep 11 09:57:57 1996
+++ gnuplot/makefile	Wed Sep 11 10:33:52 1996
@@ -170,16 +170,17 @@
 #  -lccgi if -DCGI in TERMFLAGS
 #  -lmgr -lpixrect if -DMGR in TERMFLAGS. (conflicts with SunView)
 LIBS = -lm # -lplot is no longer shipped on SUNs
 
 ####################################################################
 # List of object files except version.o
 OBJS = bitmap.o command.o contour.o eval.o graphics.o graph3d.o help.o \
-       internal.o misc.o parse.o plot.o readline.o scanner.o \
-       setshow.o specfun.o standard.o term.o util.o gnubin.o binary.o
+       internal.o misc.o parse.o plot.o scanner.o \
+       setshow.o specfun.o standard.o term.o util.o gnubin.o binary.o $(READLINE)
+READLINE = readline.o 
 
 NEXTOBJS = epsviewe.o
 ############################################################
 # Machine-dependent settings.
 #
 X11_FLAGS = \
            CFLAGS="$(COPTS) $(OPTIONS)" \
@@ -411,15 +412,15 @@
 LINUX_FLAGS = \
 		   CFLAGS="$(COPTS) $(OPTIONS) $(RPM_OPT_FLAGS) -DGAMMA=lgamma" \
 		   LIBS="-L/usr/X11R6/lib -lX11 $(LIBS)" \
            X11FLAGS="$(X11FLAGS)" X11INCLUDES="-I/usr/X11R6/include $(X11INCLUDES)" \
            X11LIBS="$(X11LIBS)" \
            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
            X11INSTALL="$(X11INSTALL)" \
-           TERMFLAGS="$(TERMFLAGS)"
+           TERMFLAGS="$(TERMFLAGS)" READLINE="-lreadline -lncurses"
 
 ####################################################################
 # List of source files
 # Used for making shar files, lint, and some dependencies.
 DIRS = term demo docs docs/latextut
 
 CSOURCE1 = bf_test.c binary.c command.c setshow.c

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-11  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-11  8:41 gnuplot with readline :-( Harald Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox