--- nam-1.0a3/main.cc Wed Nov 5 22:08:04 1997 +++ src/nam-1/main.cc Wed Nov 19 21:02:56 1997 @@ -396,7 +396,7 @@ FILE *fp = fopen(".nam.tcl", "r"); if (fp != NULL) { fclose(fp); - tcl.EvalFile(configFile); + tcl.EvalFile(".nam.tcl"); } // User-supplied configuration files --- nam-1.0a3/anetmodel.cc Wed Nov 5 22:08:04 1997 +++ src/nam-1/anetmodel.cc Wed Nov 19 20:59:33 1997 @@ -131,7 +131,9 @@ placeEverything(); for (NetView *p = views_; p != 0; p = p->next_) - p->redrawModel(); + if ((p->width() > 0) && (p->height() > 0)) + // XXX assume this means tk is being initialized + p->redrawModel(); } // do several passes of embedding --- nam-1.0a3/trace.cc Mon Nov 10 12:11:25 1997 +++ src/nam-1/trace.cc Wed Nov 19 17:10:20 1997 @@ -33,7 +33,7 @@ #ifndef lint static char rcsid[] = -"@(#) $Header: /usr/src/mash/repository/vint/nam-1/trace.cc,v 1.11 1997/11/10 20:11:21 haoboy Exp $ (LBL)"; +"@(#) $Header: /usr/src/mash/repository/vint/nam-1/trace.cc,v 1.12 1997/11/20 01:10:33 haoboy Exp $ (LBL)"; #endif #include @@ -122,6 +122,7 @@ * trace event. */ mintime_ = nextTime(); + now_ = mintime_; State::instance()->setTimes(mintime_, maxtime_); } --- nam-1.0a3/nam.1 Mon Nov 10 12:11:15 1997 +++ src/nam-1/nam.1 Sat Nov 15 12:27:06 1997 @@ -1,5 +1,5 @@ .\" -.\" @(#) $Header: /usr/src/mash/repository/vint/nam-1/nam.1,v 1.4 1997/11/10 20:11:16 haoboy Exp $ (LBL) +.\" @(#) $Header: /usr/src/mash/repository/vint/nam-1/nam.1,v 1.5 1997/11/15 20:27:14 haoboy Exp $ (LBL) .\" .\" Copyright (c) 1991,1993 Regents of the University of California. .\" All rights reserved. @@ -414,6 +414,8 @@ -c is the conversation id. .br -i is the packet id in the conversation. +.br +-a is the packet attribute, which is currently used as color id. Additional flags may be added for some protocols. This list may be extended as required: @@ -427,7 +429,7 @@ .IP "Link/Queue State" -l -t