summaryrefslogtreecommitdiff
path: root/bin/ls/print.c
AgeCommit message (Collapse)Author
2000-01-06In multi-column output, don't bother filling up last column before '\n'.Marc Espie
As a result, we gain one extra position to format multi-column output, since there is no added space at the end of the last column. For instance, 26 long filenames now print in 3 columns instead of 2. At first, both millert@ and I thought that ending the line on the last column might trigger trouble on some terminals, but then I realized that current ls may already fill the last column with a space, with no apparent grief anywhere, and Todd agreed.
2000-01-05Remove bogus chcnt assignments.Marc Espie
2000-01-05Perform colwidth computation sooner, as there's no need for randomMarc Espie
access if we end up doing one column output.
2000-01-05Factor column width computation out.Marc Espie
1999-05-01defer conversion of unprintable filenames till final display, permittingTheo de Raadt
badly named symbolic links to be handled; bug noted by dm@ fixed by d@
1999-02-20add -x, -p, and -m options, based on netbsd workTheo de Raadt
1998-08-15realloc bug fix and two other bugs found at the same timeTheo de Raadt
1998-05-18MAXPATHLEN not MAXPATHLEN+1Theo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-01-03From NetBSD:Todd C. Miller
- Correct sorting behaviour. - Do multicolumn output in a way that's a more likely to line up evenly. From D'Arcy J.M. Cain <darcy@druid.com>, NetBSD PR #2965.
1996-12-17Get TAB expansion rightThorsten Lockert
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02extra utmp.h goes away; tom@haven.uniserve.com in freebsdTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt