| Summary: | tcsh incorrectly handles 'postcmd' | ||
|---|---|---|---|
| Product: | Base System | Reporter: | fjoe <fjoe> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
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. |
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