This is the mail archive of the
cygwin
mailing list for the Cygwin project.
base-files: LOGNAME
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 30 May 2010 03:19:52 -0500
- Subject: base-files: LOGNAME
POSIX.1[1] describes a LOGNAME environment variable which represents the
user's login name. Adding the following lines to /etc/profile should do
the trick:
LOGNAME="`logname`"
export LOGNAME
Where logname(1) is a program supplied by coreutils whose presence is
required by POSIX.1[2].
Could base-files please be patched accordingly?
Yaakov
[1] http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html
[2] http://www.opengroup.org/onlinepubs/9699919799/utilities/logname.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple