386BSD 0.1 development
[unix-history] / usr / local / lib / utree.startup
CommitLineData
695c3b3a
WJ
1#
2# $HOME/.utree or $UTLIB/utree
3# Example startup file for UTREE 3.00-um
4# klin, Sat Apr 20 11:23:16 1991
5# Directory: user's home directory ($HOME)
6# or a library directory ($UTLIB)
7
8# General variables: variable=value
9SHELL=ksh #Shell for shell escape
10ED=mg #My favourite editor
11EO=-s #Editor options
12PG=less #My favourite pager
13PO=-e #Pager options
14# User defined tree commands: variable=value #Menuitem comment
15TREECMD1=whodo #Whodo Who is doing what
16T2=ps -ef #Procs Process status
17T3=df -t #Space Disk space
18T4=rwho #Rwho Who is on the net
19T5=ruptime #Rupt Nodes on the net
20# User defined file commands: variable=value #Menuitem
21FILECMD1=whodo #Whodo Who is doing what
22F2=ps -ef #Procs Process status
23F3=df -t #Space Disk space
24F4=rwho #Rwho Who is on the net
25F5=ruptime #Rupt Nodes on the net
26F6=wc -l %F #Lines Lines of the current file
27F7=make %F #Make Make the current file
28# Filetype dependent commands: filetype:commandline #Comment
29*.c:cc -c -O %F #Compile C
30*.f:f77 -c %F #Compile fortran
31*.p:pc -c -O %F #Compile pascal
32*.sc:sc %F #Spreadsheet calculator
33*.mk:make -f %F %s #Call make for file.mk
34[Mm]akefile:make %s #Call make for Makefile or makefile
35*.[1-9]:nroff -man %F|pg -cen #View manual page
36*.z:pcat %F|pg -cen #View packed files
37*.Z:zcat %F|pg -cen #View compressed file
38*.a:ar tv %F|pg -cen #Table of ar archive
39*.tar:tar tvf %F|pg -cen #Table of tar archive
40*.tar.Z:zcat %F|tar -tvf -|pg -cen #Table of compressed tar archive
41*.[1-9].Z:zcat %F|nroff -man|pg -cen #View compressed manual page