SE250:using the lab

From Marks Wiki
Jump to navigation Jump to search

Lab software and setup information

(This section could use some CamStudio help videos).

X-Win32

X-windows provides a graphical user interface on the Linux server, login.cs.auckland.ac.nz.

  • Start->Programs->Utilities->XWin32

After you launch the XWin32 utility, look for the X icon in the task bar. Right-click, and select Xconfig. This is a one-off setup, to tell XWin32 about the Linux server you want to use.

In the Sessions tab:

  • Add...
Connect method StarNetSSH, Next>
Session name: (you choose)
Host Name: login.cs.auckland.ac.nz
Login: (your UPI)
Command: xterm or emacs
Password: (secret)
Save

Close Xconfig by clicking OK.

Now, right-click the X icon in task bar, and select Sessions...(session name)

CYGWIN

Cygwin provides a Unix emulation layer for Windows.

  • Start->Cygwin bash shell

To compile and run a C program, use

gcc your-file.c -o your-file && ./your-file.exe

GNU Emacs

GNU Emacs is a programmer editor. It runs on most platforms, and you can also install it on your own PC.

  • Start->Run C:\Program Files\GNU Emacs\bin\runemacs.exe

GUN Emacs works best with Cygwin. To set it up to use a standard Unix shell,

  • Options->Customise Emacs->Specific Option ... shell-file-name
set to C:/cygwin/bin/bash
State->Save for future sessions

To compile, use

M-x compile RET gcc your-file.c -o your-file && ./your-file.exe

CamStudio

CamStudio is a screen-capture utility. It makes movies without a camera, capturing the computer screen output and voice audio.

  • Start->Programs->Development->Development Environment->CamStudio
Options->Record audio from microphone (if you are using a microphone)
Region->Region
Tools->Screen annotations
drag annotations onto the screen and position them where you want
right click to edit annotation text, set transparency, etc.
record, save