FreeBSD Bugzilla – Bug 26573
tcsh incorrectly handles 'postcmd'
Last modified: 2001-07-08 22:39:00 UTC
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$ Fix: none
State Changed From-To: open->closed tcsh is not maintained by the FreeBSD developers. Please address your bug report to the tcsh maintainer, Christos Zoulas <christos@zoulas.com>. Thankyou.