[comp.lang.c] lc or ls -c command

root@ozdaltx.UUCP (root) (02/12/90)

SCO XENIX - 286 V. 2.2.3
I'm working on an interactive program to read a directory, present the
files in that directory and mark them for reading (text files).  I
seem to be drawing a blank as how to display the file names in columns
of 4 of 5 across for display.  Has anyone done this?  What about
sorting then in alpha order before displaying?  Am I going to have to
allocate a huge array to hold the filenames?

The displayed files would be like those displayed using the lc or
ls -c  command, except using a highlight to select a file for reading.

Thanks in advance.....
Scotty
------
AIDS INFORMATION EXCHANGE BBS      (214) 247-2367/247-5609
               "Education is the best weapon"
     {ames,rutgers,texsun,smu}!attctc!ozdaltx!sysop