I have tried escaping the pound sign in the screen title string, but
to no avail.

On Dec 4, 9:23 am, "Daniel Eggleston" <[EMAIL PROTECTED]> wrote:
> hazarding a guess -- did you try escaping the pound?
>
>
>
> On Thu, Dec 4, 2008 at 9:37 AM, h3xx <[EMAIL PROTECTED]> wrote:
>
> > I have my .screenrc configured to automatically insert the current
> > typed command name after "bash:" in the title of the tab like so:
>
> > shelltitle '$ |bash'
>
> > This works because my prints a dollar sign and a space ("$ ") at the
> > end of the prompt.
>
> > I set up $PS1 to end in '\$ ', so it will end the line with a dollar
> > sign if you're a regular user, and a pound sign ("#") if you're root.
>
> > I set up a key command in ~/.screenrc to get me a `su -' terminal like
> > so:
>
> > bind R screen -t '# |root:' su -
>
> > My problem is that my root console prompt ends in "# " and screen
> > doesn't seem to want to insert the command after the "root:". Is there
> > any way to get it to do this?
>
> > I'm using screen 4.0.3 and bash 3.1.017
>
> --
>
>            Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to