Smile in the terminal prompt



Hi,
my terminal (bash) prompt is:

PS1='\e[0;31m\]\e[7m[\h - \u] [\w]\e[m\]\e[27m\n[\!]$ '

After upgrading to freebsd 6.1, the prompt looks different:
- it shows two smiles at both end of the first line and the red
background is white.

Does that happens to you too if you set the prompt above?
I know that the prompt is wrong (it lacks the start invisible chars \[;
a better version could be PS1='\[\e[1;37m\]\[\e[41m\][\h - \u]
[\w]\[\e[0m\]\n[\!]$ '),
but WHY before the upgrade it looked right and now it shows these smiles?

At first, I worried that some hackers have made me a joke... (I hope not!)

bye
Salvatore



_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: [SLE] Kdesktop Locker Signal 11 (SIGSEGV) LDAP
    ... That did not fix the problem either. ... KDM was bumped up to allow password ... KDM 3.2.1 would prompt the ... I think that would be preferable to upgrading from unsupported packages ...
    (SuSE)
  • Re: Smile in the terminal prompt
    ... After upgrading to freebsd 6.1, the prompt looks different: ... of the special character instead of printing the character's function. ... but WHY before the upgrade it looked right and now it shows these smiles? ...
    (freebsd-questions)
  • Re: Outlook Service Pack 3
    ... > After upgrading to Ser Pack 3 I continually receive a ... > prompt when sending an email. ... > The message reads ...A program is trying to access email ...
    (microsoft.public.outlook)
  • CMAK 1.3 silent install
    ... systems the silent install fails because the user is ... prompted to confirm upgrading to Connection Manager 1.3. ... Does anyone know any way to force a yes and not prompt ...
    (microsoft.public.win2000.ras_routing)
  • login troubles (password prompt is slow to appear)
    ... I'm new to FreeBSD and am trying to work on a remote server. ... Connecting via SSH displays the login prompt immediately, ... What's odd is that a fresh install of 4.9 is doing the same ...
    (freebsd-questions)