Re: 2 short questions about scotty

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Fri, 22 Nov 1996 22:43:33 +0100

Damien WETZEL <frs0139@trt-philips.fr> said:

Damien> 1) I m using scotty to test our private mib in which we
Damien> got Display String whose lenght is defined as
Damien> SYNTAX DisplayString (SIZE(0..8)) for example
Damien> my question is : is there a way of knowing the size permitted
Damien> for the Display String inside Scotty (mib tc doesn't tell it)
Damien> ?

You can't access ASN.1 type restrictions. This is on my TODO list but
it currently has low priority.

Damien> 2)I just tried the scotty 2.1.1 in line and when i type
Damien> % mib succ ip
Damien> it asks me to type the complete command mib successor unlike
Damien> the scoty 2.0.1 is there a way to avoid this ?

You can change the C source code to accept whatever you like. :-)

I removed all the abbreviations several months ago because they can
create ambiguities if new command options are added. This means that
existing scripts can break in unexpected ways when upgrading to a new
version. I must admit that "successor" is a bit long. However, I don't
want to make any exceptions to the rule "no abbreviations".

Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)