Re: [mpg123-devel] Please test new network code in/out of mpg123 (now with HTTPS support)!
Brought to you by:
sobukus
From: Dave Y. <dav...@gm...> - 2022-05-18 14:21:36
|
On 05/17/22 10:33 PM, Thomas Orgis wrote: > Am Tue, 17 May 2022 17:30:35 -0700 > schrieb Dave Yeo <dav...@gm...>: > >>> So with widened terminal, the line fits, but it does still scroll? >> >> Had to double check as I previously pressed q too quick. No it doesn't >> scroll and works much as expected, though really I should test on Linux. >> The cut off is 83 chars, so with a 82 char wide terminal it scrolls, at >> 83 char it doesn't unless have -vvvvvvv > > That is wrong. Two points: > > 1. Our OS2 term_width() does not work. > 2. The stat line should be 80 characters long and fit int 82! > > > To the first one, please update to current trunk (r5088), run with > -vvv and check for > > Note: stderr terminal width: 138 > > (right after playlist printout) and I don't see this, after playlist I see, ... f:/sounds/mp3/Three_Dead_Trolls Note: Disabling all formats. Note: default format 44100 Hz, 2 channels, s16 Note: output support for 8000 Hz, 1 channels: 0xd1 Note: Want to enable format 8000/1 for encodings 0xd1. Note: output support for 8000 Hz, 2 channels: 0xd1 Note: Want to enable format 8000/2 for encodings 0xd1. ... > > Note: readjusting for smaller terminal (90 to 89) > > each time when you reduce the terminal width in this verbose mode. Get the same as above with different terminal widths. It's possible that it scrolled off the screen, though I tried piping stderr and stdout through tee and logging it and still don't see it. > > > To the second … is this a full line for you? > > 00104+10114 00:02.71+04:24.20 --- 100=100 112 kb/s 366 B acc 0 clip p+0.000 The output is prefixed with "> " without the quotes. Confusing in an email as most mail programs use the same prefix for quoting in a reply. > > Because that is exactly 80 characters. It should not scroll on 82 char > terminal. The terminal may also scroll after a line exceeds 79 chars. Yes testing echoing exactly 80 chars gives an extra line before returning to the prompt compared to 79 chars. Dave |