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 Message-ID: <31DDB7BE4BF41D4888D41709C476B657569199@NIHCESMLBX5.nih.gov> From: "Buchbinder, Barry (NIH/NIAID)" To: "'Robert Bram'" , cygwin AT cygwin DOT com Subject: RE: Customising prompt Date: Sun, 16 Oct 2005 23:38:53 -0400 MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes See the explanation here: http://www.cygwin.com/ml/cygwin/2004-04/msg01198.html -----Original Message----- From: Robert Bram [mailto:Robert DOT Bram AT colesmyer DOT com DOT au] Sent: Sunday, October 16, 2005 11:25 PM To: cygwin AT cygwin DOT com Subject: Customising prompt Hi All! I want my prompt like this: bash2.05b User rbram on host cml035835 in dir /cygdrive/c/ Mon Oct 17 12:52:59> Here is my attempt so far: PS1="\n\s\v \[\e[31m\]User \[\e[34m\]\u \[\e[31m\]on host \[\e[34m\]\h\[\e[31m\] in dir \[\e[34m\]\w\n\d \t> \e[30;47m " The issue is this: the I am getting black text on grey background - why is this? I thought "\e[30;47m " means black text on white background. That is what I understood from this page: http://www.pantz.org/scripting/shell/colorterm.shtml Kind regards, Rob :) ------- Robert Mark Bram Portal Analyst Programmer eTechnology, Coles Myer Limited robert DOT bram AT colesmyer DOT com DOT au +61 3 9635 1036 -- 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/