From owner-freebsd-current@FreeBSD.ORG Wed Oct 17 20:30:51 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A80A116A418 for ; Wed, 17 Oct 2007 20:30:51 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id D402513C4AA for ; Wed, 17 Oct 2007 20:30:50 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 38006 invoked from network); 18 Oct 2007 00:30:48 +0400 Received: from unknown (HELO Artem) (192.168.0.12) by 84.21.226.211 with SMTP; 18 Oct 2007 00:30:48 +0400 X-AntiVirus: Checked by Dr.Web [version: 4.44, engine: 4.44.0.09170, virus records: 249970, updated: 17.10.2007] Message-ID: <007001c810fc$97cf3000$0c00a8c0@Artem> From: "Artem Kuchin" To: "Kostik Belousov" References: <00bd01c810ec$10371230$0c00a8c0@Artem> <8cb6106e0710171143m3dff7546o457192ede76e6598@mail.gmail.com> <012c01c810f3$aafeecf0$0c00a8c0@Artem> <20071017194252.GL6511@deviant.kiev.zoral.com.ua> Date: Thu, 18 Oct 2007 00:30:41 +0400 Organization: IT Legion MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Cc: josh.carroll@gmail.com, Andrey Chernov , freebsd-current@freebsd.org, ??? Bill Hacker Subject: Re: Broken su in current - trying to fix myself, help needed! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 20:30:51 -0000 >Ah, mc. >Ok, it is reproducable in the following way: >pooma% sh +m ~ >$ ~/work/scratch/su.pl >Password: >heck >done! >$ [1] + 1725 suspended (tty input) sh +m >pooma% > >Note the +m, that turns off the job control. I switched from csh (which is tcsh) to sh and run the script from midnight commander. I got: heck done! Press any key to continue...[1] + Stopped (tty output) mc So, script finished and midnight commander get suspended now. -- Artem