Re: an editable history for every stdin
From: Stephane CHAZELAS (stephane_chazelas_at_yahoo.fr)
Date: 09/15/03
- Next message: Lew Pitcher: "Re: an editable history for every stdin"
- Previous message: Stephane CHAZELAS: "Re: days in a month"
- In reply to: Pat LaVarre: "an editable history for every stdin"
- Next in thread: Pat LaVarre: "Re: an editable history for every stdin"
- Reply: Pat LaVarre: "Re: an editable history for every stdin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Sep 2003 13:21:41 GMT
Pat LaVarre wrote:
> How do I make stdin editable and recall its history, when I discover
> some unfriendly interactive program reads command lines from stdin
> without helping me edit or recall those lines?
Look at what zsh did with nslookup.
Get zsh 4.1, issue
autoload nslookup
nslookup
functions nslookup
for the details. You can easily adapt it for any command.
-- Stéphane
- Next message: Lew Pitcher: "Re: an editable history for every stdin"
- Previous message: Stephane CHAZELAS: "Re: days in a month"
- In reply to: Pat LaVarre: "an editable history for every stdin"
- Next in thread: Pat LaVarre: "Re: an editable history for every stdin"
- Reply: Pat LaVarre: "Re: an editable history for every stdin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|