Check-in Lasker-2.2.3 tar ball from samba.org
[capablanca.git] / lasker-2.2.3 / data / help / alias
1
2 alias
3
4 Usage: alias [word [string]]
5
6   Sets up a command alias so that "word" is equivalent to typing "string".  If
7 "string" is omitted then the current value of "word" is displayed.  If both
8 parameters are omitted, then all of your aliases are displayed.
9
10   "alias"             -- lists all of your aliases
11   "alias word"        -- gives your alias for "word"
12   "alias word string" -- creates/updates an alias for you so that typing
13                          "word" is equivalent to typing "string"
14
15   Use the "unalias" command to remove an alias.
16
17
18 EXAMPLES
19
20   Here are some sample aliases that may be useful to you.  They are listed
21 here in order to give you some idea of what is possible.  Get ideas from other
22 users as well.
23
24      fun    say Fun game!
25      gg     say Good game!
26      gm     say Good move!
27      idle   set busy is busy.  Please 'message' to contact him.
28      mb     match @ 5 12
29      mood1  set formula f2 & f4
30      ms     match @ 10 10
31      ps     who as
32      pw     who aw
33      ty     say Thank you for the game.
34      w4     match @ 10 10 0 0 wild 4
35      wave   it waves to @
36
37
38 SYSTEM ALIASES
39
40   There are many system aliases that everyone has by default; you do not need
41 to set them up, they are already there.  Here is the list:
42
43      a             accept                .             tell .
44      bye           quit                  ,             tell ,
45      cls           help cls              !             shout
46      exit          quit                  :             it
47      f             finger                ?             help
48      go            goboard               *             kibitz
49      goto          goboard               +             addlist
50      hi            history               -             sublist
51      logout        quit                  #             whisper
52      m             match
53      more          next
54      p             who a
55      players       who a
56      re            refresh
57      saa           simallabort
58      sab           simabort
59      sadj          simadjourn
60      saadj         simalladjourn
61      sh            shout
62      sn            simnext
63      sp            simprev
64      t             tell                 
65      v             variables                  
66      vars          variables                  
67      w             who
68      znotl         znotify
69
70   Other system aliases are added from time to time.  The help files for the
71 different commands will have the most updated information.
72
73 WARNING:
74
75   Becareful to avoid using an alias that can also stand for another command on
76 the server.  For example, "fg" could be a chess move (for f-pawn X g-pawn), so
77 don't have "fg" be an alias.  For similar reasons, don't use "t" as an alias
78 since it is already assigned as an alias for "tell".  For example, avoid using
79 "hi" to mean not "history" but something else, like "tell @ Hello there.  How
80 are you?"  If you later "unalias" your "hi" alias, the "hi" system alias for
81 "history" may not come back automatically.
82
83 SPECIAL NOTES:
84
85   (1) Aliases can use the "@" wildcard symbol and thus save you a lot of
86 typing for routine statements or requests.  For example, using the "mb" alias,
87 you would type "mb Shane" and have the same request sent as if you had typed
88 "match Shane 5 12".
89
90   (2) Aliases are not transitive. This sequence of commands ...
91     
92     alias foo bar
93     alias bar baz
94     
95 ... will NOT result in "foo" being equivalent to "baz".
96
97   (3) Because of #3, use the full spelling of a command, not an abbreviation,
98 when creating an alias.  This procedure also ensures that the alias will work
99 properly.
100
101   (4) You may not create an alias for the quit command.
102
103
104 See Also:  unalias  [and the various commands themselves, of course]
105
106 [Last modified: December 17, 1995 -- Friar]
107