command prompt trouble

Jeff Harris jharris at rallycentral.us
Sun Apr 25 21:33:47 PDT 2004


On Apr 24, 2004, "blfs-support-bounces at linuxfromscratch.org" claimed that:

|The command prompt code in  my /etc/profile is:
|PS1="[\[\e[31;40m\]\u\[\e[34;40m\] @ \[\e[35;40m\]\w\[\e[0m\]]\$"
extra character here                  ^

(If you're not using a monospaced font, compare above's " @ \[" to below's
" @ ["

Change the line in /etc/profile to remove the extra "\"

Jeff

-- 
Registered Linux user #304026.   |  52FC 20BD 025A 8C13 5FC6
gpg key: B0890FED                |  68C6 9CF9 46C2 B089 0FED
Responses to this message should conform to RFC 1855.
[http://www.faqs.org/rfcs/rfc1855.html]
========================================================================
A: Because it messes up the conversation.
Q: Why is top posting bad?
A: Top posting.
Q: What's the most annoying thing on mailing lists?

echo '*(!22)3 at 2!,,9#%.42!,-53' | tr [!-:] [a-z] | tr m .



More information about the blfs-support mailing list