Ticket #4099 (closed defect: fixed)

Opened 4 years ago

Last modified 7 weeks ago

In subshell on Solaris 11.4 SPARC terminal size is always 80x24.

Reported by: shurik005 Owned by: andrew_b
Priority: major Milestone: 4.8.25
Component: mc-tty Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

The tty_resize function (lib/tty/tty.c) use the TIOCSWINSZ definition, but in Solaris 11.4 SPARC this is defined in termios.h. If add #include <termios.h> and compile on Solaris 11.4 SPARC, then the terminal size will be correct on startup/resize.

Change History

comment:1 Changed 4 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from Future Releases to 4.8.25

comment:2 Changed 4 years ago by andrew_b

  • Votes for changeset set to shurik005 andrew_b
  • Branch state changed from no branch to approved

Branch: 4099_tiocswinsz_solaris
changeset:c7fc6c9718ed3f5cc53bb1594308aa33e3480830

comment:3 Changed 4 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from shurik005 andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:4 Changed 4 years ago by andrew_b

  • Status changed from testing to closed

Thanks!

comment:5 Changed 7 weeks ago by zaytsev

Probably the fix for #2907.

Note: See TracTickets for help on using tickets.