On Sun, Apr 30, 2000 at 11:49:40PM -0700, [EMAIL PROTECTED] wrote:
> I would like to know whether there is a way to have an alias like
> cat $ | xv - . Alias would be called xv and then, if it worked, when
> xv filename is entered, it would issue cat filename | xv - . I couldn't
> find it in the documentation (man) or help in lftp. If there is not such
> option, please, consider this as a wish(list).
TODO contains an entry for `eval -f "format" args', this would be an easy way
for aliases with arguments.
> Well, I have two more wishes (not related to aliases):
>
> 1. Better documented find: What can it do? Are there any options it
> accepts? (without needing to read the source code).
Currently find does not have any options. It is documented in man page and
online help.
> 2. Enhanced prompt. Either two prompts, cmd:prompt and cmd:prompt-xterm,
> or handle cmd:prompt differently when running under $TERM == "xterm.*"
> (as a regular expression, like xterm-color, xterm-debian, etc). What
> I have in mind is using xterm title enhanced prompts while still
> properly displaying command line (not sure whether the problem is in
> readline or whether it is lftp specific). Maybe there could be
> something like at-cd that would issue a command anytime cd is issued
> successfully (but that would need variable like $pwd or ability to run
> something like echo `pwd`).
I can add closure matching TERM variable. So that you could do:
set prompt/xterm* "..."
--
Alexander. (never mind that noise you heard)