X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:subject:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=wKU 0Dm0hqjLPUnFKGKQj3m4KpxobaaGzycuKn1UUw2kdETvGzhedLHQFyNq2oIqbH3Q +I71KlnQuHs6amSgbgsWAuPOHD3ajdKGshs5QyP0Yxe5Iek4llv/cP4NOsCeTkaq xwe7SMzYgovlzYmj6vtLS0317qqVTOTpxlCZgFBw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:subject:mime-version :content-type:content-transfer-encoding; s=default; bh=l/y5L5fNm dks9WdhFgxg/siUlhs=; b=CNdKoUbduQLERtFdDPWKciT11Tm2eDdT/CYA8FNRq wnQa8WVF4dcKZ0gCCRTNgg1htMaOFvU75Wv4xe3aYnyXN6Hud7/qimVCS4wUk7T2 G6EuDZhl/f6QWk27KZKqK9clHP3RASAuAb2MVeVrks5l9114nGnmrudn7bK3s3Lt ok= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD autolearn=no version=3.3.1 X-Matched-Lists: [] Date: Sat, 20 Apr 2013 18:22:12 -0430 (VET) From: "rodmedina AT cantv DOT net" To: cygwin AT cygwin DOT com Message-ID: <1173665981.65704.1366498333076.JavaMail.gess@webmail-05.datacenter.cha.cantv.net> Subject: Re: BASH and MAN failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On Mon, 08 Apr 2013 11:53:33 -0400 Larry Hall (Cygwin) wrote: ... have you looked at this FAQ? ... Nothing works, but I identified were the failure happens. It is in the script /etc/profile.d/tzset.sh I have done a profile file without the irrelevant lines. $ cat prof # Run all of the profile.d scripts # Note that these are supplied by separate packages # Ascending alphanumerical order enforced if [ -d "/etc/profile.d" ]; then while read f; do if [ -f "${f}" ]; then . "${f}" fi done <<- EOF `/bin/find -L /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh' | LC_ALL=C sort` EOF fi # $ I have erased everything but tzset.sh from /etc/profile.d I have put a script A.sh, just to be sure that prof works $ ls /etc/profile.d/ A.sh tzset.sh $ cat /etc/profile.d/A.sh echo "A" $ cat tzset.sh ... test -z "$TZ" && export TZ=$(/usr/bin/tzset) $ unset TZ $ ./prof A 1 [main] bash 660 C:\cygwin\bin\bash.exe: *** fatal error - prefork: couldn't create pipe process trackerWin32 error 161 $ set ... SYSTEMROOT='C:\WINDOWS' TEMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp TERM=xterm-256color TMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp UID=1003 ... You see that TZ is not set. I one runs tzset.sh directly the message is not writen, but still TZ is not set. $ /etc/profile.d/tzset.sh $ set ... SYSTEMROOT='C:\WINDOWS' TEMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp TERM=xterm-256color TMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp UID=1003 ... but if the command is given directly in the shell it works! $ test -z "$TZ" && export TZ=$(/usr/bin/tzset) $ set ... SYSTEMROOT='C:\WINDOWS' TEMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp TERM=xterm-256color TMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp TZ=America/Caracas UID=1003 ... I hope that this information be usefull Bye RM -- 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