Draw tree in curses for UNIX

Don Ingli AGRISCS at umcvmb.missouri.edu
Fri Dec 8 07:03:23 AEST 1989


I have been off/on working on a draw tree in unix.  It is really simple
if I would just get back to it...

Basicly obtain your data via
du -ra | awk '{ print $2} '

And then build your linklist and curses code... then you can do system
calls from then on....

As for un-eraseing unrm a file in unix....
If you remember your DOS, if you continue to use a disk that has an
'erased' file on it, eventually the location on the disk that the file
was in will be written over...  A little tough for UNIX due to MANY
users using the disk and possibly overwriting that space before you
can blink your eye!

There are some utilities at simtel20.arpa via ftp.. one is
a drawtree in curses  (there was a simple drawtree in a netwroking issue of
                       UNIX/WORLD this year.. I forgot which issue )

and rm/unrm...  which looks like it just mv-s the file to a trash directory
and then after xdays will erase the file...

I am having trouble getting those transfered and un-compressed...


+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
|  DON INGLI                                                           |
|  UNITED STATES DEPARTMENT OF AGRICULTURE - SOIL CONSERVATION SERVICE |
|  WORK: (314) 875-5344      FAX: (314) 875-5335                       |
|                                                                      |
| bitnet: agriscs at umcvmb.bitnet  internet: agriscs at umcvmb.missouri.edu |
| attmail: attmail!attbl!arpa!umcvmb.missouri.edu!agriscs              |
|                                                                      |
| ALL OPINIONS IN THIS NOTE ARE OF MY OWN AND DO NOT REPRESENT THE     |
| FEDERAL GOVERNMENT OR THE UNIVERSITY OF MISSOURI-COLUMBIA            |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+



More information about the Comp.unix.questions mailing list