Re: bash prompt \W (working dir) garbled

2011-04-28 Thread Jimmy Wu
Thank you very much for that. Now I know what is going on -- the search terms I was using before were not turning up anything useful. On Thu, Apr 28, 2011 at 13:02, Jochen Schulz wrote: > Jimmy Wu: >> >> $ PS1='\W ' >> ~ cd /home >> hmee cd /media >> meiia cd /boot > > Same here, on squeeze and

Re: bash prompt \W (working dir) garbled

2011-04-28 Thread Andrew McGlashan
Jochen Schulz wrote: Jimmy Wu: $ PS1='\W ' ~ cd /home hmee cd /media meiia cd /boot Mine doesn't use \W but it works well for me. I don't have the problem with this testing: # export PS1='\W ' ~ cd /proc proc cd /etc etc cd ~ cd /home home cd /var var cd /media media I like having a w

Re: bash prompt \W (working dir) garbled

2011-04-28 Thread Jochen Schulz
Jimmy Wu: > > $ PS1='\W ' > ~ cd /home > hmee cd /media > meiia cd /boot Same here, on squeeze and sid (both amd64, just as yours). It's already reported as #589084. A link to a patch is included, in case you want to rebuild bash yourself. J. -- I worry about people thinking I have lost directio

Re: bash prompt won't wrap properly

2007-04-15 Thread Tyler Smith
On 2007-04-15, Gerard Robin <[EMAIL PROTECTED]> wrote: > I encountered the same problem and I solved it adding \]\n[\ in my PS1. > > my PS1: > > PS1="${magenta}[\[$TIME\] [EMAIL PROTECTED] > \[${BLUE}\]\#\[$NC\]]\w\$ " > > hth. That's interesting. If I put the \n at the end of my prompt it works

Re: bash prompt won't wrap properly

2007-04-15 Thread Gerard Robin
On Sun, Apr 15, 2007 at 09:15:52PM +, Tyler Smith wrote: From: Tyler Smith <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: bash prompt won't wrap properly X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian.org X-Spam-Level: X-Spam-Status: No, score=-1.3 re

Re: bash prompt

2001-09-21 Thread Mike Pfleger
Timothy and Paul: Thanks so very much for this thread. There is so much to learn and so little time; it's always a pleasure to find little gems like this as they float by on the list. My terms now have hostname-empowered titlebars :) Cheers, Mike Pfleger There's seventy brilliant people on ear

Re: bash prompt

2001-09-20 Thread Timothy H. Keitt
Lovely. Thanks. T. W. Paul Mills wrote: From man bash: \[ begin a sequence of non-printing characters, which could be used to embed a terminal conĀ­ trol sequence into the prompt \] end a sequence of non-printing cha

Re: bash prompt

2001-09-20 Thread W. Paul Mills
>From man bash: \[ begin a sequence of non-printing characters, which could be used to embed a terminal conĀ­ trol sequence into the prompt \] end a sequence of non-printing characters So, try this: \[\

Re: bash prompt

2001-09-19 Thread dman
On Wed, Sep 19, 2001 at 06:33:09PM -0400, Timothy H. Keitt wrote: | Quick question: the following bash prompt puts the current machine name | in the xterm (gnome-terminal) title bar, but also causes long lines to | wrap incorrectly. Instead of moving down a line, the wrap over-writes | the exis

Re: Bash Prompt in an XTerm

1997-07-22 Thread Benoit Goudreault-Emond
>From: Travis Cole <[EMAIL PROTECTED]> >To: debian-user@lists.debian.org >Subject: Bash Prompt in an XTerm [snip] >This works fine when I am at the console as a normal user but as root I only >get: > >atheist# Check root's .bash_profile (and possibly .bashrc). It is probably overriding the defaul

Re: RedHat vs Debian (was Re: Bash Prompt in an XTerm)

1997-07-22 Thread Lester P. Wang
m for Applixware. My email and ppp server is Debian. The configuration tools that come with Debian are easier since I don't have X-windows running -- > From: Rick Hawkins <[EMAIL PROTECTED]> > To: debian-user@lists.debian.org > Subject: Re: RedHat vs Debian (was Re: Bash Pr

Re: RedHat vs Debian (was Re: Bash Prompt in an XTerm)

1997-07-22 Thread Rick Hawkins
> > > Redhat is *far* easier to install on a slow machine. After installation > > is another matter :) > Slightly faster; not necessarily easier. Since 4.0, Red Hat has been a > disaster for anyone with a CD-ROM attached to a SoundBlaster card, for > instance. this was a future domain. But o

Re: RedHat vs Debian (was Re: Bash Prompt in an XTerm)

1997-07-22 Thread Bob Nielsen
On Tue, 22 Jul 1997, Rick Hawkins wrote: > Redhat is *far* easier to install on a slow machine. After installation > is another matter :) Slightly faster; not necessarily easier. Since 4.0, Red Hat has been a disaster for anyone with a CD-ROM attached to a SoundBlaster card, for instance. > >

Re: RedHat vs Debian (was Re: Bash Prompt in an XTerm)

1997-07-22 Thread Rick Hawkins
> My question to you is how do you find them (which one do you think is > best; if there is such a thing as 'best'). Any particular features etc > you prefer on one over the other? Redhat is *far* easier to install on a slow machine. After installation is another matter :) Redhat's installat

RedHat vs Debian (was Re: Bash Prompt in an XTerm)

1997-07-22 Thread David M
Hiya Travis, > I just switched from Red Hat 4.2 to Debian 1.3.1 and I am now realizing how > much > Red Hat really hides you from things. I was trying to decide what distribution to install (RedHat versus Debian) just b4 I shifted to Linux. I must say in the beginning I was very much inclined a

Re: Bash Prompt and XTerms

1997-07-22 Thread Travis Cole
-BEGIN PGP SIGNED MESSAGE- Im replying to my own post. I figured it out. Just add the PS1 line to my .bashrc. I figure stuff like that would just go in the .bash_profile and when that didn't work I had no idea what to do. To make it all global I will just make a /etc/bashrc Sorry for th