home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!spool.mu.edu!agate!ames!purdue!news.cs.indiana.edu!nstn.ns.ca!news.ucs.mun.ca!cs.mun.ca!odie.cs.mun.ca!thom
- From: thom@odie.cs.mun.ca (Thom the Tyrant)
- Subject: To ALIAS, or not to ALIAS [ie: What's up?]
- Message-ID: <1993Jan5.214708.10822@cs.mun.ca>
- Sender: usenet@cs.mun.ca (NNTP server account)
- Organization: CS Dept., Memorial University of Newfoundland
- Distribution: na
- Date: Tue, 5 Jan 1993 21:47:08 GMT
- Lines: 40
-
- Below is a copy of my "Shell-Startup" [WB 1.3] I, for the life of me
- cannot explain what is causing my strange "problem" (?) 8-)
-
- Everything works A-ok! but, some of these alias don't seem to be
- put into "effect" ie: The system seems to ignore them. Well actually,
- the only ones that get ignored are some of the 2 letter alias's
- ie: es or rm. Now, here is the strange part... if I have just the
- "rm" alias or the "es" in the file it works... but add the rest and
- poof! they disappear. I suspected at first that there was a maximum
- number of alias's one could create - but that don't seem to be the case.
- My other theory was that somehow, since there is another entry that
- follows "es" and "rm" that STARTS with the SAME letter perhaps it gets
- overwritten - but! - the others don't get overwritten ie: F0 F1
- and the only difference is - one contains numerals -. Somehow numbers
- are treated differently, or rather, alias's are treated differently
- if followed by a numeral? Can anyone confirm my theory? offer up
- a correct answer? etc; etc;
-
- Perplexed, REMEMBER! T'is the *2* character alias's that are
- Thomas presenting the problem... specifically
- "es" and "rm". I can add more single
- without any problems. BOTH work, just
- not in this situation.
-
- Prompt "%N.%S> "
- alias es ed SYS:s/startup-sequence
- alias p type
- alias m execute dh1:music/pro
- alias e endcli
- alias rm delete
- alias t test
- alias d dir
- alias ls list
- alias r cd ram:
- alias f0 cd df0:
- alias f1 cd df1:
- alias 0 cd dh0:
- alias 1 cd dh1:
- alias 2 cd dh2:
- alias 3 cd dh3:
-