•  Back 
  •  Menu commands 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %Hilfe 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Documentation for Thing
Author      : Arno Welzel/Thomas Binder/TransAction
Version     : thing.hyp 1.27E (23/8/1998)
Subject     : Documentation/Shells
Nodes       : 269
Index Size  : 6336
HCP-Version : 4
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : %I
@help       : %Hilfe
@options    : +g -i -s +y +zz -t4 -d10
@width      : 75
@hostname   : THING   
View Ref-FileFile - Eject                                                          Thing

At last ;-) Thing can also eject interchangeable media. If no drive on the 
desktop has been selected this menu entry always refers to the topped 
window, as long as this is a directory window (or more exactly: to the 
drive that is represented by the displayed path).

For ejecting the medium, Thing first tries this with the GEMDOS Dcntl() 
command, which is understood by MagiC and most CD-ROM drivers, for 
instance. If this doesn't work because this function is not supported, 
Thing tries again via XHDI, if a corresponding driver (e.g. HDDRIVER, 
HuSHI) is in use.


index=254
Unfortunately MagiC understands the Dcntl() command 'CDROMEJECT' a little too well, because it can be applied even to hard disks, which of course cannot be ejected. These will simply be parked in that case, which may not be what is desired.