El jue 24 ene 2013 08:30:55 CET, Alexander V. Lukyanov escribió:
On Mon, Jan 21, 2013 at 03:34:03PM +0100, J1 Simón wrote:
IMHO, should have 3 commands:
cmd:at-exit-fg -> when foreground lftp exits
cmd:at-exit-bg -> when background lftp exits. (this exists)
cmd:at-exit -> when lftp foreground exits but it isn't backgrounded.

That's ok to add another setting. But changing semantics of an existing
setting is not good.

So let's add cmd:at-exit-fg which will be executed when lftp terminates
in foreground. cmd:at-exit will be executed when lftp either terminates
in foreground or moves to background, just like now.


But this way "at-exit" and "at-exit-fg" have almost the same behaviour. And it still doesn't exist a command to execute at totally finish of lftp (background and foreground).
Thanks.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to