Bug 26573 - tcsh incorrectly handles 'postcmd'
tcsh incorrectly handles 'postcmd'
Status: Issue Resolved FIXED
Product: Base System
Classification: Unclassified
Component: misc
unspecified
Any Any
: Normal Affects Only Me
Assigned To: FreeBSD bugs mailing list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-14 17:30 UTC by fjoe
Modified: 2001-07-08 22:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fjoe 2001-04-14 17:30:01 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
Comment 1 kris freebsd_committer 2001-07-08 22:38:10 UTC
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.