gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: [Maxima] Maxima GUIs/emacs troubles!


From: Camm Maguire
Subject: [Gcl-devel] Re: [Maxima] Maxima GUIs/emacs troubles!
Date: 15 Feb 2002 10:43:54 -0500

Greetings!

OK, I take it by your response that 

1) You have correctly built gcl-2.5.0 from cvs with readline support,
   and that 'ldd unixport/saved_gcl' shows the readline library linked
   in. 
2) When executing the script front-end to saved_gcl from an xterm,
   i.e. the 'gcl' script, you see ^OD] with back-arrow, backspace
   works, and that tab, Alt-b, etc., report similar ascii
   representations of control characters to the screen.
3) Terminal is as described below, which is the same setup I have
   here, and should work fine.
4) For completeness sake, you don't have some old gcl script in your
   path, and the script you are executing is:

        #!/bin/sh
        exec /usr/lib/gcl-2.5.0/unixport/saved_gcl \
           -dir /usr/lib/gcl-2.5.0/unixport/ \
           -libdir /usr/lib/gcl-2.5.0/ \
           -eval '(setq si::*allow-gzipped-file* t)' \
           -eval '(setq si::*tk-library* "/usr/lib/tk8.2")' \
           -eval '(si::init-readline)' \
             "$@"
        # other options: -load /tmp/foo.o -load jo.lsp -eval "(joe 3)"

Questions:

1) Can anyone else on this list confirm this behavior on a Redhat box?
2) Can anyone else report a correctly working setup on Redhat or any
   other Linux system?

In other words, I cannot reproduce your behavior at all, and I need to
at least here from someone else who can before concluding that it is a
gcl problem as opposed to a local setup problem.


Thanks for your patience, and report!


Daniel Lemire <address@hidden> writes:

