From: Tim X <timx@nospam.dev.null>
Subject: Re: chdir output incorrect for prompt
Date: Wed, 26 Apr 2006 08:11:41 +1000 [thread overview]
Message-ID: <874q0h1f1e.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: e2lbmd$m3r$1@foggy.unx.sas.com
"Jim" <James.Poli@sas.com> writes:
> Hello,
>
> I have export PS1='($PWD)> ' for my prompt on linux and it works fine in
> my shell displaying
> the path after a 'cd' command. However in emacs after a 'cd' command the
> output has junk
> in the path: ^[]1:Test^G^[]2;Test ???@cc99^G^[]3:/r/...
>
> Thanks in advance for any advice,
> Jim
>
>
I suspect you are using ANSI escape characters to set the colour of
your prompt. Look for the ansi-color with apropos and you will find
some emacs modes for providing ansi color support within
terminal/shell modes.
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2006-04-25 22:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 14:28 chdir output incorrect for prompt Jim
2006-04-25 16:01 ` Peter Dyballa
2006-04-25 22:11 ` Tim X [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-04-25 16:58 James Poli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874q0h1f1e.fsf@tiger.rapttech.com.au \
--to=timx@nospam.dev.null \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.