NetBSD Problem Report #39888

From  Mon Nov 10 01:13:48 2008
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id D8F4763B898
	for <>; 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)
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


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
	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)

	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)

	none provided


NetBSD Home
NetBSD PR Database Search

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