NetBSD Problem Report #39888

From Ephaeton@gmx.net  Mon Nov 10 01:13:48 2008
Return-Path: <Ephaeton@gmx.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id D8F4763B898
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 10 Nov 2008 01:13:47 +0000 (UTC)
Message-Id: <20081110011340.8901813648@agamemnon.entropie.local>
Date: Sun,  9 Nov 2008 20:13:40 -0500 (EST)
From: Ephaeton@gmx.net
Reply-To: Ephaeton@gmx.net
To: gnats-bugs@gnats.NetBSD.org
Subject: ksh stops autocomplete at | character -- clashes with noclobber
X-Send-Pr-Version: 3.95

>Number:         39888
>Category:       bin
>Synopsis:       ksh & autocomplete & noclobber is no good
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 10 01:15:01 +0000 2008
>Originator:     Martin S. Weber
>Release:        NetBSD 4.99.73
>Organization:

>Environment:


System: NetBSD agamemnon.entropie.local 4.99.73 NetBSD 4.99.73 (AGAMEMNON) #9: Mon Oct 20 20:50:07 EDT 2008 root@agamemnon.entropie.local:/home/netbsd/obj/sys/arch/i386/compile/AGAMEMNON i386
Architecture: i386
Machine: i386
>Description:
	When setting noclobber in the /bin/ksh shell to prevent accidentally overwriting existing
	files with output redirection, what you have to use instead to do output redirection stops
	autocompletion from working. ksh though should realize that you are not using a commandline
	with pipes, but instead you are using the >| redirection and still enable file completion.
	This is with the emacs input bindings. Instead ksh enables command completion (probably
	because of the pipe character)

>How-To-Repeat:
	touch abcdef
	echo "bla" > abc<TAB> # abc gets expanded to abcdef
	echo "bla" >| abc<TAB> # no completion.
	touch fingah
	echo "bla" > fing<TAB> # fing gets expanded to fingah
	echo "bla" >| fing<TAB> # fing gets expanded to finger (1)

>Fix:
	none provided


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.