Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site mtuxn.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtuxn!rubin From: rubin@mtuxn.UUCP (M.RUBIN) Newsgroups: net.bugs.usg Subject: SVR2.2 "ls" bug Message-ID: <595@mtuxn.UUCP> Date: Thu, 25-Jul-85 17:34:05 EDT Article-I.D.: mtuxn.595 Posted: Thu Jul 25 17:34:05 1985 Date-Received: Sat, 27-Jul-85 00:05:20 EDT Organization: AT&T Information Systems, Holmdel NJ Lines: 12 Bug found on a 3B2 running System V release 2.2 (I don't have any other SVR2.2 machines to compare with): When using any of the multi-column modes of "ls" (e.g. -x or -C), the column spacing is normally (length of longest filename in listing + 2). However, if any of the filenames being listed are the maximum length for a filename (14 chars), the column spacing suddenly becomes 44 chars. On an 80-char-wide terminal this means a one-column listing. Probable cause: there are two different constants for maximum widths of things, and the programmer used the wrong one someplace. I don't have source to fix it.