-
roarde
How do I get terminal-width, in characters, from the command-line?
-
igork
echo $LINES $COLUMNS
-
roarde
what happens if i printenv COLUMNS?
-
roarde
I'm used to the COLUMNS variable being shell-dependent, which I'll avoid.
-
yuripv
roarde: stty -a
-
roarde
thanks yuripv, but i'm mainly looking for something portable. stty -a output varies.
-
yuripv
(or just stty, don't know of a way to print just that)
-
yuripv
I see, indeed it's different for me on illumos and freebsd
-
roarde
settled on 'tput cols'. want better, but i don't think there is such.
-
roarde
netbsd's tput doesn't claim it, but i bet it's there.
-
sjorge
-
fenix
→ CODE REVIEW 2565: 15271 want tunable to force viona to always copy tx buffers (NEW) |
illumos.org/issues/15271
-
sjorge
Not sure how many +1's I need
-
sjorge
So far I got one from tsoome
-
tsoome
ideally some 2-3, but as patch approval is also de-facto review, this one is enough;)
-
tsoome
with this small developers community, the review process as an procedure can be quite ineffective.
-
sjorge
i'll give it a few more days and do the rti mail later this week
-
sjorge
Not had a single hang after enabling this workaround and not seen any real world
-
sjorge
performance drop
-
sjorge
at least doe my use case
-
sjorge
s/doe/for/
-
tsoome
:) alias xs="echo get some sleep"
-
Smithx10
anyway oveer ipmi to refresh the screen? When our server is in the middle of writing out the dump, I believe if you hit a key to refresh the screen it cancels it and bounces
-
Smithx10
I'm guessing I could use the VGA oob from the browser, but not a big fan of the browser
-
nahamu
-
nahamu
I
-
nahamu
'm pretty sure I've used that on both Linux and illumos machines.
-
yuripv
that's setting, not reading
-
nahamu
the first part of it detects the current terminal dimensions. It's very useful when connecting to a VM serial console from a terminal larger than the defaults that the system assumes.
-
richlowe
yeah, that's a super useful little script
-
tsoome
nahamu it also does work from video console;)
-
richlowe
if people want bitesize bugs, #15298 (fenix?)
-
fenix
BUG 15298: ::sigbp should accept signal names in lower case (New)
-
fenix
-
richlowe
that one's driving me crazy :)
-
richlowe
(do we have some easy list from the redmine settings that we can link to?)