Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

wrong LINES, COLUMNS



koen.van_hoo1@xxxxxxxxx writes:
 > 
 > Recently it did install some patches on our servers, which caused 
 > ioctl(SHTTY, TIOCGWINSZ, (char *)&shttyinfo.winsize)
 > to return an error.
 > In that case ws_row and ws_col in shttyinfo.winsize are set to 0 in Src/utils.c, 
 > and a lot off tools like vi, more, less, ... don't work properly anymore.
 > 
You didn't say which server you are talking about.  Might it be
Solaris 2.6 and you installed latest kernel jumbo patch which has
identical problem you just described?

4843340 patch 105181-34 /kernel/strmod/ptem returns EINVAL for
	TIOCGWINSZ ioctl

  Tomppa



Messages sorted by: Reverse Date, Date, Thread, Author