> Good day,
> 
> What do you mean by "still"? By upgrading gcl, the only thing I bought 
> was the backspace key. All other control keys do not work. It is 
> somewhat nicer than what I had before, but it is still very limited.
> 
> Since I have more than one RedHat 7.1 machine, I can assume that it will 
> be the result for just about everyone using RedHat.
> 
> 
> Camm Maguire wrote:
> 
> >Greetings!  Do you still see this behavior when running gcl in
> >stand-alone mode?  Do you have tab completion in this case?
> >
> >Take care,
> >
> >
> >Daniel Lemire <address@hidden> writes:
> >
> >>Actually, I have several RedHat Linux 7.1 machines. The same thing 
> >>happens on all these machines. Right now, at the office, here's what I 
> >>get...
> >>
> >>address@hidden lemire]$ set
> >>BASH=/bin/bash
> >>BASH_ENV=/home/lemire/.bashrc
> >>BASH_VERSINFO=([0]="2" [1]="04" [2]="21" [3]="1" [4]="release" 
> >>[5]="i386-redhat-linux-gnu")
> >>BASH_VERSION='2.04.21(1)-release'
> >>COLORS=/etc/DIR_COLORS
> >>COLORTERM=
> >>COLUMNS=125
> >>DIRSTACK=()
> >>DISPLAY=:0.0
> >>EUID=500
> >>GROUPS=()
> >>GTK_RC_FILES=/etc/gtk/gtkrc:/home/lemire/.gtkrc:/home/lemire/.gtkrc-kde
> >>HISTFILE=/home/lemire/.bash_history
> >>HISTFILESIZE=1000
> >>HISTSIZE=1000
> >>HOME=/home/lemire
> >>HOSTNAME=lagrange
> >>HOSTTYPE=i386
> >>IFS='
> >>'
> >>INPUTRC=/etc/inputrc
> >>KDEDIR=/usr
> >>KDE_MULTIHEAD=false
> >>LAMHELPFILE=/etc/lam/lam-helpfile
> >>address@hidden
> >>LESSOPEN='|/usr/bin/lesspipe.sh %s'
> >>LINES=35
> >>LOGNAME=lemire
> >>LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:'
> >>MACHTYPE=i386-redhat-linux-gnu
> >>MAIL=/var/spool/mail/lemire
> >>MAILCHECK=60
> >>OPTERR=1
> >>OPTIND=1
> >>OSTYPE=linux-gnu
> >>PATH=/usr/local/bin:/opt/IBMJava2-13/bin:/opt/IBMJava2-13/bin:/opt/IBMJava2-13/bin:/opt/IBMJava2-13/bin:/opt/IBMJava2-13/bin:/usr/kerberos/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/home/lemire/bin
> >>PIPESTATUS=([0]="0")
> >>PPID=4243
> >>PROMPT_COMMAND='echo -ne "\033]0;address@hidden: ${PWD}\007"'
> >>PS1='address@hidden \W]\$ '
> >>PS2='> '
> >>PS4='+ '
> >>PVM_ROOT=/usr/share/pvm3
> >>PVM_RSH=/usr/bin/rsh
> >>PWD=/home/lemire
> >>QTDIR=/usr/lib/qt-2.3.1
> >>QT_XFT=0
> >>SESSION_MANAGER=local/lagrange:/tmp/.ICE-unix/960
> >>SHELL=/bin/bash
> >>SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
> >>SHLVL=2
> >>SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
> >>TERM=xterm
> >>UID=500
> >>USER=lemire
> >>address@hidden
> >>XPVM_ROOT=/usr/share/pvm3/xpvm
> >>_=/etc/bashrc
> >>i=/etc/profile.d/xpvm.sh
> >>langfile=/home/lemire/.i18n
> >>sourced=1
> >>mc=()
> >>{
> >>    mkdir -p ~/.mc/tmp 2>/dev/null;
> >>    chmod 700 ~/.mc/tmp;
> >>    MC=~/.mc/tmp/mc-$$;
> >>    /usr/bin/mc -P "$@" >"$MC";
> >>    cd "`cat $MC`";
> >>    /bin/rm "$MC";
> >>    unset MC
> >>}
> >>address@hidden lemire]$ echo $TERM
> >>xterm
> >>address@hidden lemire]$ uname -a
> >>Linux lagrange 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
> >>address@hidden lemire]$ echo $0
> >>/bin/bash
> >>address@hidden lemire]$ tty
> >>/dev/pts/20
> >>address@hidden lemire]$ stty
> >>speed 38400 baud; line = 0;
> >>-brkint -imaxbel
> >>address@hidden lemire]$
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>Camm Maguire wrote:
> >>
> >>>Greetings!
> >>>
> >>>Daniel Lemire <address@hidden> writes:
> >>>
> >>>>Good day,
> >>>>
> >>>>Oh! Yes, I have a working terminal. For sure. I do all my work in 
> >>>>consoles and text editors. I would go mad without a decent console!!!
> >>>>
> >>>>Here's what happens when I use the back arrow (^[OD appears). Please 
> >>>>note that "backspace" works. Back arrow is when you want to go back 
> >>>>inside the command and edit it.
> >>>>
> >>>OK, this ^[OD is the back arrow key code, at least here, which is
> >>>obviously not being interpreted correctly by your terminal.  Please
> >>>post the result of the following:
> >>>
> >>>set
> >>>echo $TERM
> >>>uname -a
> >>>echo $0
> >>>tty
> >>>stty
> >>>
> >>>
> >>>What system is this?
> >>>
> >>>Take care,
> >>>
> >>>>address@hidden lemire]$ maxima
> >>>>GCL (GNU Common Lisp)  Version(2.5.0) jeu jan 31 23:03:22 EST 2002
> >>>>Licensed under GNU Library General Public License
> >>>>Contains Enhancements by W. Schelter
> >>>>Maxima 5.6 jeu jan 31 23:03:13 EST 2002 (with enhancements by W. 
> >>>>Schelter).
> >>>>Licensed under the GNU Public License (see file COPYING)
> >>>>(C1) fdsfds^[OD^[OD^[OD^[OD
> >>>>
> >>>>
> >>>>I should point out that I'm using RedHat. I built gcl myself and 
> >>>>frankly, I just did the obvious (./configure, make, make install). I 
> >>>>didn't check my installation. I don't know anything about lisp.
> >>>>
> >>>>Thanks!
> >>>>
> >>>>Camm Maguire wrote:
> >>>>
> >>>>>Greetings!  On my gcl 2.5.0 build, tab completion, backspace, Emacs
> >>>>>keys (i.e. Alt-b to back over a word), and the back arrow all work.
> >>>>>Are you sure you have a working terminal?  Does bash show the expected
> >>>>>behavior?  What about gcl directly from the command prompt?
> >>>>>
> >>>>
> >>>>-- 
> >>>>Daniel Lemire, Ph.D.
> >>>>
> >>>>http://www.ondelette.com/
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >>
> >>
> >
> 
> 
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]