what algorothm does ls use for sizing output row/column format?

John Beaudin john at beaudin.UUCP
Tue May 7 14:36:06 AEST 1991


I mean: how does ls determine how many rows & columns to use for the
output? Assume a display width of w and a maximum filename length of n.
I don't have access to the src and always wondered.
-- 
"The Battle of the Gulf was won on the playing fields of Atari" - J. Beaudin
My permanent .signature is awaiting apropriate display technology



More information about the Comp.unix.questions mailing list