From owner-freebsd-ports Tue Apr 2 19:30:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 42FB237B41C for ; Tue, 2 Apr 2002 19:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g333U2g06274; Tue, 2 Apr 2002 19:30:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B44237B421 for ; Tue, 2 Apr 2002 19:25:18 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g333PFQ05661; Tue, 2 Apr 2002 19:25:15 -0800 (PST) (envelope-from nobody) Message-Id: <200204030325.g333PFQ05661@freefall.freebsd.org> Date: Tue, 2 Apr 2002 19:25:15 -0800 (PST) From: Andriy Gapon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/36685: annoying warnings from mc with tcsh in home dir Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36685 >Category: ports >Synopsis: annoying warnings from mc with tcsh in home dir >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 02 19:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andriy Gapon >Release: FreeBSD 4.5 >Organization: >Environment: FreeBSD edge.icyb.net 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #0: Mon Feb 25 23:52:47 EST 2002 avg@edge.icyb.net:/sys-devel/obj/sys-devel/src/sys/EDGE i386 >Description: source of problem lies in special handling of user's home directory by tcsh: if symlinks is unset, cwd is set to /home/ even if the latter is actually a link to /usr/home/ and you cd to that. 501/home/avg p4:edge-22:10>cd /usr/home/avg/ 502/home/avg p4:edge-22:10>echo $cwd /home/avg 503/home/avg p4:edge-22:10>cd / 504/ p4:edge-22:11>cd usr 505/usr p4:edge-22:11>cd home 506/usr/home p4:edge-22:11>cd avg 507/home/avg p4:edge-22:11>echo $cwd /home/avg so if user changes to his dir through directory hierarchy, a name of dir expected by MC (and confirmed with call to getwd()) will differ from current work dir name reported by subshell (which is determined via cwd) and will result in annoying warning messages. >How-To-Repeat: have MC with subshell enabled and have tcsh as your shell have a standard FreeBSD location of your home dir in /usr/home and have a coventional link /home --> /usr/home in one of the panels cd to / using MC's "GUI" cd to /usr, /usr/home, /usr/home/ MC should produce warning about being unable to cd >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message