Newline handling after commands

Hannu Koivisto <[email protected]>
Newsgroups gmane.lisp.ilisp.devel
Message-ID <[email protected]>
Greetings,

If I run CMUCL on tty:

* (break)

Break

Restarts:
 ...blahblah ...
0] :q

* 

If I run CMUCL under ILISP:

* (break)

Break

Restarts:
 ...blahblah ...
0] <hit C-d, i.e. delete-char-or-pop-ilisp, here>
* 

Note the missing empty line after the last prompt in the ILISP
case.  It is actually missing even if I write :q just as I did on
tty (I can't understand this).

Now, all is actually fine in CMUCL's case but ECL does not output
such empty line to begin with which results to the following
situation:

The situation before C-d:

> (break)
>> <hit C-d here>

After C-d:

> (break)
>> > <cursor is here>

which is bad (C-a does not work properly etc.)

Can this newline eating behaviour of ILISP be controlled somehow?
I think I've seen this in some other situations as well.

In case no one knows what is going on, I can temporarily get around
the problem in ECL's C-d case by setting comint-fix-error to
":pop\n(progn (terpri) (values))" or something like that and post a
patch that fixes the ECL dialect definition so that it works at
least somehow (the current definition does not work).

Would such a patch have chances to get into 5.12 or have you
already frozen the release?

-- 
Hannu
Please don't send copies of list mail

_______________________________________________
Ilisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ilisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.