Changes Necessary Due to the Upgrade of pooh
to acad
Due to the upgrade performed this summer on pooh (now renamed to acad), you will need to take the following steps
Updating your .login file will permit you to again access
editors such as emacs and pico (vi is accessible without any changes required)
In order to access .login with emacs or pico, you’ll need to
give the full path when issuing the edit command:
/opt/sfw/bin//pico
.login or /opt/sfw/bin//emacs .login
Once inside .login, do the following:
1.
Change the line: alias
emacs /usr/local/bin/emacs
to: alias
emacs /opt/sfw/bin//emacs
2.
Delete the line: setenv
LD_LIBRARY_PATH /usr/local/lib
3.
Add /opt/sfw/bin to your path
Save and exit. Now, log out, and back in (you can’t just
source .login because you must obtain the updated default LD_LIBRARY_PATH).
Now, see if you can get into emacs by typing only emacs.
Next, compile and run a .cpp program.
Note:
¨ any .cpp
file compiled before June 1 will no longer run; it must be recompiled.
¨ main()
must now return int. If your main() is void, change to int and put a return(0)
before the closing }
If you still have any difficulty:
¨ put $PATH
at the end of the path specification (as done below). source .login or logout
and log back in.
If that doesn’t help:
¨ comment
out your path variable in .login (use a # at the beginning of the line), and
try this one:
set path = (. /bin /usr/bin
/usr/sbin /usr/local /usr/local/bin $home/bin /usr/ccs/bin $PATH )
Good luck!