X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Eric Lilja" Subject: Re: cygwin emacs characters Date: Mon, 19 Jun 2006 18:43:31 +0200 Lines: 24 Message-ID: References: <4938774 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Igor Peshansky wrote: [snip] >> >> PS1 is usually set in .bashrc or .bash_profile, or /etc/profile (or >> inherited from the environment). It may be simplest to just add a >> line at the end of your .bashrc saying "if [ $TERM = emacs ]; PS1='$ >> '; fi". > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Make that "if [ $TERM = emacs ]; then PS1='$ '; fi". I can only claim > severe coffee deprivation. > Igor In my .bashrc I have if [ "$EMACS" == "t" ] then PS1='\n\[\033[32m\]\u@\h \[\033[33m\w\033[0m\]\n$ ' fi Here's a screenshot of my Emacs shell (windows native Emacs, cvs version): student.stunet.se/mindcooler/emacs_shell.png / E -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/