[CM] [Snd] Weird inf-snd-comint-line-end behavior...

Michael Scholz scholz-micha@gmx.de
Fri, 16 Mar 2007 17:20:47 +0100


> Debugger entered--entering a function:
> * processp(#<process Snd-Forth>)
> * comint-send-string(#<process Snd-Forth>
>                      #("7 1 +\n\n" 0 5 (fontified t) 5 7 nil))
> * inf-snd-comint-snd-send(#<process Snd-Forth>
>                           #("7 1 +" 0 5 (fontified t)))
>   comint-send-input()
>   call-interactively(comint-send-input)
>
> I don't know enough about any of this, but shouldn't comint-send-string
> have arguments like:
>
> #<process Snd-Forth> #("\n\n" 0 2 (fontified t))

No, the "\n\n" will be added to your input string "7 1 +" and that
goes to comint-send-string.  The double cr exist to force a prompt.
If that doesn't work, use the normal single cr.  If you found a
solution for your installation to force a prompt, let me know!

Mike