problems with new system and installation - .bashrc

fncgroup_at_web.de
Date: 04/30/05

  • Next message: Alan Chandler: "Regex expert needed"
    Date: Sat, 30 Apr 2005 22:25:22 +0200
    To: debian-user@lists.debian.org
    
    

    Hi I've a very important question for the smart among you. :-)
    Just kidding, everybody can aswer it... of course. OK here we go: I’ve installed some new systems and I can
    change the prompt as I want, but if I write any kind of script, and
    change the prompt within the script, it doesn't change the
    prompt.

    change the prompt as I want, but if I write any kind of script, and change
    the prompt within the script, it doesn't change the prompt. This is even
    with a short 1 line script that does nothing but change the prompt.

    Here's the prompt I'm trying to use (which includes escape characters, which
    seem to be causing the problem -- bash seems to see them as commands):

    PS1="\e[35;40m[\u@\h:\W]\\$\e[0m "

    I know my old .bashrc changed the prompt (only PS1), but I don't remember
    doing anything other than PS1="{my prompt}" to get it to do that.

    So how can I export a prompt I create in a script (like .bashrc) to use
    outside the script (in normal command line)?
    Thanks for any help.

    Francisco

    ##################
    Reminder: My email is not francis_cdasilva@yahoo.com.br anymore. Just reply to the email above. Thanks -#§ß7733224-030 Francisco Cesar da Silva, Berlin, Germany

    _______________________________________________________________
    Fruhlings-Aktion: Gratis DSL-Modems zur freien Auswahl
    Nur bis 30. April bei WEB.DE DSL! https://dsl.web.de/?mc=021193


  • Next message: Alan Chandler: "Regex expert needed"

    Relevant Pages

    • behavioral change of "read" builtin for sh on 8-CURRENT
      ... This script waits for terminal input for each of the above variables (INT, ... On 8-CURRENT if I hit Enter with no input at the prompt the system seems to ... recognize the newline as input and continues to sit there until I hit Enter ... Enter network interface: ...
      (freebsd-current)
    • behavioral change of "read" builtin for sh on 8-CURRENT
      ... This script waits for terminal input for each of the above variables (INT, ... On 8-CURRENT if I hit Enter with no input at the prompt the system seems to ... recognize the newline as input and continues to sit there until I hit Enter ... Enter network interface: ...
      (freebsd-questions)
    • Re: behavioral change of "read" builtin for sh on 8-CURRENT
      ... This script waits for terminal input for each of the above variables (INT, ... On 8-CURRENT if I hit Enter with no input at the prompt the system seems to ... recognize the newline as input and continues to sit there until I hit Enter ... Enter network interface: ...
      (freebsd-current)
    • Re: behavioral change of "read" builtin for sh on 8-CURRENT
      ... This script waits for terminal input for each of the above variables (INT, ... On 8-CURRENT if I hit Enter with no input at the prompt the system seems to ... recognize the newline as input and continues to sit there until I hit Enter ... Enter network interface: ...
      (freebsd-questions)
    • RE: Internet explorer will not update
      ... Connections>> Double click Internet Options, ... Automatic prompting for ActiveX controls ... Prompt ... Initialize and script ActiveX controls not marked as Safe ...
      (microsoft.public.windowsxp.general)