[REBOL] Re: History keys not working with GNU Screen
From: tim-johnsons:web at: 17-Feb-2010 15:07
* David den Haring <ddharing-atronixengineering.com> [100216 11:23]:
> I recently had that problem with xterm on CentOS. I changed my terminal
> type in the shell like so:
>
> export TERM=vt100
>
> Now start REBOL. History should work.
>
> I don't use Linux much right now, so if there is a better solution, I'd
> love to hear about it.
I do most of my programming work in linux with vim, however I have
a little script that launches emacs with the primary interpreted programming
languages that I use:
The script looks like this:
!#/bin/bash
cd /home/tim/prj/cgi/test
emacs newlisp/testfile.lsp rebol/testfile.r python/testfile.py
So I have emacs started with a scratch file for each programming
language and I have written emacs modes for both newlisp and rebol
and of course, there is the stock emacs python mode.
And from that setup, I can do snippet testing with the interpreter
running asynchronously.
I've never been happy with the way the rebol binary command line
works out of the box in linux, this way I can take advantage of the
emacs cursor movement and the other features that comes with the
parent 'comint mode'. It doesn't look like readline is implemented
by rebol on linux.
If anybody is interested, I can make my rebol mode available. It
will be probably take a few tries to sort out the dependencies, I
don't use emacs that much any more .... just for snippet testing.
HTH
tim
> Regards,
>
> David den Haring.
>
> On 2/14/2010 4:52 PM, Peter Carlsson wrote:
> > Hello!
> >
> > I use REBOL (2.7.6) with GNU Screen under Debian.
> >
> > I am then unable to use the history keys (Arrow Up/Down).
> >
> > Does anyone know a simple solution to this?
> >
> > Best regards,
> > Peter Carlsson
> >
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
Tim
tim-johnsons-web.com
http://www.akwebsoft.com