HDTenEightyP/NetNews huggingface dataset:
From: tdoan@bnr.ca (Tuan Doan)
Subject: Setting resource for widget?
Date: Wed, 6 Jan 1993 23:58:50 GMT
Organization: Bell-Northern Research, Richardson, Tx.
Keywords:  RESOURCE, FONT, WIDGETS, TCL/TK

Hello,
 
   Does anyone know of a way to set a resource to a particular widget class?
For example, I would like to set the font for the button widget class with-
out manually doing it for every button widgets.  
   Also is there a shell's environment variable (TCL_LIBRARY or TK_LIBRARY) 
used to indicate where the *.tcl startup files to be read by TCL or TK.  I
have to install TCL/TK on many machines, in different directories; and
having hardcoded pathname is not very nice.

Thanks,

 __  __/  /   /   __  /    |   /    Tuan T. Doan
    /    /   /   /   /   / |  /     Advance Signalling Design
   /    /   /   __  /   /  | /      2201 Lakeside Blvd.  P.O. Box 833871
__/  ______/ __/ __/ __/  __/       Richardson, TX 75083-3871
                                    Phone: 6-444-4575/214-684-4575
Internet:  tdoan@bnr.ca             Fax:   6-444-3716/214-684-3716
      or   tdoan@x400gate.bnr.ca    
Newsgroups: comp.lang.tcl
From: lwv26@cas.org (Larry W. Virden)
Subject: Differences in the comp.lang.tcl Frequently Asked Questions 
Followup-To: comp.lang.tcl
Reply-To: lvirden@cas.org (Larry W. Virden)
Organization: Nedriv Software and Shoe Shiners, Uninc.
Date: Tue, 12 Jan 1993 14:03:52 GMT

Sorry that I didn't have more updates this month - it's been hectic!
I am still looking for folks who would like to champion one of the
3 portions of the FAQ - become a net hero!  Contact me for details.

--- old.tcl-faq.p01	Fri Dec 11 08:38:45 1992
+++ tcl-faq.p01	Tue Jan 12 08:44:41 1993
@@ -2,7 +2,7 @@
Path: lvirden
 From: lvirden@cas.org (Larry W. Virden)
 Subject: comp.lang.tcl Frequently Asked Questions (1/3)
-	 (Last updated: December 11, 1992)
+	 (Last updated: January 12, 1992)
 Followup-To: comp.lang.tcl
 Summary: A regular posting of the comp.lang.tcl Frequently Asked Questions 
 	(FAQ) and their answers.  This is the first of three parts.
@@ -14,8 +14,8 @@
 Approved: news-answers-request@MIT.Edu
 
 Archive-name: tcl-faq/part1
-Version: 2.6
-Last-modified: December 11, 1992
+Version: 2.7
+Last-modified: January 12, 1992
 
 
 Index of questions:
@@ -59,7 +59,7 @@
 Subject: -1- What is Tcl?  Tk?  Extended Tcl?  How does Tcl compare
 		against language XXX?
 
-	Tcl (version 6.4) stands for ``tool command language'' and is
+	Tcl (version 6.5) stands for ``tool command language'' and is
 pronounced ``tickle.'' It is actually two things: a language and a
 library.  First, Tcl is a simple textual language, intended primarily
 for issuing commands to interactive programs such as text editors,
@@ -97,13 +97,13 @@
 forth.  The common Tcl language framework makes it easier for
 applications to communicate with one another.
 
-	Tk 2.3 - an extension to Tcl which provides the programmer with
+	Tk 3.0 - an extension to Tcl which provides the programmer with
 an interface to the X11 windowing system.  Note that many users will
 encounter Tk via the ``wish'' command.  Wish is a simple windowing
 shell which permits the user to write Tcl applications in a prototyping
 environment.
 
-	Extended Tcl (tclX) 6.4c-p1 - This extended set of commands are
+	Extended Tcl (tclX) 6.5c - This extended set of commands are
 provided by NeoSoft, and provide additional Unix system interfaces to
 the Tcl programmer.  Many users will encounter Tcl via the ``tcl''
 command - an interactive Tcl command interpreter.
@@ -116,11 +116,12 @@
 a. Unix
 
 	Tcl runs on Suns and SunOS, DECstations running Ultrix, Dec
-VAXen running Ultrix or BSD, 386s running SCO Unix, Xenix, Bell-Tech,
-Silicon Graphics running IRIX, HPs running HP-UX, Sequent Symmetry
-running Dynix.  See the porting section below for info on porting the
-code to VMS as well.
+VAXen running Ultrix or BSD, Alphas running OSF, 386s running SCO Unix,
+Xenix, Bell-Tech, Silicon Graphics running IRIX, HPs running HP-UX,
+Sequent Symmetry running Dynix.
 
+See the porting section below for info on porting the code to VMS as well.
+
 	Tk (being based on Tcl) requires X11R4 or better as the only additional
 software requirement.
 
@@ -128,8 +129,7 @@
 
 	Contact W. Ross Brown <ross@bnr.ca> for the current status of
 the Tcl MacOS port.  Ross has a mailing list for discussion on that
-topic.  Also, "Eric W. Sink" <e-sink@uiuc.edu> is working on a port
-which includes some tclX extensions as well as some Mac-specific extensions.
+topic.  
 
 c. MS-DOS
 
--- old.tcl-faq.p02	Fri Dec 11 08:38:46 1992
+++ tcl-faq.p02	Tue Jan 12 08:45:10 1993
@@ -2,7 +2,7 @@
Path: lvirden
 From: lvirden@cas.org (Larry W. Virden)
 Subject: comp.lang.tcl Frequently Asked Questions (2/3)
-	 (Last updated: December 11, 1992)
+	 (Last updated: January 12, 1993)
 Followup-To: comp.lang.tcl
 Summary: A regular posting of the comp.lang.tcl Frequently Asked Questions 
 	(FAQ) and their answers.  This is the second of three parts.
@@ -14,8 +14,8 @@
 Approved: news-answers-request@MIT.Edu
 
 Archive-name: tcl-faq/part2
-Version: 2.6
-Last-modified: December 11, 1992
+Version: 2.7
+Last-modified: January 12, 1993
 
 Please do not be offended if I neglect to acknowledge your contribution
 to this FAQ!  I sometimes forget to put an attribution in.  I especially
@@ -698,7 +698,7 @@
      pack append .\
          .frame   {left frame center fillx filly}
 
-     button .frame.canvas.button$i  \
+     button .frame.canvas.action  \
          -relief raised \
          -text "Action" \
 	 -command "multi_action"
--- old.tcl-faq.p03	Fri Dec 11 08:38:46 1992
+++ tcl-faq.p03	Tue Jan 12 08:49:26 1993
@@ -2,7 +2,7 @@
From: news@choreo.ca (Choreo NetNews Administration Account(Ottawa))
Subject: problems clearing text widget
X-Disclaimer:  This news article was written by an employee or customer of
               Choreo Systems Inc., and does not necessarily reflect the
               opinions or views of the Managament of Choreo Systems Inc.
Organization: Choreo Systems, Ottawa Canada
Date: Mon, 04 Jan 1993 16:34:13 GMT

I have an app which does a serahc through some tables based upon the info
provided byt he user in an entry widget.  How can I dynamically remove the
value of the entry widget and refresh the widget so that the previous valus
is gone?  

Currently, I'm using
   .label_and_text.text select clear
   .label_and_text.text configure -text ""

which doesn't do what I want.

Thanks for the info.

Chris
chare@choreo.ca

Newsgroups: comp.lang.tcl
From: karl@NeoSoft.com (Karl Lehenbauer)
Subject: Re: Pish3D or other 3D graphics capability
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Tue, 12 Jan 1993 05:52:56 GMT
Keywords: 3D

In article <1icgr4INNpfn@cae.cad.gatech.edu> estephen@whosnext.cad.gatech.edu (Eric R Stephens) writes:
>What is the best way to manipulate 3D data or wireframes in Tk?

I believe you will want Mark Diekhans' Tcl interface to the Simple Polygon
Processor (SIPP), available from barkley.berkeley.edu as
/pub/tcl/extensions/tsipp3.0a.tar.Z.
-- 
-- Email info@NeoSoft.com for info on getting interactive Internet access.
"In a minute, I'll burp up your droid."
Newsgroups: comp.lang.tcl
From: thayer@cs.columbia.edu (Charles Thayer)
Subject: Emacs Re: TCL as widget server
Organization: Columbia University Department of Computer Science
Distribution: comp
Date: Sun, 10 Jan 1993 05:16:38 GMT

In article <BLK.93Jan8162050@vanity.mitre.org> blk@mitre.org (Brian L. Kahn) writes:
>
>I would like to use TCL to add scrollbars to emacs.  I don't want to

I don't know about parenting to another processes window (my guess is
you've got to modify emacs to get the x-window's id, and if you can do 
that you might as well add the whole thing to emacs instead :)

But, I think the point is probably moot, since their is a lucid-emacs
(which has x-windows support), tkemacs, and (of course) mxedit.

/charles 
PS.  There is something called siod (an embedded scheme/lisp based on
some of the same design goals as TCL).  It would be interesting to
throw together a emacs-a-like using mxedit.
-- 
Charles Thayer, Columbia University, Dept. CS, Tech-staff... my words only.
Newsgroups: comp.lang.tcl
From: schwartz@roke.cs.psu.edu (Scott Schwartz)
Subject: Options on options
Organization: Penn State Computer Science
Date: Sat, 9 Jan 1993 07:40:34 GMT

Is it just me, or is the way options work in Tk really strange?  The
manpage and the FAQ don't do much to reassure me.  For instance, why
does an entry of "*Font: fixed" in an .Xdefaults override "option add
Tk*Foo*Font variable startupFile"?  If one replaces startupFile with
userDefault, the variable font wins, but then the user can't override
in their defaults file.  Moreover, why does one always need the leading
Tk, even when the application's class has been set to something else?
From: ralf@reswi.en.open.de (Ralf E. Stranzenbach)
Newsgroups: comp.lang.tcl
Subject: Re: Possible bug in lreplace
Date: 11 Jan 1993 22:52:16 GMT
Organization: News Server fuer en.open.de
NNTP-Posting-Host: jodokus.en.open.de
In-reply-to: johng@cimage.com's message of Mon, 11 Jan 93 15:30:08 GMT

>>>>> "John" == John Gourlay <johng@cimage.com> writes:

    John> I can reproduce the problem on a couple of different platforms.  I
    John> haven't tried Tcl 6.5 yet, nor have I tried to debug 6.4.

I tried it out and found this problem on tcl6.5 (for my NeXT) also...

	- ralf

--
Ralf E.Stranzenbach  -   (NeXT)-Mail: ralf@reswi.en.open.de
                                Fido: Ralf_Stranzenbach 2:245/5800.12
                       (Voice)-Phone: +49 2302 / 68403
--
(c) Ralf E. Stranzenbach - all lefts reserved
Newsgroups: comp.lang.tcl
From: brad@NeoSoft.com (Brad Morrison)
Subject: Re: TK manual/text? (indexed)
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Sun, 10 Jan 1993 07:44:47 GMT

In article <13413@bnr-rsc.UUCP> bydeley@bcarh3a.NoSubdomain.NoDomain (Brian Carroll) writes:

>Does anyone is aware of a TCL/TK manual, docs.. etc.. that would enable me to
>lookup a particular functions, and find the commands that I have to use.. ?? 

I printed the contents of the doc directories in the tcl and tk
distributions.  They printed particularly nicely with psroff to
a Postscript printer.

There's also the 'help' facility in the interactive tcl interpreter.
It would be nice to have access to the man pages (or some hints, notes,
etc.) for tk.

-- 
Brad Morrison        | ...These lovers of esoterica seem to derive a great
morrison@paranet.com | deal of intellectual satisfaction out of not quite
(713) 467-3100       | understanding what they are doing.
From: joe@athena.mit.edu (Joseph C Wang)
Subject: Including unmatched brackets in a bracketed string
Followup-To: comp.lang.tcl,poster
Organization: Massachusetts Institute of Technology
Date: Tue, 12 Jan 1993 00:25:46 GMT

Is there any simple way of including unmatched "{" and "}" in a string
bracketed by "{}" ????
From: capo@cs.utexas.edu (Charles Read)
Newsgroups: comp.lang.tcl
Subject: tricky problem with "place" command
Date: 7 Jan 1993 11:26:23 -0600
Organization: CS Dept, University of Texas at Austin
NNTP-Posting-Host: im4u.cs.utexas.edu
Keywords: placer, geometry manager

  The code below packs two frames (vertically) inside
a toplevel window. The top frame contains a menu.
The bottom frame contains a pair of scrollbars.
  When the toplevel window is resized, the scrollbars
should be proportionately resized. That's why I use
the "place" command. The problem is that the bottom
frame always tries to fill the whole toplevel window
when it should really fill just the whole area BELOW
the menubar.
  If you have clues how to fix this, please let me know.
-c
---------------------------cut here-------------------------
#!/usr/local/bin/wish -f
proc sdmCreateMenu {w} {
  # Create and pack the menu.
  frame $w.menu -relief flat -borderwidth 1
  pack append $w $w.menu {top fillx}

  # File menu.
  menubutton $w.menu.file -text "File" -menu $w.menu.file.m
  menu $w.menu.file.m
  $w.menu.file.m add command -label "Quit" -command exit
  
  # Props menu.
  menubutton $w.menu.props -text "Props" -menu $w.menu.props.m
  menu $w.menu.props.m
  $w.menu.props.m add command -label "Test1" -command "echo Test1"
  $w.menu.props.m add command -label "Test2" -command "echo Test2"

  # Styles menu.
  menubutton $w.menu.styles -text "Styles" -menu $w.menu.styles.m
  menu $w.menu.styles.m
  $w.menu.styles.m add command -label "Points" -command "echo Unsupported"
  $w.menu.styles.m add command -label "Lines" -command "echo Unsupported"

  # Pack all the menus
  pack append $w.menu \
    $w.menu.file left \
    $w.menu.props left \
    $w.menu.styles left
}

wm withdraw .

set bx 32
set by 32
set bh 286
set bw 186
set w .zot
set cwidth 350
set cheight 250
toplevel $w

# Create and pack the menu.
frame $w.menu -relief flat -borderwidth 1
pack append $w $w.menu {top fillx}
sdmCreateMenu $w.menu

# this specifies a minimum size AND allows for resizing.
wm minsize $w $cwidth $cheight
    
# Make a frame and canvas for the new window.
frame $w.frame -relief flat -bd 2
pack append $w $w.frame {top expand}
canvas $w.frame.c -relief flat -width $cwidth -height $cheight

# Let the "placer" handle size-tracking for the canvas and scrollbars.
place $w.frame -relwidth 1.0 -relheight 1.0
# place $w.frame -in $w.menu -relx 0.0 -rely 0.0 -anchor nw

scrollbar $w.frame.hscroll -orient horiz -relief sunken \
  -width 12
$w.frame.hscroll set $bw $bw 0 [expr $bw-1]
pack append $w.frame $w.frame.hscroll {bottom fillx}

scrollbar $w.frame.vscroll -orient vert -relief sunken \
  -width 12
$w.frame.vscroll set $bh $bh 0 [expr $bh-1]
pack append $w.frame $w.frame.vscroll {right filly}

# pack canvas
pack append $w.frame $w.frame.c {expand fill}

Newsgroups: comp.lang.tcl
From: mathew@elroy.Jpl.Nasa.Gov (Mathew Yeates)
Subject: images vs. bitmaps
Organization: Image Analysis Systems Group, JPL
Date: Thu, 7 Jan 1993 21:53:40 GMT

I would very much like to be able to use color images the same way
bitmaps are used. I've looked a bit at tkpixmap but
1) It only looks applicable to someone writing C code, not wish scripts.
2) Who knows if its up to date or not.

Does anyone already done this stuff? I don't want to have to wait for
future versions of Tk to do simple stuff like displaying images.

Mathew

|**********************************************************|
|      Mathew Yeates JPL/Image Analysis Systems Group      |
|               mathew@henry.jpl.nasa.gov                  |
|                   (818) 354-3008                         |
|               Will Program For Food                      |
|**********************************************************|
From: news@choreo.ca (Choreo NetNews Administration Account(Ottawa))
Subject: focus problem
X-Disclaimer:  This news article was written by an employee or customer of
               Choreo Systems Inc., and does not necessarily reflect the
               opinions or views of the Managament of Choreo Systems Inc.
Organization: Choreo Systems, Ottawa Canada
Date: Mon, 04 Jan 1993 16:12:56 GMT

I guess I'm not really understanding how this works.

I am a window which opens a sub window, which then becomes the active
window.  If I select another window on the screen, then go back to the
application sub window and close it, my app main window is not selected?
What am I doing wrong so that this confusion exists?

In addition, I would to be able to prevent a user from being able to icon a
sub-window.  Right now, I am drawing the windows on top of each other, which
is a solution if I can figure out to prevent the child windows from being
moved, but still allow the main window.

Thirdly, if the user iconicizes the parent window, all child windows should
also be closed.  Is there any way to do this?

Thanks for yout help.

BTW, right now I'm using TCL6.4 and TK2.3

Thanks

Chris
chare@choreo.ca

From: okamoto@hpcc01.corp.hp.com (Jeff Okamoto)
Date: Tue, 12 Jan 1993 17:48:27 GMT
Subject: Re: tricky problem with "place" command
Organization: An-Pan Man Headquarters
Newsgroups: comp.lang.tcl

capo@cs.utexas.edu (Charles Read) wrote about putting horizontal and vertical
scrollbars into one frame.

I have a question about how to make the scrollbars only as wide and as tall
as the object they are scrolling.  In other words, to get that little tiny
"empty space" at the end of the two scrollbars. 

It should look like this:

               ^
              |||
              |||
              |||
               V
<=============>

and not like this:

               ^
              |||
              |||
              |||
              |||
<=============>V

and not like this:

I'd like to do this with a listbox as the object to be scrolled.  Can anyone
suggest anything?
-- 
 \      oo	The New Number Who,
  \____|\mm	Jeff Okamoto
  //_//\ \_\	HP Corporate Computing & Services
 /K-9/  \/_/	okamoto@ranma.corp.hp.com
/___/_____\	
-----------	(415) 857-6236
From: ouster@sprite.Berkeley.EDU (John Ousterhout)
Newsgroups: comp.lang.tcl
Subject: Re: bind problem
Date: 8 Jan 1993 21:39:25 GMT
Organization: U.C. Berkeley Sprite Project
Distribution: world
NNTP-Posting-Host: tyranny.berkeley.edu

In article <1993Jan07.150404.10636@rchland.ibm.com>, shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall) writes:
|> How come I can do 
|> 1)	bind . <FocusIn> {puts stdout "focus in"}
|>   but not
|> 2)	bind . <FocusIn> +{puts stdout "focus in"}
|>   or
|> 3)	bind . <FocusIn> +{puts stdout focus_in}
|> 
|> (2) results in the error message
|> 	extra characters after close-quote
|> while (3) results in the message
|> 	wrong # args: should be "bind window ?pattern? ?command?"
|> 
|> Both (2) and (3) seem to be problematic due to Tcl's parsing of the
|> command, probably because they begin with `+'.  Is this intentional?  If
|> not, perhaps the bind command could take a -append flag to allow forms
|> such as (2) and (3) while of course maintaining the current syntax.
|> 
|> I realize this is easy enough to work around, but it is occasionally
|> annoying (more so of late).
|> 
|> This is with tk2.3, AIX 3.2.2, x11r4.
|> -- 
|> : jay          jay@vnet.ibm.com    My opinions and ideas, not my employer's.
|> : shmdgljd@rchland.vnet.ibm.com    (c) Copyright 1992.  All rights reserved.

The problem is that you put the "+" outside of the braces, and the Tcl
parser only recognizes an open brace if it's the first character of a
command word.  If you just say

bind . <FocusIn> {+puts stdout "focus in"}

I'll bet that everything will be fine.
From: stone@hilbert.math.grin.edu (John David Stone)
Newsgroups: comp.lang.pascal
Subject: Ok, why doesn't THIS cause an error?
Date: 4 Jan 93 15:03:24 GMT


        Alan Mead writes:

>           I'm was a little amazed when I accidentally wrote the below
>  bug.  I cannot imagine why you are allowed to alter the counter of a
>  for..do loop.  I suppose it's too hard for the compiler to check?
>
>  program bug;
>  var i,j,k : integer;
>
>    function whatever;
>  {  var i,j,k:integer;}  { this was the missing line }
>    begin
>      i := 2;
>      for k := 1 to i*x do
>       ...
>    end;
>
>  begin
>    for i := 1 to TheEnd do
>      whatever;
>  end.

        Mead is right.  Under the Pascal standard, this program is
incorrect in two different ways.  The assignment "i := 2" is incorrect,
because i is the control variable of a for-loop in the block within which i
is declared.  And the statement that begins "for k := 1 to i*x" is
incorrect, because k is not declared in the block closest-containing that
statement.  (In other words:  Under the Pascal standard, loop control
variables must always be declared locally.)

        It is not very difficult for a compiler to check these constraints;
Pascal compilers almost always do so.  In fact, the rules are designed in
part to make such checking easy and fast.  In my opinion, the explanation
for Turbo Pascal's failure to perform the checks is that they're entirely
negative -- skipping them makes incorrect programs acceptable but does not
change the semantics of any correctly written program.  The designers of
Turbo Pascal asked themselves, "Why have the compiler spend any time at all
performing checks whose only result is to irritate programmers who have
made trivial errors?"  There's no good answer to this question unless you
care a lot more about portability, maintainability, and standardization
than Borland does.

------  John David Stone - Lecturer in Computer Science and Philosophy  -----
--------------  Manager of the Mathematics Local-Area Network  --------------
--------------  Grinnell College - Grinnell, Iowa 50112 - USA  --------------
--------  stone@math.grin.edu - (515) 269-3181 - stone@grin1.bitnet  --------
Newsgroups: comp.lang.pascal
From: oberto@genes.icgeb.trieste.it (Jacques Oberto)
Subject: WinTech Magazine source listings ?
Organization: ICGEB
Date: Tue, 12 Jan 1993 17:03:06 GMT

Hi all!

Just wondering if anyone knows where on the net one
can find the source code listings of WinTech Magazine.
I only found listings up to the month of August, 1992
at gatekeeper.dec.com in the directory:
  .2/micro/msdos/win3/uploads/wtek***
Alternatively, could some kind soul please upload the
newer ones to ftp.cica.indiana.edu ?
Beginners such as me would benefit greatly!
 
Thanks 
 
Jacques



-- 
Jacques Oberto  <oberto@genes.icgeb.trieste.it>
Organization: Penn State University
Date: Wed, 6 Jan 1993 08:08:44 EST
From: Carl Fago <CDF1@psuvm.psu.edu>
Newsgroups: comp.lang.pascal
Subject: Re: TPW 1.5 Problem with making a TDlgWindow Iconic


In article <1993Jan6.055832.14608@wariat.org>, sjsobol@wariat.org (Steven J.
Sobol) says:
>Make sure the class name in the dialog resource is the same as the class
>name in the program's source code.

Thanks Steve!  Yes, I did have the dialog resource class name different
from the class name in the source.  I also got this solution email and
it led me to see that I had used "BORDLG" as the resource class name to
get all the neat looking dialogs.  Now I find that this isn't needed!
Go figure.

I'll be trying the toolbar idea you posted also.  Looks like there isn't
a way to take a rectangular chunk out of the client window area (without
having the rectangular area be the full width of the client window.)

Thanks again!

 *-=Carl=-*  INTERNET - cdf1@psuvm.psu.edu | In battle, you can do   |
             GEnie - C.FAGO1               | everything right...     |
 Carl Fago   State College, PA             | and _still_ lose!       |

Newsgroups: comp.lang.pascal
From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
Subject: Re: FindFirst
Organization: Queen's University
Date: Sun, 10 Jan 1993 22:36:34 GMT

Oops, posted accidentally.  If you saw the previous version of this reply, 
please ignore it!

In article <1993Jan10.205957.21401@cs.tu-berlin.de> zisi@opal.cs.tu-berlin.de (Andreas Zisowsky) writes:
>tp923021@jarrah.canberra.edu.au (ben elliston) writes:

>>I'm using:
>>
>>  FindFirst('C:\*.*', Hidden, SearchInfo);

>Turbo Pascal does not care about attributes (maybe in version 7.0).
>You have to do it in the way you mentioned it.

That's right - TP doesn't look at the attributes.  But FindFirst respects 
them, because it passes your request to DOS.  The way DOS handles attributes 
is strange.  Hidden, Sysfile and Directory won't show up unless you include 
them in the attribute parameter (but don't exclude files without that 
attribute); Archive and ReadOnly are ignored by the search logic; 
only VolumeID in the search attribute is a required match.

Duncan Murdoch