There doesn't seem to be any way to suspend fish. Have I missed something?
Is this a bug, in that fish should suspend on C-Z (except for a login
shell, anyway)? A design decision? Or just something nobody has ever asked
for?
Thanks,
mike
On Tue, Aug 4, 2015 at 3:38 AM David Adam zanc...@ucc.gu.uwa.edu.au wrote:
On Tue, 4 Aug 2015, Mike Meyer wrote:
And I just gave myself an idea for an implementation:
function suspend
if status --is-login
echo cannot suspend login shell 2
else
kill -STOP
On Tue, Aug 4, 2015 at 6:33 AM Diego Zamboni di...@zzamboni.org wrote:
Valid use cases, although for most of those I’d prefer something like tmux
or screen.
Well, there are lots of alternative ways to do this that are better in
some cases. I pretty much stopped using screen (never used tmux)
And I just gave myself an idea for an implementation:
function suspend
if status --is-login
echo cannot suspend login shell 2
else
kill -STOP %self
end
end
Seems to work like a charm. Unless someone objects before I get back to a
terminal, I'll submit a pull request
On Tue, 4 Aug 2015, Mike Meyer wrote:
And I just gave myself an idea for an implementation:
function suspend
if status --is-login
echo cannot suspend login shell 2
else
kill -STOP %self
end
end
Seems to work like a charm. Unless someone objects before I
Hi Mike,
There doesn't seem to be a way to suspend a fish shell, ala the suspend
builtin in zsh, bash, etc. I'm wondering if this is a bug, and C-Z should
work (except in a login shell), or if it's a design feature. or if no one has
asked for it?
It works for me:
diego@cuper➜ sleep 50
On Tue, Aug 4, 2015 at 2:14 AM Diego Zamboni di...@zzamboni.org wrote:
Hi Mike,
There doesn't seem to be a way to suspend a fish shell, ala the suspend
builtin in zsh, bash, etc. I'm wondering if this is a bug, and C-Z should
work (except in a login shell), or if it's a design feature. or if
Valid use cases, although for most of those I’d prefer something like tmux or
screen.
—Diego
On Aug 4, 2015, at 1:05 PM, Mike Meyer m...@mired.org wrote:
On Tue, Aug 4, 2015 at 3:38 AM David Adam zanc...@ucc.gu.uwa.edu.au
mailto:zanc...@ucc.gu.uwa.edu.au wrote:
On Tue, 4 Aug 2015, Mike
On Tue, Aug 4, 2015, at 07:33 AM, Diego Zamboni wrote:
Valid use cases, although for most of those I’d prefer something like
tmux or screen.
Or dvtm [1] and abduco [2]
[1] http://www.brain-dump.org/projects/dvtm/
[2] http://www.brain-dump.org/projects/abduco/
--
http://www.fastmail.com - The
On Tue, Aug 4, 2015, at 04:28 AM, Mike Meyer wrote:
And I just gave myself an idea for an implementation:
function suspend
if status --is-login
echo cannot suspend login shell 2
else
kill -STOP %self
end
end
Brilliant. Thank you. I'm not a fish expert, so I
And to answer the implied question - C-Z isn't a fish thing, it's a tty
driver thing. It sends a TSTP signal to the controlling process. The
default action is to suspend the process, and transfer control back to the
first ancestor does some kind of job control. But you can get the same
effect
On Mon, Aug 3, 2015, at 04:19 PM, Mike Meyer wrote:
There doesn't seem to be a way to suspend a fish shell, ala the suspend
builtin in zsh, bash, etc. I'm wondering if this is a bug, and C-Z should
work (except in a login shell), or if it's a design feature. or if no one
has asked for it?
I
Tried before, but apparently my subscription hadn't taken.
There doesn't seem to be a way to suspend a fish shell, ala the suspend
builtin in zsh, bash, etc. I'm wondering if this is a bug, and C-Z should
work (except in a login shell), or if it's a design feature. or if no one
has asked for it?
13 matches
Mail list logo