K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-25T10:56:50.664434Z K 7 svn:log V 63 Tidy up this code by moving the TTY == NULL checks to the top. END