From neldredge at math.ucsd.edu Mon Oct 6 00:01:56 2008 From: neldredge at math.ucsd.edu (Nate Eldredge) Date: Sun, 5 Oct 2008 14:01:56 -0700 (PDT) Subject: tcsh bug with backticks and vfork Message-ID: Hi, Please see FreeBSD bug 125185 at http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/125185 . Summary: running something like "`perl -e "print 'A' x1024"` * 0" crashes tcsh 6.15.00 on FreeBSD. The reason is related to tcsh's cleanup stack being shared between parent and child when vfork() is used. -- Nate Eldredge neldredge at math.ucsd.edu From bw at inside-security.de Mon Oct 6 18:12:27 2008 From: bw at inside-security.de (Boris Wesslowski) Date: Mon, 6 Oct 2008 17:12:27 +0200 Subject: tcsh segfaults on openSUSE 11.0 when alias starts with a backslash Message-ID: <20081006151226.GD3605@zap.inside-security.de> Hi, although probably a problem with openSUSE 11.0, you may want to have a look at https://bugzilla.novell.com/show_bug.cgi?id=431661 Best wishes, Boris From subscriber.jp at gmail.com Sat Oct 11 12:07:33 2008 From: subscriber.jp at gmail.com (pegacorn) Date: Sat, 11 Oct 2008 18:07:33 +0900 (JST) Subject: win32: TCSHLANG doesn't function Message-ID: <20081011.180733.41633314.subscriber.jp@gmail.com> Hello, TCSHLANG doesn't function because it is wrong in the usage of _dupenv_s. _dupenv_s, _wdupenv_s (CRT): http://msdn.microsoft.com/en-us/library/ms175774(VS.80).aspx > Return Value > Zero on success, an error code on failure. --- win32/nt.char.c.ORG 2006-03-05 17:59:36.000000000 +0900 +++ win32/nt.char.c 2008-10-11 10:48:43.984375000 +0900 @@ -116,7 +116,7 @@ size_t size = 0; - if (_dupenv_s(&ptr,&size,"TCSHLANG") ){ + if (_dupenv_s(&ptr,&size,"TCSHLANG") == 0) { if (hlangdll) FreeLibrary(hlangdll); -- pegacorn From christos at zoulas.com Sat Oct 11 15:46:11 2008 From: christos at zoulas.com (Christos Zoulas) Date: Sat, 11 Oct 2008 08:46:11 -0400 Subject: win32: TCSHLANG doesn't function In-Reply-To: <20081011.180733.41633314.subscriber.jp@gmail.com> from pegacorn (Oct 11, 6:07pm) Message-ID: <20081011124611.767C65654E@rebar.astron.com> On Oct 11, 6:07pm, subscriber.jp at gmail.com (pegacorn) wrote: -- Subject: win32: TCSHLANG doesn't function | Hello, | | | TCSHLANG doesn't function because it is wrong in the usage of _dupenv_s. | | _dupenv_s, _wdupenv_s (CRT): | http://msdn.microsoft.com/en-us/library/ms175774(VS.80).aspx | > Return Value | > Zero on success, an error code on failure. | | | --- win32/nt.char.c.ORG 2006-03-05 17:59:36.000000000 +0900 | +++ win32/nt.char.c 2008-10-11 10:48:43.984375000 +0900 | @@ -116,7 +116,7 @@ | size_t size = 0; | | | - if (_dupenv_s(&ptr,&size,"TCSHLANG") ){ | + if (_dupenv_s(&ptr,&size,"TCSHLANG") == 0) { | | if (hlangdll) | FreeLibrary(hlangdll); | Ok, fixed for other uses too. thanks, christos From linh.h.phan at jpl.nasa.gov Thu Oct 23 20:57:27 2008 From: linh.h.phan at jpl.nasa.gov (Phan, Linh H) Date: Thu, 23 Oct 2008 10:57:27 -0700 Subject: Can cygwin tcsh return "/home/user" from pwd? Message-ID: <79D001DEDB0DEC47A247B110F3E8668201289652@ALTPHYEMBEVSP30.RES.AD.JPL> Hi, I am using tcsh under cygwin and when I type "pwd", it returns: [phan at phan-xp ~]$ pwd /cygdrive/c/Documents and Settings/phan If I run bash shell instead, bash shell would return: $ pwd /home/phan Can I make tcsh return /home/phan as well instead of the "/cygdrive/c/Documents and Settings/phan"? Thank you, Linh From RKLeonard at raytheon.com Fri Oct 24 12:01:44 2008 From: RKLeonard at raytheon.com (Kent Leonard) Date: Fri, 24 Oct 2008 04:01:44 -0500 Subject: Kent Leonard/US/Raytheon is out of the office Message-ID: I will be out of the office starting 10/24/2008 and will not return until 10/27/2008. .