PDA

View Full Version : One for the *nix heads




Beej
Aug 1, 2002, 03:15 AM
I've just installed Moscow ML on my system. Rather than type 'mosml' each time I want to use it, I've made it so I can just type 'ml' (hey, I'm really lazy :D)

It works... but not quite how I want. Here's what I get:

[localhost:~] beej% ml

OK? l? no
Moscow ML version 2.00 (June 2000)
Enter `quit();' to quit.
-

As you can see, it tries to correct 'ml' to 'l', which I don't want. How can I fix this?



arn
Aug 1, 2002, 03:44 AM
Originally posted by Beej
I've just installed Moscow ML on my system. Rather than type 'mosml' each time I want to use it, I've made it so I can just type 'ml' (hey, I'm really lazy :D)

It works... but not quite how I want. Here's what I get:

[localhost:~] beej% ml

OK? l? no
Moscow ML version 2.00 (June 2000)
Enter `quit();' to quit.
-

As you can see, it tries to correct 'ml' to 'l', which I don't want. How can I fix this?

Type in:

alias ml mosml

Now, if you want it to do that every time... add it to your ".cshrc" file in your home directory (the one you open terminal into). To edit it, you can edit it in emacs/pico or whatever... or just type "open .cshrc" when you get into the terminal

arn

Beej
Aug 1, 2002, 04:12 AM
Ahhhh... sweet. Thanks Arn. Worked like a charm!