delorie.com/archives/browse.cgi | search |
Delivered-To: | listarch-cygwin AT sourceware DOT cygnus DOT com |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Reply-To: | <bedge AT sattel DOT com> |
From: | "Bruce Edge" <bedge AT sattel DOT com> |
To: | "David Starks-Browning" <starksb AT ebi DOT ac DOT uk> |
Cc: | "Gnu-Win32" <gnu-win32 AT cygnus DOT com> |
Subject: | RE: PS1 prompt and \u displaying I have no name! |
Date: | Thu, 4 Feb 1999 08:28:13 -0800 |
Message-ID: | <000b01be505b$5c307c40$6e01a8c0@eng-aux.sattel> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook 8.5, Build 4.71.2173.0 |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
In-Reply-To: | <14009.41175.4000.492093@BRYCE> |
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 AT ebi DOT ac DOT uk] > Sent: Thursday, February 04, 1999 5:30 AM > To: bedge AT sattel DOT 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 AT ebi DOT ac DOT 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 > ------------------------------------------------------------------- >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |