[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *shell*: messed with PS1 and echo rm became rm
From: |
Dan Jacobson |
Subject: |
Re: *shell*: messed with PS1 and echo rm became rm |
Date: |
10 Jul 2002 13:57:56 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "Dan" == Dan Jacobson <jidanni@dman.ddts.net> writes:
Dan> Since you are interested in wasting your energies in debugging obscure
Dan> corners of emacs, here in *shell* i did:
Dan> 07:06 ~# cd /etc/init.d/
Dan> 07:09 init.d# ./fetchmail
Dan> Usage: /etc/init.d/fetchmail
{start|stop|restart|force-reload|awaken|debug-run}
Dan> 07:09 1 init.d# ./fetchmail debug-run
Dan> bash: debug-run: command not found *******
Dan> 07:10 127 init.d# $PWD/fetchmail debug-run
Dan> /etc/init.d/fetchmail: Initiating debug run of system-wide fetchmail
service...
Miles> Why do you think this has anything to do with emacs?
well, what else could have eaten the word "./fetchmail" from my
command line. I did this again today and the problem didn't occur.
The culprit must be an intermittent problem in *shell* buffers as to
how much is prompt and how much the user typed.
I can't reproduce it, but user beware: use fancier prompts and
sometimes less [or more] of what you typed might get sent to the
shell.
Miles> Why do you think this has anything to do with emacs?
Got any better ideas? No better ideas then Miles becomes Feet in my
mind :-)
--
http://jidanni.org/ Taiwan(04)25854780