Re: On bash prompt

2008-08-13 Thread Angelo Graziosi
Larry Hall wrote: Another technique (again requiring manual intervention) that seems to work for me with Thunderbird is the "Rewrap" function under "Edit". I didn't know it. Thanks. This wrapping behaviour looks like a weak point of Thunderbird. A manual intervention with 'Rewrap' should be b

Re: On bash prompt

2008-08-13 Thread Brian Dessent
Angelo Graziosi wrote: > So, just a curiosity, why the extra 'code' (1), above? What the true > difference between > > PS1='\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' > > and > > PS1='[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' The ESC]0; sequence sets the window title. Brian --

On bash prompt

2008-08-13 Thread Angelo Graziosi
In /etc/profile, PS1 for bash is defined as PS1='\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' Indeed I have $ echo $PS1 \[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ^(1)^ Now this causes some problems with 'M-x shell' in Emacs: the prompt has many garbage characters, li