From owner-freebsd-bugs Thu Jul 6 18:30:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA11886 for bugs-outgoing; Thu, 6 Jul 1995 18:30:02 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA11879 ; Thu, 6 Jul 1995 18:30:01 -0700 Date: Thu, 6 Jul 1995 18:30:01 -0700 Message-Id: <199507070130.SAA11879@freefall.cdrom.com> From: gordon@sneaky.lonestar.org Reply-To: gordon@sneaky.lonestar.org To: freebsd-bugs Subject: bin/598: csh 'imported path' warning makes it unusable with vi In-Reply-To: Your message of Thu, 6 Jul 95 17:32 CDT Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 598 >Category: bin >Synopsis: csh 'imported path' warning makes it unusable with vi >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 6 18:30:01 1995 >Originator: Gordon Burditt >Organization: what organization? >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: FreeBSD 2.0.5 >Description: While csh's warning 'warning: imported path contains relative components' is accurate (when you su to root and inherit a path containing '.' as the last component, and yes, I'll grant this has security problems, but many package makefiles won't work without it, and you have to be root to install), it cripples use of vi due to the message getting into filename expansions and edit buffers. How about making this warning apply only to INTERACTIVE shells? If that's a bad idea, how about turning the warning into a fatal error (it might as well be anyway, for all the work you can get done using it). >How-To-Repeat: su to root set PATH to something including "." at the end. setenv SHELL /bin/csh Invoke vi. Attempt a ":e ~/.login" Get usage message, because expanded filename starts with "Warning: imported path" >Fix: >Audit-Trail: >Unformatted: