Re: [tkined] FAQ comments

Doug Hughes (Doug.Hughes@Eng.Auburn.EDU)
Thu, 28 May 1998 13:22:57 -0500

>On Thu, 28 May 1998, Doug Hughes wrote:
>
>(I said:)>
>> >Reading through the FAQ the following is not clear:
>> >In section 28 "Where do I define SNMP aliases?"
>> >and section 29 "How do I add another MIB to the SNMP engine?"
>> >there's mention of the site specific initialization file
>> > $tnm(library)/site/init.tcl
>> >but no mention of what $tnm(library)/site in the path means!
>
>Doug>
>> launch scotty, or load tnm and then do
>> puts $tnm(library). It should be /usr/local/lib/tnm2.1.9/library in
>> your case.
>
>Me>
>> >I have a /usr/local/lib/tnm2.1.9/library directory (on my installation
>> >into the default locations) -- is that what $tnm(library) means?
>> >
>
>Thanks Doug, so I guessed right -- but I think the FAQ could spell it out
>without relying on the reader knowing enough Tcl to tease it out of the
>system! (I once heard a system developer say "The documentation is in the
>code" then a while later when the user said they couldn't find it the
>developer said "sorry, what I meant to say was 'the documentation _is_ the
>code'" :-) I hope Scotty isn't like this!)
>

Well, a lot of code uses this convention $code_library or $code(library)
which will refer to the base directory and either a lib or library
subdirectory therein.

>Me>
>> >There's an init.tcl file in there, but it also refers to a site/init.tcl
>> >file. Where should this 'site' directory be? Is it a subdirectory of my
>> >/usr/local/lib/tnm2.1.9/library dir? And is 'site' its literal name, or
>
>Doug> site is literal.
>
>So I mkdir /usr/local/lib/tnm2.1.9/library/site ?
>And create init.tcl in it ?
>

basically, or edit /usr/local/lib/tnm2.1.9/library/init.tcl

>> >There's also mention of a ~/.scottyrc file but I can't find any other
>> >reference to it in the FAQ. It's also mentioned in the Tnm man page, but
>> >again I can't find any more information.
>> >
>> You can put tnm commands or any valid Tcl command or proc in it. Mine looks like this:
>---8<---- snip ---8<---
>
>Thanks again --- that would be useful to have in the FAQ!
>

I think this also is assumed. I'm not sure it falls under the 'F' category
in FAQ.

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.