Commit | Line | Data |
---|---|---|
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 | |
9 | SHELL=ksh #Shell for shell escape | |
10 | ED=mg #My favourite editor | |
11 | EO=-s #Editor options | |
12 | PG=less #My favourite pager | |
13 | PO=-e #Pager options | |
14 | # User defined tree commands: variable=value #Menuitem comment | |
15 | TREECMD1=whodo #Whodo Who is doing what | |
16 | T2=ps -ef #Procs Process status | |
17 | T3=df -t #Space Disk space | |
18 | T4=rwho #Rwho Who is on the net | |
19 | T5=ruptime #Rupt Nodes on the net | |
20 | # User defined file commands: variable=value #Menuitem | |
21 | FILECMD1=whodo #Whodo Who is doing what | |
22 | F2=ps -ef #Procs Process status | |
23 | F3=df -t #Space Disk space | |
24 | F4=rwho #Rwho Who is on the net | |
25 | F5=ruptime #Rupt Nodes on the net | |
26 | F6=wc -l %F #Lines Lines of the current file | |
27 | F7=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 |