[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unfinished command executed when TTY is closed
From: |
Steve Simmons |
Subject: |
Re: unfinished command executed when TTY is closed |
Date: |
Wed, 17 Dec 2014 16:08:52 -0500 |
On Dec 17, 2014, at 3:23 PM, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
> On Wed, Dec 17, 2014 at 03:16:53PM -0500, Steve Simmons wrote:
>> Advance apologies if I'm misunderstanding, but the described bug looks like
>> reasonable behavior to me.
>
> It would be more reasonable for bash (or ssh, I'm not sure at what level
> this handling should occur) to discard the partially typed line. Not
> to execute it.
You're right - I'd missed the fact that the user hadn't completed typing the
command when the session dropped. My error.
Re: unfinished command executed when TTY is closed, Piotr Grzybowski, 2014/12/18