| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/usr/share/doc/base-files/ |
Upload File : |
Cygwin base system miscellaneous files
--------------------------------------
TODO:
-----
* Should future versions rely on /etc/mkshrc to set PS1 properly for mksh
if mksh supports sourcing /etc/mkshrc for interactive-login sessions?
* Ask zsh mantainer to put /etc/zprofile and /etc/zshrc in place during
installation.
* Should users with GID 544 have /usr/sbin in their paths?
* Enhance admins' prompt (ideas include the known # sign and using another
color, red?).
Change Log
----------
4.3-3 (bugfix release)
* etc/defaults/etc/profile: Fix a bug so that the system variable
CYGWIN_USEWINPATH actually does what it was supposed to do.
4.3-2 (bugfix/feature release)
* etc/defaults/etc/skel/.bashrc: Remove outdated comments on
completion and mention the bash_completion package as a
prerequisite. See cygwin.com/ml/cygwin/2016-03/msg00207.html
* etc/postinstall/base-files-profile.sh: If a non-default file is
kept, show a diff to the default version if /bin/diff is
installed and the target is a plain file.
* etc/postinstall/base-files-profile.sh: Do not touch file before
installing so the modes are kept intact, like cygport is already
doing for some time. Reported by Christian Franke, see
cygwin.com/ml/cygwin/2016-09/msg00059.html
4.3-1 (feature release)
* Cygwin.bat: Add to base-files. This version is independent of
the actual install path, see:
cygwin.com/ml/cygwin/2016-08/msg00617.html
* etc/defaults/etc/profile: Allow the use of the unaltered
existing system PATH by setting the system variable
CYGWIN_USEWINPATH.
* etc/defaults/etc/profile: avoid second invocation of
/usr/bin/hostname. Reported by Helmut Karlowski, see
cygwin.com/ml/cygwin/2015-12/msg00080.html
* etc/postinstall/base-files-mketc.sh (WINETC): Use /proc/cygdrive
prefixed path which keeps working even if the user changes the
/cygdrive prefix after installation.
4.2-4 (bugfix release)
* etc/postinstall/base-files-mketc.sh: Windows only uses 8 characters
for files in the WINETC directory. Check if the symlink target
exists and remove the symlink if not (to fix "protocols" where
"protocol" should be used). Truncate the target file names to eight
characters for new symlinks. Reported by Walter L., see
cygwin.com/ml/cygwin/2015-09/msg00371.html
* etc/defaults/etc/profile: Remove test for invalid user or group
accounts and the instructions on how to create passwd and group file
contents.
4.2-3 (intermediate release)
* remove MANPATH from /etc/profile
see cygwin.com/ml/cygwin/2014-05/msg00352.html
4.2-2 (bugfix release)
* LC_ALL is set to "C" during profile.d execution so it can't be
used for testing whether or not to set LANG
see cygwin.com/ml/cygwin/2014-04/msg00550.html
4.2-1
* remove permission/ACL settings and corresponding files.
see cygwin.com/ml/cygwin-apps/2014-03/msg00011.html
4.1-3 (unreleased)
* Eliminate Windows PATH from default PATH if CYGWIN_NOWINPATH is
set. Record the Windows PATH in ORIGINAL_PATH unless that
variable is already set.
* Better guard for non-existent /etc/skel.
* Improve profile_d function.
cygwin.com/ml/cygwin/2012-08/msg00488.html
* Add /etc/shells.
cygwin.com/ml/cygwin/2014-03/msg00039.html
* Use full path for tools and avoid DOS file warning when creating
service files.
cygwin.com/ml/cygwin/2013-07/msg00114.html
4.1-2
* Enforce a secure ACL in /home /tmp /usr/tmp /var/log /var/run
using new files /etc/profile.d/1777fix.* written by Corinna Vinschen.
See cygwin.com/ml/cygwin/2012-03/msg00103.html
* Setting CYG_SYS_BASHRC in bash.bashrc has no effect because it is run
in a subshell environment. Reported by Christian Franke. See
cygwin.com/ml/cygwin/2012-02/msg00832.html
4.1-1
* Setting a system locale and a per-user locale breaks some configs
and doesn't play well with mintty. Changed to a user-defined setting in
/etc/profile.d/lang.* Reported by Peter Rosin and Andy Koppe. See
cygwin.com/ml/cygwin/2012-02/msg00448.html
4.0-9
* Bug fix release.
In profile.d/* scripts, calls to "locale" and "tzset"
must use absolute paths - Harry G. McGavran, Jr.
cygwin.com/ml/cygwin/2012-02/msg00352.html
4.0-8
* Bug fix release.
Error in commad substitution in .bash_profile and .profile.
Reported by Mike Kaganski and Tom Schutter. See
cygwin.com/ml/cygwin/2012-02/msg00332.html
cygwin.com/ml/cygwin/2012-02/msg00335.html
Hardcoding SHELL from /etc/profile broke some configs. Rolled back.
Reported by David Rothenberger. See
cygwin.com/ml/cygwin/2012-02/msg00341.html
4.0-7
* Environment variable SHELL is now exported from /etc/profile.
Improved profile_d() function in /etc/profile - Cyrille Lefevre
cygwin.com/ml/cygwin/2011-11/msg00128.html
* TMP and TEMP as defined in the Windows environment must be kept
for windows apps, even if started from cygwin - Atry
cygwin.com/ml/cygwin/2012-01/msg00201.html
* Added two files under /etc/profile.d/ that use tzset, which
uses the geographical location setting of the user to find the right
mapping, rather than the locale setting. Only on Windows 2000 which
doesn't know about the user's geographical location, or if fetching
the geographical location fails, it falls back to the user's locale.
Corrected error in var setting - Corinna Vinschen
See cygwin.com/ml/cygwin-developers/2012-01/msg00042.html,
cygwin.com/ml/cygwin-developers/2012-01/msg00044.html
Updated manifest.
* Added CC0 license header to scripts, and the CC0 license
itself which is under /usr/share/doc/common-licenses/.
Modified locale setting in /etc/profile.d/lang.{sh,csh} to
honor the OS setting.
Corrected some files' header info.
Added Greg's Wiki's URL in /etc/profile.
Bumped version number.
4.0-6
* Re-corrected PRINTER setting.
* Dropped non-POSIX tests in /etc/profile - Eric Blake
cygwin.com/ml/cygwin/2011-03/msg00510.html
* Dropped user's homedir ownership test.
4.0-5
* Added test in /etc/profile PRINTER setting - Corinna Vinschen
cygwin.com/ml/cygwin/2011-03/msg00397.html
4.0-4
* Set TMP and TEMP to /tmp in /etc/profile.
* Dropped CVS stuff from /etc/profile - Andy Koppe
4.0-3
* Never released.
* Reordered /etc/profile to properly initialise PS1 - Cyrille Lefevre
* Supressed a fork in /etc/profile routine for copying skeletal files and
added a test to `cd' command - Cyrille Lefevre
* Removed /bin from path, as it is included via /usr/bin.
4.0-2
* Never released.
* A modified version of a case switch to run shell dependent stuff based
on ENV variables detection is back in /etc/profile, as proposed in
cygwin.com/ml/cygwin/2010-11/msg00464.html - Daniel Colascione
* Since SYS_BASHRC and SYS_BASH_LOGOUT will be enabled in bash-4.1
.bash_logout (added in 4.0-1) has been deprecated in favour of
/etc/bash.bash_logout.
cygwin.com/ml/cygwin-apps/2010-12/msg00075.html
* Added tests to /etc/profile, /etc/bash.bashrc, .bash_profile, .bashrc
and .profile to check if they have been already sourced, as suggested by
Andy Koppe in cygwin.com/ml/cygwin-apps/2010-12/msg00071.html
* HOSTNAME definition back in /etc/profile.
* Dropped .mkshrc. This has to be discussed with mksh mantainer.
4.0-1
* Never released.
* Applied patch in base-files-mketc.sh to solve a problem with creation
of symlinks in /etc for case-sensitive-enabled win7 systems.
sourceware.org/ml/cygwin/2010-04/txt00011.txt - Shaddy Baddah
* New file skel/.bash_logout clear the screen after logout.
* New file skel/.profile set HOSTNAME for dash & posh.
* New file skel/.mkshrc source /etc/mkshrc.
* Updated the manifest.lst to include new files.
* Moved the command for setting /tmp perms to
postinstall/base-files-mketc.sh.
cygwin.com/ml/cygwin/2010-11/msg00464.html - Daniel Colascione
* Modified the PRINTER setting in /etc/profile. No case switch
now.
cygwin.com/ml/cygwin/2010-11/msg00464.html - Daniel Colascione
* Added a WARNING in the conditional loop that creates $HOME for
already existing homes that don't belong to the user.
cygwin.com/ml/cygwin-developers/2010-09/msg00007.html -
Corinna Vinschen & Andy Koppe
* Added two hooks to source .bash_aliases and .bash_functions, if they
exist.
* Added an example function to .bashrc (enhanced cd command)
* Backtick command substitution notation replaced with $(...)
* All variable expansion is written within curly braces.
* Case switch to detect which shell is running taken out of /etc/profile.
* Bug regarding PS1 unset in interactive shells with a non-interactive
ancestor solved. cygwin.com/ml/cygwin/2010-02/msg00503.html -
Reported by Jon Turney
* Bug regarding mksh a well-defined PS1 solved.
sourceware.org/ml/cygwin/2010-05/msg00000.html - Reported by
Chris Sutcliffe
3.9-3
* Removed X11R6 from $PATH - Angelo Graziosi
* Fixed escaping \t in HISTIGNORE
- Angelo Graziosi, Eric Blake
3.9-2
* Removed some 1.5 hold overs from /etc/postinstall/base-files-mketc.sh
- Corinna Vinschen
3.9-1
* Set LANG scripts in /etc/profile.d/
- Corinna Vinschen, Thomas Wolff, Christopher Faylor
* Unset TMP and TEMP in ~/.bashrc
- Angelo Graziosi, Robert Pendell, Ken Brown, Corinna Vinschen
3.8-4
* Fixed permissions - Corinna Vinschen
3.8-3
* Ensure that the destination directory exists during postinstall
- Yitzchak Scott-Thoennes
3.8-2
* The skeleton files are copied even if the the mkdir has failed.
This happens to network users who install Cygwin while connected,
with HOME on a network drive, and then later use their laptop while
disconnected. In that case the skeleton files are not copied, a
warning issued and HOME set to "${TEMP}", "${TMP}", /tmp, or
(finally) / - Pierre A. Humblet
3.8-1
* Update to Cygwin 1.7 version - Herb Maeder
* Additional licenses
3.7-1
* Additional (commented out) settings taken from
http://www.ukuug.org/events/linux2003/papers/bash_tips/index.html
- Append history rather than overwrite
- Append whenever displaying the prompt
- 'Magic' Space. Inserts a space character and performs
a history expansion in the line
- Ignore small typos when cd'ing
* Corrected settitle() function in .bashrc - Igor Peshansky
* DIR_COLORS moved to the coreutils package - Eric Blake
* Follow links in /etc/profile.d - Max Bowsher
3.6-1
* Typo - Eric Blake
* Bash completion examples - Eric Blake
3.5-1
* Changed setup.hint from ash to bash
* Toned down the warning about customisation
- Rex Eastbourne Andrew Schulman, Igor Pechtchanski
* Changed ${MANPATH}. Changed order and removed autotool
- Igor Pechtchanski, Brian Dessent
* Changed ${INFOPATH}. Changed order and removed autotool.
* Fixed some mistakes in .inputrc and added some more
examples - Igor Pechtchanski
3.4-2
* Redirected chmod errors to /dev/null caused by lack of
admin rights - Angelo Graziosi, Igor Pechtchanski, Karl M
* Removed the test around chmod 1777 /tmp - Igor Pechtchanski
3.4-1
* Removed stty erase ^H - lots!
* chmod 1777 /tmp - Corinna Vinschen
* Properly quote [:upper:] [:lower:] - Webb Roberts
* Add local to the sort - Eric Blake
* Various quote corrections - Eric Blake
* Simplified the bash PS1 - Eric Blake
* Made the SHELL switch more portable
- Eric Blake, Cliff Hones, cfg, Igor Pechtchanski
3.3-1 (Never uploaded)
* Add a warning about editing base-files files
* Add a note about where the originals are to be found
* Add some more examples to skel/.bashrc - Chris Wilson
3.2-1
* Quote all ${variable}s. Except, ${PATH}, ${MANPATH} and ${INFOPATH}
3.1-3
* Change cd ${HOME} functionality for CHERE - Dave Kilroy
3.1-2
* Fix for zsh/ksh - Tero Niemela
3.1-1
* Never released - fixed spelling errors
3.0-3
* Fix not required for cp - Pierre A. Humblet
3.0-2
* Fix for security interactions when using cp - Thanks to
Pierre A. Humblet
3.0-1
* Added several open source license files. These were sourced
from http://www.opensource.org/licenses/
Packages may contain minor variations on these files.
* Added a preremove script to help keep the various scripts
uptodate (unless they've been modified).
* At Igor Pechtchanski's suggestion, all base-file scripts
are now versioned.
* Several patches, thanks to all. Now I'm keeping this
changelog I'll be sure to add names! Appologies to all who
helped with this version.
******************************************************
* *
* NOTE: if you want the automatic update script to *
* keep files up to date, you *must* delete the *
* following files and then reinstall the *
* base-files package; *
* /etc/bash.bashrc *
* /etc/DIR_COLORS *
* /etc/profile *
* /etc/skel/.bashrc *
* /etc/skel/.bash_profile *
* /etc/skel/.inputrc *
* *
******************************************************
Prior to 3.0-1
* Thanks to everyone who helped!