From stas@310.ru  Sat Jun 24 15:33:21 2006
Return-Path: <stas@310.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED8E816A492;
	Sat, 24 Jun 2006 15:33:21 +0000 (UTC)
	(envelope-from stas@310.ru)
Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7C12543D53;
	Sat, 24 Jun 2006 15:33:18 +0000 (GMT)
	(envelope-from stas@310.ru)
Received: from [213.87.86.55] (helo=fonon.realnet)
	by com1.ht-systems.ru with esmtpa (Exim 4.62)
	(envelope-from <stas@310.ru>)
	id 1FuA6u-0005Z4-7t; Sat, 24 Jun 2006 19:31:50 +0400
Received: from fonon.realnet (localhost [127.0.0.1])
	by fonon.realnet (8.13.6/8.13.6) with ESMTP id k5OFWZH2084427;
	Sat, 24 Jun 2006 19:32:35 +0400 (MSD)
	(envelope-from stas@fonon.realnet)
Received: (from stas@localhost)
	by fonon.realnet (8.13.6/8.13.6/Submit) id k5OFWYWj084426;
	Sat, 24 Jun 2006 19:32:34 +0400 (MSD)
	(envelope-from stas)
Message-Id: <200606241532.k5OFWYWj084426@fonon.realnet>
Date: Sat, 24 Jun 2006 19:32:34 +0400 (MSD)
From: Stanislav Sedov <ssedov@mbsd.msk.ru>
Reply-To: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: fjoe@freebsd.org
Subject: [PATCH] MC's subshell doesn't work with stock freebsd csh
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99424
>Category:       ports
>Synopsis:       [PATCH] MC's subshell doesn't work with stock freebsd csh
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    fjoe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 24 15:40:24 GMT 2006
>Closed-Date:    Wed Nov 29 18:51:12 GMT 2006
>Last-Modified:  Wed Nov 29 18:51:12 GMT 2006
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006 root@fonon.realnet:/work/src/fbsd-cur/src/sys/i386/compile/FONON i386


	
>Description:
	Subshell in the Midnight commander doesn't work with FreeBSD's
	stock csh, since MC thinks, that it doesn't Tcsh.

	The patch, I've added, allows using subshell even if user's
	shell set to /bin/csh.

	NOTE: additional file files/patch-src-subshell.c was added.

	The copy of the message was sent to maintainier.
>How-To-Repeat:
	
>Fix:

	

--- mc.diff begins here ---
diff -ruN mc.orig/files/patch-src-subshell.c mc/files/patch-src-subshell.c
--- mc.orig/files/patch-src-subshell.c	Sat Jun 24 19:25:35 2006
+++ mc/files/patch-src-subshell.c	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- src/subshell.c.orig	Wed Jun 14 15:45:12 2006
-+++ src/subshell.c	Wed Jun 14 15:45:39 2006
-@@ -395,6 +395,8 @@
- 	    subshell_type = ZSH;
- 	else if (strstr (shell, "/tcsh"))
- 	    subshell_type = TCSH;
-+	else if (strstr (shell, "/csh"))
-+	    subshell_type = TCSH;
- 	else if (strstr (shell, "/bash") || getenv ("BASH"))
- 	    subshell_type = BASH;
- 	else {
--- mc.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->fjoe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 26 13:18:37 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99424 
State-Changed-From-To: open->closed 
State-Changed-By: fjoe 
State-Changed-When: Wed Nov 29 18:50:50 UTC 2006 
State-Changed-Why:  
The PR has been closed long time ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99424 
>Unformatted:
