# Whois Desc file
# Copyright  Richard Butler 2001

tool_details_start
   name		"Whois";
   command_is	"whois";
   version	"1.00 (23 Nov 2001)";
   wimpslot	256k;
   has_extended_cmdline;
tool_details_end

metaoptions_start
   has_auto_run;
   has_auto_save     leafname from icn 3;
   has_text_window;
   has_summary_window;
metaoptions_end

dbox_start
   icons_start
      # Domain
      icn 3 maps_to string  not_saved;

      # Options:
      icn 4 maps_to "-a";         # search all databases
      icn 5 maps_to "-F";         # turn off recursive lookups
      icn 6 maps_to "-H";         # hide legal disclaimers
      icn 7 maps_to "-x";         # exact match [RPSL only]
      icn 8 maps_to "-l";         # one level less specific lookup
      icn 9 maps_to "-L";         # find all Less specific matches
      icn 10 maps_to "-M";        # find all More specific matches
      icn 11 maps_to "-m";        # find first level more specific mchs
      icn 12 maps_to "-R";        # show local copy of domain object
      icn 13 maps_to "-S";        # leave out syntactic sugar
      icn 14 maps_to "-d";        # return DNS reverse delegation
      icn 15 maps_to "-K";        # only primary keys are returned
      icn 16 maps_to "-V";        # Verbose

      # Writable Icon options:
      icn 17 maps_to "-h " string;  # Connect to server HOST
      icn 18 maps_to "-p " string;  # Connect to PORT
      icn 19 maps_to "-T " string;  # only look for objects of TYPE
      icn 20 maps_to "-s " string;  # search the database from SOURCE
      icn 21 maps_to "-t " string;  # request template for object TYPE
      icn 22 maps_to "-v " string;  # request verbose template for TYPE
      icn 23 maps_to "-i " string;  # do an inverse lookup for ATTR
   icons_end

   imports_start
      drag_to icn 3   inserts icn 3 separator_is " ";
      drag_to iconbar inserts icn 3 separator_is " ";
   imports_end
dbox_end

order_is icn 4, icn 5, icn 6, icn 7, icn 8, icn 9, icn 10, icn 11,
         icn 12, icn 13, icn 14, icn 15, icn 16, icn 17, icn 18,
         icn 19, icn 20, icn 21, icn 22, icn 23, icn 3;