Results 1 to 2 of 2

Thread: No uppercase P in bash

  1. #1
    Join Date
    Oct 2008
    Location
    Stuttgart, Germany
    Posts
    55

    Default No uppercase P in bash

    Hi,

    I changed my prompt with
    PS1="${_t}${_u}: \$(spwd)${_p}>"
    in .bashrc. Now I cannot enter an uppercase P.
    I can't even copy it with the mouse!

    This makes changing into a directory that starts with P quite a challenge. I found out that I can do
    >tcsh
    then change to the desired directory (because P now works) and then open a new terminal tab - it opens with bash in the current directory.

    Any hints appreciated.

    Thanks, Stephan

    PS: I had to insert a whitespace between : and \ in PS1, otherwise it was displayed as a Smily. Is there a better way to avoid that?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,287

    Default Re: No uppercase P in bash

    Quote Originally Posted by stephanhh View Post
    Hi,
    PS: I had to insert a whitespace between : and \ in PS1, otherwise it was displayed as a Smily. Is there a better way to avoid that?
    Put CODE tags around text when it is code. Select the piece of text and click the # button in the toolbar.

    Code:
    PS1="${_t}${_u}:\$(spwd)${_p}>"
    Better readable isn't it
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •