Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Using zle outside zsh



    Hi all :)

    My excuses for replying myself.

 * DervishD <disposable1@xxxxxxxxxxxxxx> dixit:
>     program < fifoin > fifoout 2> fifoerr
> 
>     and you configure zsh so it takes the command line (zle, full
> edition, etc.) and instead of running it, writes it to 'fifoin',
> while reads 'fifoout' and 'fifoerr' and dumps them on the screen.

    If just 'preexec' could access BUFFER, writing the edited command
line could be written anywhere, but since BUFFER is only accessible
inside completion widgets, this should be done with a widget,
replacing 'accept-line' or something like that. Am I completely lost?

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/



Messages sorted by: Reverse Date, Date, Thread, Author