bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: term.el (term-emulate-terminal)


From: Harry Kuiper
Subject: Re: term.el (term-emulate-terminal)
Date: 13 Apr 2002 23:54:05 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Harry Kuiper <hkuiper@xs4all.nl> writes:

<snip>
> 
> I noticed one strange thing.  The shell prompt is printed twice when I
<snip>

Sorry I made a mistake.  Not the shell prompt but the current
directory is printed when I press enter.  After an elisp crash course
(long live info-mode) I understand that this should go to
term-command-hook for gud support or directory tracking instead of
onto the screen.  So if I understand correctly the \032 is an
escape-code that is followed by a string that should be sent to
term-command-hook.  And this did not work correctly when a ^Z was
present.  Shouldn't the regexp match zero or more ^Z's followed by a
newline instead of at least one ^Z?

NB: I have the bash prompt set to display the current directory hence
the confusion.

-- 
Harry Kuiper                 hkuiper@xs4all.nl
Haarlem, The Netherlands



reply via email to

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