Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-11 Thread Chris Johns
On 12/1/2024 12:59 am, Peter Dufault wrote: >> On Jan 10, 2024, at 7:05 PM, Chris Johns wrote: >> >>> I changed the code to use VTIME of 1 (1/10 second, or 100 msec) instead of >>> 0. That lets TERMIOS do the character arrival timeout instead of using a >>> delay in a loop that resets -

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-11 Thread Peter Dufault
> On Jan 10, 2024, at 7:05 PM, Chris Johns wrote: > >> I changed the code to use VTIME of 1 (1/10 second, or 100 msec) instead of >> 0. That lets TERMIOS do the character arrival timeout instead of using a >> delay in a loop that resets - essentially duplicating VTIME != 0 VMIN == 0. >>

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-10 Thread Chris Johns
On 6/1/2024 7:56 am, Peter Dufault wrote: >> On Jan 5, 2024, at 1:36 PM, Peter Dufault wrote: >> >> I "#if 0"d out the call to "rtems_shell_term_row_column_swapped()" that >> checks for a broken "tmux" terminal. That is what sends "\033[>0q" to the >> console. I no longer see "0q" on the

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-05 Thread Peter Dufault
> On Jan 5, 2024, at 1:36 PM, Peter Dufault wrote: > > I "#if 0"d out the call to "rtems_shell_term_row_column_swapped()" that > checks for a broken "tmux" terminal. That is what sends "\033[>0q" to the > console. I no longer see "0q" on the console but there is still a long pause >

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-05 Thread Peter Dufault
> On Jan 4, 2024, at 8:01 PM, Joel Sherrill wrote: > > > Commit 7260887fa989c0141e7265cd851e00b4101410d8 "Work around tmux bug in > row and column" introduced 150ms timeout(usleep(1000) 150 times). I > tested On my board, the exact delay is about 300ms. Timeout (in process > shell

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-04 Thread Joel Sherrill
On Thu, Jan 4, 2024, 5:47 PM zhengxiaojun <17935...@qq.com> wrote: > > > 在 2024/1/5 4:25, Peter Dufault 写道: > > I guess maybe the list went down for a while. I sent this on 12-30, and > just got a bounce message today and no "devel" mail until today. > > > > On master when I type a shell

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-04 Thread zhengxiaojun
在 2024/1/5 4:25, Peter Dufault 写道: I guess maybe the list went down for a while. I sent this on 12-30, and just got a bounce message today and no "devel" mail until today. On master when I type a shell command at the console there is a pause, rough timing: - Three second pause after

Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-04 Thread Peter Dufault
I guess maybe the list went down for a while. I sent this on 12-30, and just got a bounce message today and no "devel" mail until today. On master when I type a shell command at the console there is a pause, rough timing: - Three second pause after hitting return; - "0q" shows up on the