getfilename - Ask the user to name a file in a given format
If this doesn't sound very useful by itself, you're right. However, this turns out to be all you need in order to add some useful functionality to mailcap-oriented programs such as mailto(1). For example, the following line in a mailcap file allows mailto to help the user include PostScript in outgoing mail:
application/postscript ; lpr -Pipa %s ; description="Include a Postscript File";compose="getfilename Postscript %s"
Permission to use, copy, modify, and distribute this material for any purpose and without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies, and that the name of Bellcore not be used in advertising or publicity pertaining to this material without the specific, prior written permission of an authorized representative of Bellcore. BELLCORE MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |