Date: Sat, 14 Apr 2001 09:25:19 -0700 (PDT) From: fjoe@newst.net To: freebsd-gnats-submit@FreeBSD.org Subject: misc/26573: tcsh incorrectly handles 'postcmd' Message-ID: <200104141625.f3EGPJp71352@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 26573
>Category: misc
>Synopsis: tcsh incorrectly handles 'postcmd'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 14 09:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Max Khon
>Release: 4.3-BETA
>Organization:
Plesk, Inc.
>Environment:
FreeBSD lark 4.3-BETA FreeBSD 4.3-BETA #1: Thu Apr 12 00:12:49 NOVST 2001 fjoe@lark:/usr/obj/usr/src/sys/alf i386
>Description:
there are two problems with postcmd
(in both examples postcmd is defined as 'echo -n "^[]2;!#^G"')
1) if FOO is undefined the following error occurs:
lark:~$echo $FOO
FOO: Undefined variable.
Faulty alias 'postcmd' removed.
FOO: Undefined variable.
lark:~$
2) if directory contains only one file and ls is aliased somehow
('alias ls ls' is sufficient) then empty line is printed instead of
file list when doing ls in that directory:
lark:~/foo$alias
postcmd echo -n "^[]2;!#^G"
lark:~/foo$ls
patch-aa
lark:~/foo$alias ls ls
lark:~/foo$alias
ls ls
postcmd echo -n "^[]2;!#^G"
lark:~/foo$ls
lark:~/foo$
>How-To-Repeat:
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104141625.f3EGPJp71352>
