GNU bug report logs - #35212
problem docs vs. implementation

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Wed, 10 Apr 2019 00:33:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: L A Walsh <coreutils <at> tlinx.org>
To: 35212 <at> debbugs.gnu.org
Subject: bug#35212: problem docs vs. implementation
Date: Tue, 09 Apr 2019 17:31:44 -0700
My console becomes 121 characters wide when I turn on
unicode, but stty says it is 132 characters.

Looking at the stty manpage, I see:
Special settings:
...
       * cols N
              tell the kernel that the terminal has N columns

       * columns N
              same as cols N
---
I thought 'cool', I'll tell the kernel its only 121 characters.

I end up with :
> echo $TTY
> /dev/tty1
> stty cols 121
stty: 'standard input': Invalid argument

So .. why can't I tell the kernel how many columns my tty is?







This bug report was last modified 6 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.