Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!rutgers!clyde!watmath!watdcsu!payne From: payne@watdcsu.waterloo.edu (Doug Payne) Newsgroups: comp.os.vms Subject: Re: Symbols in mail? Message-ID: <4238@watdcsu.waterloo.edu> Date: 1 Jan 88 19:23:25 GMT References: <8712312112.AA01825@ucbvax.Berkeley.EDU> Reply-To: payne@watdcsu.waterloo.edu (Doug Payne) Organization: U. of Waterloo, Ontario Lines: 23 In article <8712312112.AA01825@ucbvax.Berkeley.EDU> rdavenport@GTEWIS.ARPA writes: > > Hello, > > I would like to know if there is a way to define symbols in DCL that can > be used when in MAIL. What I'd like is to be able to define something like: > $ mail$ext_vax :== extract/append [.mail]info_vax.text The easiest way to do this is to create a file which is referenced by the logical name MAIL$INIT, which contains key definitions for your favourite commands. This is documented in the MAIL reference manual. Include the the following line in your LOGIN.COM: $ DEFINE MAIL$INIT SYS$LOGIN:MAILKEYS.INI Then create a file called MAILKEYS.INI in your login directory which contains lines like: DEFINE /KEY /TERMINATE PF1 "EXTRACT/APPEND [.MAIL]INFO_VAX.TEXT Then the PF1 key will perform your command (and a lot quicker than typing a symbol). - Doug