Overview
| Comment: | Stripped down to just representations menu - see mtt_make_menu |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
60ea7e4abfec5844765fd32bf0b9da4a |
| User & Date: | gawthrop@users.sourceforge.net on 1999-08-18 06:15:48.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1999-08-18
| ||
| 06:17:14 | Initial revision check-in: aa9c74c6de user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 06:15:48 | Stripped down to just representations menu - see mtt_make_menu check-in: 60ea7e4abf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
1999-08-17
| ||
| 04:10:38 | Removed the -u switch from cp - it doesnt work on non GNU cps check-in: af89bafffa user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/reps_txt2tk
from [48cec506ae]
to [069e67f88c].
| ︙ | ︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 | # Copyright (c) P.J.Gawthrop, 1998 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 1998/10/20 08:13:14 peterg ## Initial revision ## ############################################################### | > > > < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# Copyright (c) P.J.Gawthrop, 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 1999/03/09 00:03:19 peterg
## Revisions for xmtt
##
## Revision 1.1 1998/10/20 08:13:14 peterg
## Initial revision
##
###############################################################
# Create reps menu
awk '{
# Important representation?
if (index($1,"*")) {
rep=substr($1,1,length($1)-1);
printf("\n# Menus for representation %s\n", $1)
printf(".rep.rep add cascade -label \"%s\" -menu .rep.rep.%s\n", rep, $1);
printf("menu .rep.rep.%s\n", $1);
|
| ︙ | ︙ | |||
119 120 121 122 123 124 125 |
printf("menu .repall.repall.%s\n", rep);
for (i=2;i<=NF;i++) {
printf(" set mtt {mtt $args $system %s %s} \n", rep, $i);
printf(".repall.repall.%s add command -label \"%s\" ", rep, $i);
printf(" -command \"exec echo $mtt &; exec $mtt &\" \n");
}
}
| | | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
printf("menu .repall.repall.%s\n", rep);
for (i=2;i<=NF;i++) {
printf(" set mtt {mtt $args $system %s %s} \n", rep, $i);
printf(".repall.repall.%s add command -label \"%s\" ", rep, $i);
printf(" -command \"exec echo $mtt &; exec $mtt &\" \n");
}
}
}'
|