This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
RE: PS1 prompt and \u displaying I have no name!
- To: "David Starks-Browning" <starksb@ebi.ac.uk>
- Subject: RE: PS1 prompt and \u displaying I have no name!
- From: "Bruce Edge" <bedge@sattel.com>
- Date: Thu, 4 Feb 1999 08:28:13 -0800
- Cc: "Gnu-Win32" <gnu-win32@cygnus.com>
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Importance: Normal
- In-Reply-To: <14009.41175.4000.492093@BRYCE>
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Reply-To: <bedge@sattel.com>
Found the answer, I didn't have a /etc directory. After I created it and the
passwd file the \u
displays correctly.
-Bruce.
> -----Original Message-----
> From: David Starks-Browning [mailto:starksb@ebi.ac.uk]
> Sent: Thursday, February 04, 1999 5:30 AM
> To: bedge@sattel.com
> Subject: PS1 prompt and \u displaying I have no name!
>
>
> On Wednesday 3 Feb 99, Bruce Edge writes:
> > Why does the \u in my $PS1 expand to: "I have no name!"
> >
> > TIA, Bruce.
>
> Good question! I had to hardcode my own name into PS1 directly. I
> found that setting environment variables USER or LOGNAME don't seem to
> help.
>
> If you get an answer that is not also posted to the list, would you
> share it please? Thanks.
>
> David
>
> -------------------------------------------------------------------
> David Starks-Browning | starksb@ebi.ac.uk
> EMBL Outstation -- |
> The European Bioinformatics Institute |
> Wellcome Trust Genome Campus | tel: +44 (1223) 494 616
> Hinxton, Cambridge, CB10 1SD, UK | fax: +44 (1223) 494 468
> -------------------------------------------------------------------
>