https://bugzilla.novell.com/show_bug.cgi?id=304282 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=304282#c10 --- Comment #10 from Michael Schröder <mls@novell.com> 2008-04-17 05:09:03 MST --- FYI: The standard way to get the width is: 1) do a TIOCGWINSZ ioctl on fd 1 (this is what the stty command does, see also the tty_ioctl man page). If it succeeds and doesn't return 0 in the ws_col element, you have your width. 2) otherwise check the COLUMNS environment variable. If it is set and not zero, use it. 3) otherwise assume a line length of 80. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.