MU-VMS Archives

February 1995

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Jones <[log in to unmask]>
Reply To:
Miami University VMS Discussion <[log in to unmask]>
Date:
Wed, 22 Feb 1995 18:20:37 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Bob Williams ([log in to unmask]) wrote:
: Is there any way to use aliases with non-mail commands, such as finger? It is
a
: real pain not being able to. I have to list the aliases, copy the one I want,
: then paste it as I type the command. It would be great to just, say, FINGER
: MYALIAS.
 
Well, just thinking off the top of my head, you could make aliases as
symbols, for example:
 
In your login.com file, if you wanted an alias for me, you could put
something in like:
 
$ felix :== "[log in to unmask]"
 
and then at the command line, if you wanted to finger me, you would
type:
 
finger 'felix
 
The ' (single quote) is required to translate the symbol,
otherwise, the "felix" will be taken literally.
 
Whenever you want to use the alias on the command line, just enclose
it in single quotes (or if it's the last thing on the command line,
you just need the leading quote as shown above).
 
_________________________________________________       _  __   __  __
Michael G. Jones, [log in to unmask] |     / \/ _)/_  \/ _)
Systems Analysis, Miami University of Ohio       |    / - \(_  / - )(_
                                                 |   (_) (_)_)/|__/\__)
  "There is a purpose to time, ya know...        |  Internet Mailing List
   It keeps everything from happening at once."  | Finger Me for More Info

ATOM RSS1 RSS2