[comp.sys.mac] forcing floppy mount

rrw@naucse.UUCP (Robert Wier) (04/05/89)

 In a couple of communications programs I use (Kermit and Miniterm)
 occasionally I will need to initalize a new floppy in order to do
 some file transfers.  However, it seems that both of these program
 mask off disk-insertion service routines.  I can see why you'd want
 to do this if someone were to insert a disk while data is being
 received, but it is irritating that I can't do it without exiting
 the program (I know, I should just initialize all of them at once..
 but I'm not that organzied!).

 Does anyone know of an fkey or da which can be used to force a 
 floppy disk mount (and initialization if necessary)?

 THANKS!


   - Bob Wier                                College of Engineering
  Flagstaff, Arizona                      Northern Arizona University
  ...arizona!naucse!rrw |  BITNET: WIER@NAUVAX | *usual disclaimers*

denbeste@bgsuvax.UUCP (William C. DenBesten) (04/06/89)

From article <1306@naucse.UUCP>, by rrw@naucse.UUCP (Robert Wier):
> 
>  In a couple of communications programs I use (Kermit and Miniterm)
>  occasionally I will need to initalize a new floppy in order to do
>  some file transfers.  However, it seems that both of these program
>  mask off disk-insertion service routines.

Many programs do this.  Apple made it extra work for a program to
handle this, so not everyone thinks to put the code in their program.
It is, however fairly easy to get around.  Make sure that you have a
file-save or file-open dialog box up whenever you put a disk in.  This
is usually reasonable, since you will be wanting to save a
file, or open one anyways.

-- 
          William C. DenBesten |        denbeste@bgsu.edu
      Dept of Computer Science | CSNET  denbeste%andy.bgsu.edu@relay.cs.net
Bowling Green State University | UUCP   ...!osu-cis!bgsuvax!denbeste
  Bowling Green, OH 43403-0214 | BITNET denbesten@bgsuopie.bitnet

urlichs@smurf.ira.uka.de (Matthias Urlichs) (04/07/89)

In comp.sys.mac rrw@naucse.UUCP (Robert Wier) writes:
< 
<  In a couple of communications programs I use (Kermit and Miniterm)
<  occasionally I will need to initalize a new floppy in order to do
<  some file transfers.  However, it seems that both of these program
<  mask off disk-insertion service routines.  [...]
< 
<  Does anyone know of an fkey or da which can be used to force a 
<  floppy disk mount (and initialization if necessary)?
< 
Get a Standard File dialog from somewhere (Save,any DA,...),
insert the empty disk, format it, and close the dialog.

Shouldn't that do it?
(Can't try it out right now, unfortunately; running A/UX 1.0 :-/ )
-- 
Matthias Urlichs -- Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- FRG
urlichs@smurf.ira.uka.de -- ++49+721-621127@PTT

phil@mva.cs.liv.ac.uk (04/07/89)

In article <1306@naucse.UUCP>, rrw@naucse.UUCP (Robert Wier) writes:
> 
>  In a couple of communications programs I use (Kermit and Miniterm)
>  occasionally I will need to initalize a new floppy in order to do
>  some file transfers.  However, it seems that both of these program
>  mask off disk-insertion service routines.  I can see why you'd want
>  to do this if someone were to insert a disk while data is being
>  received, but it is irritating that I can't do it without exiting
>  the program (I know, I should just initialize all of them at once..
>  but I'm not that organzied!).
> 
>  Does anyone know of an fkey or da which can be used to force a 
>  floppy disk mount (and initialization if necessary)?
> 
I think that most programs ignore disk-inserted events during their normal
event-handling loop, but if you can get an SFdialog box to appear (in Kermit
whenever you're asked for a destination for a received file if you've set
"Attended - dialog for each file received" in the "File Defaults..." item
in the Settings menu) then inserting an unitialised disk will present you
with the usual "This disk is uninitialised..." dialog etc. and allow you
to format it.  It works for me when I use MacKermit!

Phil Jimmieson,           ***************************************************
Computer Science Dept.,   *        ** Note New Address & UserName **        *
Liverpool University,     * JANET : PHIL@UK.AC.LIV.CS.MVA                   *
Merseyside, England,      * ARPA  : PHIL%mva.cs.liv.ac.uk@cunyvm.cuny.edu   *
L69  3BX                  *                                                 *
                          * old address SQPHIL@UK.AC.LIV.CSVAX may work     *
(UK) 051-794-3689         ***************************************************