========================== Using the ACADUNIX machine ========================== -IAN! idallen@ncf.ca ACADUNIX is an IBM RISC computer running the IBM version of Unix named "AIX". The machine is accessible using "telnet" from most anywhere in the world. (I have asked ITS to install "ssh" to make logins more secure.) You cannot currently connect directly from ACADUNIX to the Linux Lab; however, you can connect from the Linux Lab to ACADUNIX. Your account name is your usual Algonquin userid and your initial password is your PIN number. You should change your password using the usual Unix "passwd" command. If you forget your password, contact ITS at extension 5555. (Your instructor cannot reset your password.) ITS limits each account to only five simultaneous logins into the ACADUNIX machine (five simultaneous logged in telnet sessions). The shell you first get when logging in to ACADUNIX is the Korn shell (/bin/ksh). This shell is somewhat less powerful than the bash shell used in Linux, but somewhat more powerful than the original Bourne shell. You will note that the arrow keys do not navigate your command history in the Korn shell. A copy of the open-source bash shell, version 2, commpiled for AIX Unix, is available on ACADUNIX by typing "bash" at the shell prompt. This shell is almost identical to the bash shell running on your Red Hat Linux systems in the Linux Lab. The arrow keys work in this shell. You can automatically start the bash shell upon login by inserting it into your ".profile" file. ---------------------- The VI and VIM editors ---------------------- The text editor you get by typing "vi" on AIX is the stock Berkeley version of "vi" distributed with most commercial versions of Unix, including AIX. It is *not* the open-source "vim" editor available under Linux. Many of the commands are identical; but, many things are different. Two important differences are the lack of feedback when you are in input mode, and the undo command having only one level of undo. A copy of the open-source vim editor, version 6, compiled for AIX Unix, is available on ACADUNIX by typing "vim" at the shell prompt. This version of vim is actually newer than the version of vim running in the Red Had Linux labs at the moment. The vim editor starts up in "vi-compatible" mode, which means all the nice vim features are turned off (the editor behaves much like the stock "vi" command) unless you explicitly ask for them to be turned back on. Typing ":help cp-default" in vim will explain how to set "nocompatibility" mode to get the full vim features you are used to under Linux. You can create a shell alias to alias "vi" to "vim", or you can write a small shell script that calls "vim" whenever you type "vi".