home *** CD-ROM | disk | FTP | other *** search
/ The AGA Experience 2 / agavol2.iso / software / utilities / comms / metamail-2.3a / man / getfilename.1 < prev    next >
Text File  |  1992-06-14  |  2KB  |  66 lines

  1.  
  2.  
  3.  
  4. getfilename(1)           USER COMMANDS             getfilename(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      getfilename - Ask the user to name a file in a given format
  10.  
  11. SYNOPSIS
  12.      getfilename  format-name file-name
  13.  
  14. DESCRIPTION
  15.      The _g_e_t_f_i_l_e_n_a_m_e program will ask the user for the name of  a
  16.      file in the specified format, and will copy that file to the
  17.      file-name given as the second argument.
  18.  
  19.      If this doesn't sound very useful by itself,  you're  right.
  20.      However,  this  turns out to be all you need in order to add
  21.      some useful functionality to mailcap-oriented programs  such
  22.      as  mailto(1).  For example, the following line in a mailcap
  23.      file allows mailto to help the user  include  PostScript  in
  24.      outgoing mail:
  25.  
  26.      application/postscript ; lpr -Pipa  %s  ;  label="Include  a
  27.      Postscript File";compose="getfilename Postscript %s"
  28.  
  29.  
  30. SEE ALSO
  31.      mailto(1), metamail(1)
  32.  
  33. BUGS
  34.      This is such a tiny program it might actually  be  bug-free,
  35.      but I wouldn't bet on it.
  36.  
  37. COPYRIGHT
  38.      Copyright  (c)  1991  Bell  Communications  Research,   Inc.
  39.      (Bellcore)
  40.  
  41.      Permission  to  use,  copy,  modify,  and  distribute   this
  42.      material  for any purpose and without fee is hereby granted,
  43.      provided that the above copyright notice and this permission
  44.      notice  appear  in all copies, and that the name of Bellcore
  45.      not be used in advertising or publicity pertaining  to  this
  46.      material  without  the specific, prior written permission of
  47.      an authorized representative of Bellcore.  BELLCORE MAKES NO
  48.      REPRESENTATIONS  ABOUT  THE  ACCURACY OR SUITABILITY OF THIS
  49.      MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS  IS",  WITHOUT
  50.      ANY EXPRESS OR IMPLIED WARRANTIES.
  51.  
  52. AUTHOR
  53.      Nathaniel S. Borenstein, Bellcore
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. Sun Release 4.1      Last change: Release 1                     1
  62.  
  63.  
  64.  
  65.