[haiku-bugs] [Haiku] #9606: Terminal: 'tput cols' always shows 80

  • From: "zzzzz" <trac@xxxxxxxxxxxx>
  • Date: Tue, 02 Apr 2013 23:28:02 -0000

#9606: Terminal: 'tput cols' always shows 80
--------------------------------------+------------------------------
 Reporter:  zzzzz                     |        Owner:  jackburton
     Type:  bug                       |       Status:  new
 Priority:  normal                    |    Milestone:  R1
Component:  Applications/Terminal     |      Version:  R1/Development
 Keywords:  Termcap Terminfo ncurses  |   Blocked By:
 Blocking:                            |  Has a Patch:  0
 Platform:  x86                       |
--------------------------------------+------------------------------
 In Terminal 'tput cols' command always shows 80. No matter, if resized
 manually or by setting from the menu. Seems to me like hardcoded
 value.[[BR]]

 On the other hand the output of 'tput cols' on Linux, say under konsole,
 after window having been resized is updated to the current value of
 terminal emulator window width in chars. [[BR]]

 Tested on hrev45428 gcc4 x86, ticket filled as suggested on IRC by diver.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9606>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: