Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Contrl-Z action.
- X-seq: zsh-users 495
- From: Alexey Solovyov <alekso@xxxxxxxxxxxx>
- To: gwing@xxxxxxxxxxxxxxx (Geoff Wing)
- Subject: Re: Contrl-Z action.
- Date: Tue, 5 Nov 1996 20:49:20 -0800 (PST)
- Cc: alekso@xxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199611060258.NAA00455@xxxxxxxxxxxxxxxxxxxxx> from "Geoff Wing" at Nov 6, 96 01:58:25 pm
> :But I've got a question. Once I came up why I want to have my job
> :suspended by pressing Cntrl-Z ? Ok, I want it to run in background
> :right after that. In another words how to (where) redefine action of
> :Ctrl-Z? Any comments why nobody should change it are also very
> :welcome.
>
> I can't think of a elegant way of doing this automatically without a lot of
> overhead. What you could do is
>
> % bindkey -s "^Z" "bg^M"
>
> then when you suspend something, press CTRL-Z again and it will put it in the
> background.
Thanks, I will probably do it this way though actually I was thinking
about changing the sources... :)
But anyway suggestions about eliminating the second Ctrl-Z are welcome.
----------------------------------------------------------------------
Alexey A. Solovyov
<alekso@xxxxxxxxxxxx>
<alekso@xxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author