lab notes for 5/22: 1. log on 2. run netscape, look at 110 web page 3. basic usage: files on eniac accounts available as E: need to log into eniac account to compile and run from unix shell prompt. 4. to log into eniac account: Programs -> Network Software -> SecureCRT SSH Client click on eniac.seas.upenn.edu, hit OK enter username and password 3. run setup: information on this is available under the development tools page. run: "/html/courses/cse110/setup-cse110" from your shell prompt 4. use emacs to create the program hello.c two ways to do this: (1) run "emacs" from the shell prompt (2) Programs -> Word Processing & Editors -> Emacs 20.3.1 (2) is the nicer way to do it, but (1) might be useful for working from home C-x C-f hello.c ----------------------- #include void main() { printf("Hello world.\n"); } ----------------------- C-x C-s o save 5. go back to the SecureCRT window, and type "compile hello.c" from the prompt. Then type "a.out" - it should say "Hello World". 6. to exit from Emacs - C-x C-c