OTHER: Small fixes to terminal width detection
OTHER: Small fixes to terminal width detection

Use STDOUT filedescriptor for width detection, as it's also used in the
isatty call
Only use TIOCGWINSZ constant if it's defined. This should be true on every
unix like system, but as TIOCGWINSZ is not defined in POSIX you never know

krad-radio/xmms2-krad,chrippa/xmms2,theeternalsw0rd/xmms2,xmms2/xmms2-stable,xmms2/xmms2-stable,mantaraya36/xmms2-mantaraya36,theeternalsw0rd/xmms2,theeternalsw0rd/xmms2,chrippa/xmms2,mantaraya36/xmms2-mantaraya36,oneman/xmms2-oneman,oneman/xmms2-oneman,xmms2/xmms2-stable,krad-radio/xmms2-krad,chrippa/xmms2,mantaraya36/xmms2-mantaraya36,theefer/xmms2,mantaraya36/xmms2-mantaraya36,theefer/xmms2,mantaraya36/xmms2-mantaraya36,theeternalsw0rd/xmms2,oneman/xmms2-oneman,oneman/xmms2-oneman,theefer/xmms2,theefer/xmms2,theefer/xmms2,xmms2/xmms2-stable,theeternalsw0rd/xmms2,krad-radio/xmms2-krad,theefer/xmms2,chrippa/xmms2,theefer/xmms2,oneman/xmms2-oneman,oneman/xmms2-oneman,oneman/xmms2-oneman,chrippa/xmms2,krad-radio/xmms2-krad,theeternalsw0rd/xmms2,six600110/xmms2,six600110/xmms2,krad-radio/xmms2-krad,krad-radio/xmms2-krad,six600110/xmms2,chrippa/xmms2,mantaraya36/xmms2-mantaraya36,six600110/xmms2,mantaraya36/xmms2-mantaraya36,xmms2/xmms2-stable,six600110/xmms2,six600110/xmms2,xmms2/xmms2-stable