Bug 105246 - tcsh command line completion fails for postfix's postmap command
Bug#: 105246 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: grobian@gentoo.org Reported By: mcdermj@xenotropic.com
Component: Applications
URL: 
Summary: tcsh command line completion fails for postfix's postmap command
Keywords:  
Status Whiteboard: 
Opened: 2005-09-08 05:15 0000
Description:   Opened: 2005-09-08 05:15 0000
When attempting to run /usr/sbin/postmap with command line completion in tcsh
active, the shell returns 
the error "Missing separator '/' after completion "(hash: regexp:)"."  This is
due to an typo in /etc/
profile.d/tcsh-complete

Reproducible: Always
Steps to Reproduce:
1.  type "postmap foo"
2.
3.

Actual Results:  
Shell returns:
Missing separator '/' after completion "(hash: regexp:)"

Expected Results:  
Normally executed /usr/sbin/postmap

Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.3.5-20050130, glibc-2.3.5-r1,
2.6.11.9 i686)
===============================================================
==
System uname: 2.6.11.9 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/tomcat /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/X11/
xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.llarian.net/"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi apache2 berkdb crypt cups curl dlloader fbcon ftp gd gdbm gpm
hardened iconv 
imagemagick imap innodb ipv6 java jpeg ldap mad mikmod mmap mmx mysql ncurses
nls ogg 
oggvorbis opengl pam pcre pdflib perl perlsuid php pic png posix python
quicktime readline sasl 
session shared simplexml slang snmp soap sockets spell sse ssl svga sysvipc
theora threads tiff 
truetype usb userlocales vhosts vorbis x86 xml xml2 xmlrpc zlib userland_GNU
kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY

------- Comment #1 From Jeremy McDermond 2005-09-08 05:16:57 0000 -------
Created an attachment (id=67922) [details]
Proposed patch fixing the missing /

There is a missing / on the complete definition for postmap.  Adding the slash
seems to fix the issue.

------- Comment #2 From Fabian Groffen 2005-09-13 09:20:37 0000 -------
seems like a correct fix to me.  Please use unified diff in the future for
patches (diff -u), they are much easier readable.

------- Comment #3 From Fabian Groffen 2005-09-27 12:28:31 0000 -------
note to self: done

------- Comment #4 From Fabian Groffen 2005-09-30 12:40:10 0000 -------
Fixed in 6.14-r1