Experimental Physics and Industrial Control System
On 06/18, Johnson, Andrew N. wrote:
> On Jun 18, 2020, at 2:24 PM, J. Lewis Muir <jlmuir at imca-cat.org> wrote:
> > If you're asking whether tmux can log, the answer is yes, using the
> > pipe-pane command.
>
> No, I’m asking what tmux does if you run an IOC in it that generates messages occasionally, then use the ability to look back in its scroll-back buffer and leave your window scrolled to the very beginning of the buffer for a long time after the buffer has reached its size limit. Does it eventually freeze the IOC by imposing flow-control on the stdout/stderr stream from the IOC?
Ooh, that wouldn't be good. :-) Didn't know about such an issue. I
looked, and it appears that tmux did have an issue like that, but it was
fixed with commit bee3e3e in tmux 2.3 (released on Sep 29, 2016):
https://github.com/tmux/tmux/commit/bee3e3e28d04a237b1013b1dd3d36cddcd326891
The fix adds a timer that will automatically exit out of copy mode
(i.e., the scrollback buffer) after three minutes of inactivity and if
there is pending output.
I confirmed that the timer works in tmux 3.1b on RHEL 7.
Strangely, the timer does *not* work in tmux 3.1b on macOS Catalina
10.15.5. Not sure why. I'll have to investigate.
Interestingly, there's commit 77b827f that removes the timer logic and
instead makes a copy of the pane's history for copy mode:
https://github.com/tmux/tmux/commit/77b827f879e4dc296996b3f4345c38a7a57caf48
But that commit does not seem to have made it into a release yet.
Lewis
- References:
- Re: How to run IOC in docker containers properly Ben Franksen via Tech-talk
- Re: How to run IOC in docker containers properly J. Lewis Muir via Tech-talk
- Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Re: How to run IOC in docker containers properly Konrad, Martin via Tech-talk
- Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Re: How to run IOC in docker containers properly Ralph Lange via Tech-talk
- Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Re: How to run IOC in docker containers properly J. Lewis Muir via Tech-talk
- Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
Re: How to run IOC in docker containers properly Michael Davidsaver via Tech-talk
- Next:
Re: RE: No PV record found when build ASYN application on Windows shenzb--- via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: How to run IOC in docker containers properly Jeong Han Lee via Tech-talk
- Next:
Re: How to run IOC in docker containers properly Ben Franksen via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024