Opened 14 years ago

Closed 13 years ago

#24920 closed defect (fixed)

clisp: readline support missing

Reported by: perhje@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: easye, ryandesign (Ryan Carsten Schmidt)
Port: clisp

Description

The Macports version of CLISP does not support readline. Makes interactive usage somewhat painful.

Change History (9)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to waqar@…
Port: clisp added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Summary: CLISP - Macports does not compile with readline supportclisp: readline support missing

It should work. When I run "clisp" I am able to press the up and down arrows to access the command history; AFAIK that is readline at work. How did you determine that readline support does not work?

comment:3 Changed 14 years ago by perhje@…

That's odd, when I press the up arrow, I just get "^[[A" which I take to mean that it does, in fact, not have readline. Which version are you using?

clisp --version shows

GNU CLISP 2.48 (2009-07-28) (built 3482927641) (memory 3482928229)
Software: GNU C 4.2.1 (Apple Inc. build 5646) (dot 1) 
/usr/bin/gcc-4.2 -arch i386 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -I.  -lncurses    -L/usr/X11/lib -R/usr/X11/lib
SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
Features: 
(REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL
 INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE
 BASE-CHAR=CHARACTER UNIX MACOS)
C Modules: (clisp i18n syscalls regexp)
Installation directory: /opt/local/lib/clisp-2.48/
User language: ENGLISH
Machine: I386 (I386) macbook.local [10.211.55.2]

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Please "sudo port selfupdate" to update MacPorts and your port definitions, then "sudo port upgrade clisp". I believe r69484 which I committed today may fix this. (I believe your readline is not installed universal.)

comment:5 Changed 14 years ago by perhje@…

Unfortunately, the problem persists.

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Is your readline installed universal?

comment:7 Changed 13 years ago by jmroot (Joshua Root)

Cc: easieste@… added

Is this still a problem with version 2.49?

comment:8 Changed 13 years ago by perhje@…

Works for me now.

comment:9 Changed 13 years ago by easye

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.