Re: [PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2022-08-27 Thread Pali Rohár
On Monday 13 September 2021 15:02:50 Wolfgang Denk wrote: > Dear Pali Rohár, > > In message <20210913122245.my6ik4yjy7rwlh65@pali> you wrote: > > > > Timeout is not too slow, but sometimes user is (when is interrupted by > > other things during selecting file). And then it is not obvious why > > s

Re: [PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2021-09-13 Thread Tom Rini
On Mon, Sep 13, 2021 at 01:08:06PM +0200, Pali Rohár wrote: > On Monday 13 September 2021 12:42:42 Wolfgang Denk wrote: > > Dear Pali Rohár, > > > > In message <20210910204653.3066-1-p...@kernel.org> you wrote: > > > Now when command loady can be aborted / cancelled by CTRL+C, change wait > > > ti

Re: [PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2021-09-13 Thread Wolfgang Denk
Dear Pali Rohár, In message <20210913122245.my6ik4yjy7rwlh65@pali> you wrote: > > Timeout is not too slow, but sometimes user is (when is interrupted by > other things during selecting file). And then it is not obvious why > sx/sb command is failing... compared to transfer via gkermit which do > n

Re: [PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2021-09-13 Thread Pali Rohár
On Monday 13 September 2021 14:12:54 Wolfgang Denk wrote: > Dear Pali Rohár, > > In message <20210913110806.27hc36n6gmhw6uq4@pali> you wrote: > > > > > If you use loady in any kind of scripts, this would now hard hang > > > the system, while until now it was possible to recover from the > > > erro

Re: [PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2021-09-13 Thread Wolfgang Denk
Dear Pali Rohár, In message <20210913110806.27hc36n6gmhw6uq4@pali> you wrote: > > > If you use loady in any kind of scripts, this would now hard hang > > the system, while until now it was possible to recover from the > > error. > > Yes, this is a good point. But on the other hand, 'loadb' and 'lo

Re: [PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2021-09-13 Thread Pali Rohár
On Monday 13 September 2021 12:42:42 Wolfgang Denk wrote: > Dear Pali Rohár, > > In message <20210910204653.3066-1-p...@kernel.org> you wrote: > > Now when command loady can be aborted / cancelled by CTRL+C, change wait > > timeout for initial packet to infinite. This would allow user to not be >

Re: [PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2021-09-13 Thread Wolfgang Denk
Dear Pali Rohár, In message <20210910204653.3066-1-p...@kernel.org> you wrote: > Now when command loady can be aborted / cancelled by CTRL+C, change wait > timeout for initial packet to infinite. This would allow user to not be > hurry when locating file which want to send. Commands loadb and load

[PATCH 1/2] xyz-modem: Wait infinitely for initial y-modem packet

2021-09-10 Thread Pali Rohár
Now when command loady can be aborted / cancelled by CTRL+C, change wait timeout for initial packet to infinite. This would allow user to not be hurry when locating file which want to send. Commands loadb and loads already waits infinitely too. Signed-off-by: Pali Rohár --- common/xyzModem.c | 8