Quoting "Pierre R. Mai" <[EMAIL PROTECTED]>:

> 
> 
> Am Montag, 27.01.03 um 22:27 Uhr schrieb Wayne O. Cochran:
> 
> > Alright, what's the *&#%$! way to delete
> > the last character at the top-level prompt?
> > <backspace> emits ^H, <delete> does nothing.
> >
> > erase key is set:
> >
> > $ stty
> > speed 38400 baud; line = 0;
> > erase = ^H;
> > -brkint -imaxbel
> >
> > I am using Linux.
> 
> This should work, and it does for me, at least using an OS X 
> terminal.app to log into one of my Linux boxen. <snip>

Actually, when I use xterm on a linux box all is well.
The problem is when I used the "OS X terminal.app" and I
am ssh'ed into a Linux box.

> Also, this isn't  
> really a CMUCL-specific problem, as CMUCL just uses normal I/O, and  
> doesn't meddle with tty settings. �I.e. anything that works for you  
> with e.g. cat, should also work for CMUCL... 

So I see, backspace just echoes ^?

$ cat > crap
asdf^?^?^?^?
^d  
$ stty
speed 38400 baud; line = 0;
erase = ^H;
-brkint -imaxbel

hmmm.... obviously a deeper issue...

> A way to side-step the line-editing problems would be to use  
> Emacs/XEmacs in combination with ILISP to interact with your CMUCL  
> process

Actually I just use the 'run-lisp' command inside of emacs and
that fires off the cmulisp just fine. I'll check out the ILISP
thing...

much grass, --w

Wayne O. Cochran
Assistant Professor of Computer Science
Washington State University Vancouver
[EMAIL PROTECTED]

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Reply via email to