<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Ausing_the_lab</id>
	<title>SE250:using the lab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Ausing_the_lab"/>
	<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:using_the_lab&amp;action=history"/>
	<updated>2026-04-21T16:40:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.kram.nz/index.php?title=SE250:using_the_lab&amp;diff=9234&amp;oldid=prev</id>
		<title>Mark: 2 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:using_the_lab&amp;diff=9234&amp;oldid=prev"/>
		<updated>2008-11-03T05:20:50Z</updated>

		<summary type="html">&lt;p&gt;2 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Lab software and setup information ==&lt;br /&gt;
&lt;br /&gt;
(This section could use some CamStudio help videos).&lt;br /&gt;
&lt;br /&gt;
=== X-Win32 ===&lt;br /&gt;
&lt;br /&gt;
X-windows provides a graphical user interface on the Linux server,&lt;br /&gt;
&amp;lt;tt&amp;gt;login.cs.auckland.ac.nz&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* Start-&amp;gt;Programs-&amp;gt;Utilities-&amp;gt;XWin32&lt;br /&gt;
&lt;br /&gt;
After you launch the XWin32 utility, look for the X icon in the task&lt;br /&gt;
bar.  Right-click, and select Xconfig.  This is a one-off setup, to&lt;br /&gt;
tell XWin32 about the Linux server you want to use.&lt;br /&gt;
&lt;br /&gt;
In the Sessions tab:&lt;br /&gt;
* Add...&lt;br /&gt;
: Connect method StarNetSSH, Next&amp;gt;&lt;br /&gt;
: Session name: &amp;lt;em&amp;gt;(you choose)&amp;lt;/em&amp;gt;&lt;br /&gt;
: Host Name: &amp;lt;tt&amp;gt;login.cs.auckland.ac.nz&amp;lt;/tt&amp;gt;&lt;br /&gt;
: Login: &amp;lt;em&amp;gt;(your UPI)&amp;lt;/em&amp;gt;&lt;br /&gt;
: Command: &amp;lt;tt&amp;gt;xterm&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;emacs&amp;lt;/tt&amp;gt;&lt;br /&gt;
: Password: &amp;lt;em&amp;gt;(secret)&amp;lt;/em&amp;gt;&lt;br /&gt;
: Save&lt;br /&gt;
&lt;br /&gt;
Close Xconfig by clicking OK.&lt;br /&gt;
&lt;br /&gt;
Now, right-click the X icon in task bar, and select&lt;br /&gt;
&amp;lt;tt&amp;gt;Sessions&amp;lt;/tt&amp;gt;...&amp;lt;em&amp;gt;(session name)&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CYGWIN ===&lt;br /&gt;
&lt;br /&gt;
Cygwin provides a Unix emulation layer for Windows.&lt;br /&gt;
&lt;br /&gt;
* Start-&amp;gt;Cygwin bash shell&lt;br /&gt;
&lt;br /&gt;
To compile and run a C program, use&lt;br /&gt;
:&amp;lt;tt&amp;gt;gcc&amp;lt;/tt&amp;gt; &amp;lt;em&amp;gt;your-file.c&amp;lt;/em&amp;gt; &amp;lt;tt&amp;gt;-o&amp;lt;/tt&amp;gt; &amp;lt;em&amp;gt;your-file&amp;lt;/em&amp;gt; &amp;lt;tt&amp;gt;&amp;amp;&amp;amp; ./&amp;lt;/tt&amp;gt;&amp;lt;em&amp;gt;your-file.exe&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GNU Emacs ===&lt;br /&gt;
&lt;br /&gt;
GNU Emacs is a programmer editor.  It runs on most platforms, and you can also [[installing-emacs|install it on your own PC]].&lt;br /&gt;
&lt;br /&gt;
* Start-&amp;gt;Run C:\Program Files\GNU Emacs\bin\runemacs.exe&lt;br /&gt;
&lt;br /&gt;
GUN Emacs works best with Cygwin.  To set it up to use a standard Unix&lt;br /&gt;
shell,&lt;br /&gt;
&lt;br /&gt;
* Options-&amp;gt;Customise Emacs-&amp;gt;Specific Option ... shell-file-name&lt;br /&gt;
: set to &amp;lt;tt&amp;gt;C:/cygwin/bin/bash&amp;lt;/tt&amp;gt;&lt;br /&gt;
: State-&amp;gt;Save for future sessions&lt;br /&gt;
&lt;br /&gt;
To compile, use&lt;br /&gt;
: &amp;lt;tt&amp;gt;M-x compile RET gcc&amp;lt;/tt&amp;gt; &amp;lt;em&amp;gt;your-file.c&amp;lt;/em&amp;gt; &amp;lt;tt&amp;gt;-o&amp;lt;/tt&amp;gt; &amp;lt;em&amp;gt;your-file&amp;lt;/em&amp;gt; &amp;lt;tt&amp;gt;&amp;amp;&amp;amp; ./&amp;lt;/tt&amp;gt;&amp;lt;em&amp;gt;your-file.exe&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CamStudio ===&lt;br /&gt;
&lt;br /&gt;
CamStudio is a screen-capture utility.  It makes movies without a&lt;br /&gt;
camera, capturing the computer screen output and voice audio.&lt;br /&gt;
&lt;br /&gt;
* Start-&amp;gt;Programs-&amp;gt;Development-&amp;gt;Development Environment-&amp;gt;CamStudio&lt;br /&gt;
&lt;br /&gt;
: Options-&amp;gt;Record audio from microphone (if you are using a microphone)&lt;br /&gt;
: Region-&amp;gt;Region&lt;br /&gt;
: Tools-&amp;gt;Screen annotations&lt;br /&gt;
:: drag annotations onto the screen and position them where you want&lt;br /&gt;
:: right click to edit annotation text, set transparency, etc.&lt;br /&gt;
: record, save&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>