BIWI Computing FAQs

Have also a look at the ITET.EE Computing FAQ
 
A Anonymous FTP or http download
Archive server, using (jabba)
B Backup server, using
biwilet, the BIWI Letter class for LaTeX
C CGI scripts, how to write your own
D Dot-files, understanding and changing
DVD-Burning at BIWI
E ETH logo, including on LaTeX documents
EXABYTE drives, using
F FTP (anonymous) Transfer from BIWI
H How to Record a S-VHS movie directly from screen
How to make a PDF-file compatible with IEEE requirements under Linux
I Include graphics in LaTeX, how to
Includegraphics problems in LaTeX
J jabba
L LaTeX, the BIWI Letter class "biwilet" for
LaTeX, how to include graphics in
LaTeX, including the ETH logo
LaTeX, problems with Includegraphics
LaTeX, special characters in
LaTeX, Creating Acrobat PDF files
LaTeX, how to change background color
Libraries, online access to
M MO Drives, using
MATLAB licences
P PDF, Creating Acrobat PDF files with Latex
Phonebooks
PMOs, using
Posters, previewing and printing
Publication database, adding and modifying entries
R Removable media, using
S SEPP Software system
Special characters in LaTeX
Semester- and Diplomaworks, adding and modifying works
U UNIX varia
W Wincenter (WinNT)

UNIX varia/shell

  • Command shell: tcsh (an enhanced version of the Berkeley UNIX C shell). See `man tcsh` and `man csh`
  • List command shell shorthands: `alias`

Understanding and changing dot-files

The so called "dot-files" (e.g. .login) are used to automatically configure your personal working environment (like terminal settings, search paths and utility functions) on a UNIX workstation.
As a general rule of thumb, don't change anything in a dot-file except you really have to and you know exactly, what you're doing. And since it is not always possible to predict all consequences, always create a copy of a dot-file before changing it (`cp aDotFile aDotFile.orig`).

the dot-files will be sourced in following order: 1./etc/cshrc 2./etc/login 3.$home/.cshrc 4.$home/.login Dot-files can be found at the following locations:
  • in /etc/login and /etc/cshrc (you cannot change these files):
    • cshrc
      Defines shell variables and aliases on starting any [t]csh
    • login
      Defines environment variables on login or rlogin.
  • in your home directory:
    • .login
      Define your personal modifications to the global .login file which should be sourced on any OS.
    • .cshrc
      Define your additional personal modifications to the global .cshrc file which should be only sourced on a specific OS release.
    • .emacs
      Emacs/XEmacs initialization file. Autoloads the most used emacs packages and modes ("biwi-standard", see the el-files in /usr/sepp/var/xemacs-version/site-lisp/biwi).
      To autoload even more features (like time-stamping) or support of german umlauts, uncomment the corresponding lines (load "biwi-features") and (load "biwi-multiling")
      of your workstation.

Phonebooks

  • Access to the phonebook of ETH Zurich via WWW interface: ETHZ Phone Book
  • Access to the phonebook of ETH Zurich from command line: `ethtel [FirstName] [LastName] [Institute] [Building] [Room] [PhoneNumber]`

Online access to libraries


Using the archive- and backup-server "jabba"

  • Description of jabba:
    Jabba is a nfs file server with an attached tape robot (current capacity 10TB) controlled by SAM-FS and a cache disk with two filesystems (/usr/jabba/archive and /usr/jabba/backup).
  • How to access files on jabba:
    First ask your system administrator to get an account.
    You will then be able read/write data to your directories:
    1. /usr/jabba/home/biwi/yourUserName: this is your home directory on jabba
    2. /usr/jabba/archive/biwi/yourUserName: this is your directory on the archive filesystem
    3. /usr/jabba/backup/biwi/yourUserName: this is your directory on the backup filesystem
  • Differences between the archive and the backup filesystem:
    • Every file you create or modify on the archive filesystem will be copied after 5 minutes to two sets of tapes. So you should use this filesystem for data for which you don't want to hold a local copy.
    • Every file you create or modify on the backup filesystem will be copied after an hour to one set of tapes. So you should use this filesystem for data for which you have a local copy.
  • Access via NFS:
    Simply read or write or cd to /usr/jabba/archive/biwi/yourUserName or /usr/jabba/backup/biwi/yourUserName from your workstation.
  • Further recommendations:
    Since SAM-FS works more efficiently with big files than with many small ones, extensive use of tar and gzip (or gtar with the z option) is highly recommended!
  • Sam user commands (you have to be loged in on jabba to execute):
    • archive: set archive attributes and archive files
    • release: release disk space and set release attributes
    • sfind: search for files in a directory hierarchy
    • sls: list contents of directories
    • ssum: set file checksum attributes
    • stage: set staging attributes and copy off-line files to disk
    • archive_audit: generate an archive audit

    For further information see the corresponding man pages and /usr/local/docs/SAMTIPS on jabba.

Adding and Modifying Entries in the Publication Database

  • The dynamic Web-Interface now allows you to add, modify and delete items in the Publication Database. These Interface webpages are password-secured
  • The following guidelines concern the syntax for the different entry fields.
    • AUTHORS: Firstnames are capitalised, multiple authors are separated by a comma except the last author who has a prefixed 'and'. The following examples visualise the usage of the AUTHORS-field:
      • One Author: J. Doe
      • Two Authors: J. Doe and M. Mueller
      • Three to five Authors: J. Doe and M. Mueller and M. Rossi
      • More than five Authors: J. Doe et al.
    • FILE: The publication entry can include a correct file in .pdf format. The modification of an entry allows you to provide a new file whereby the previous files are overwritten.
    • ABSTRACT: This field behaves equal to the FILE-field described above. Here you have to provide a ASCII .txt-file with nothing else than the pure abstract text without any title, name and other things.
    • LINK: In case your article cannot be put online for copyright-related reasons, you are now allowed to insert a link to the publisher's page instead of the actual paper, however, at least one of the two should be provided.
    • In-Press: In order to keep the BIWI publication on the really latest state, it is now possible to add a publication even it is in-press and therefore not yet published. The entry will be marked as 'in-press' not only on the publication-search site but also within the bibtex entry. As soon as the publication is published, don't forget to clear the 'in-press' field !
  • If you by mistake deleted a publication entry, you can either re-enter the entry or inform the webmaster for recovering the data.
  • Contact the webmaster (webmaster (at) vision.ee.ethz.ch) for more detailed informations.

Semester- and Diplomaworks, adding and modifying works

  • The dynamic Web-Interface now allows you to add, modify and delete items in the Semester- and Diplomaworks Database. These Interface webpages are password-secured.
  • The following guidelines concern the syntax for the different entry fields.
    • TITLE: This field contains the title of the work as well as a description of the work type. The latter should be separated from the text by '[' and ']', as the following example demonstrates:
      • This is an example title for a semesterwork for 1 student [SA, 1]
      • This is an example title for a diplomawork for 2 students [DA, 2]
      • This is an example title for a semester- or diplomawork for 1 or 2 students student [SA/DA, 1..2]
    • TYPE: This field contains information about the work-split in theory and implementation. Examples are:
      • 30% Theory, 70% Implementation (C/C++)
      • 20% Theory, 30% Hardware, 50% Implementation (C/C++, Microcontroller programming)
    • IMAGE-FILE: The publication entry must also include a correct image file in .jpg format. While adding a new entry is only allowed when a file is given, the modification of an entry allows you to provide a new file whereby the previous file is overwritten.
    • DESCRIPTION FILE: This field behaves equal to the FILE-field described above. Here you have to provide a .txt-file with the work description without any title, name and other things. HTML-Tags are allowed within this text but no Latex-Tags.
    • STATUS: This field represents the current status of the work. The usual way of specifying them is in the following order:
      • AVAILABLE: As soon as you add a new publication this status sets the work as free and, if the time difference between the adding-date and the current is bigger than 3 months, it is also marked as new.
      • WORK IN PROGRESS: When you accept a student to start with this work, you have to change the status to work in progress so that it will be marked correctly and students having a look on the webpage know that this work has already started.
      • FINISHED: You have to change the work to this state when your student has finished the work. Afterwards this work will no longer be visible on the website but still remains in the database.
  • Deleting a work means that you didn't find a student for this work and you want to delete it from the webpage. The difference to changing the status to finished is just visible in the database and maybe interesting for statistics. The effect is the same.
  • You can also send your new work to our Sa/DA Mailinglist. The address is cv-stud-request@list.ee.ethz.ch.

SEPP Software System

  • Our Software is installed with a system called SEPP. You can access a list of installed software by typing sepp in our shell.
  • To check whether a program (or a library) is installed, you can pipe the output of sepp into grep.

How to write your own CGI scripts

  • Concepts:

    The suEXEC feature -- introduced in Apache 1.2 -- provides Apache users the ability to run CGI and SSI programs under user IDs different from the user ID of the calling web-server. (Normally, when a CGI or SSI program executes, it runs as the same user who is running the web server, ie as user www.)

    suEXEC is based on a setuid "wrapper" program that is called by the main Apache web server. This wrapper is called when an HTTP request is made for a CGI program located in a users personal cgi-bin directory. When such a request is made, Apache provides the suEXEC wrapper with the program's name and the user and group IDs under which the program is to execute.

  • Write your CGI script (eg HelloWorld.pl), place it in your cgi-bin and make sure that it is executable but not writable by anybody else:
    % cd ~/public_html/cgi-bin
    % cat << END>HelloWorld.pl
    ? #!/usr/sepp/bin/perl
    ? print "Content-type: text/html\n\n";
    ? print "<HTML VERSION=\"3.0\">\n";
    ? print "<TITLE>suexec cgi-bin example</TITLE>\n";
    ? print "<BODY Background=\"/icons/biwiback.gif\">\n";
    ? print "<H1>Hello World!</H1>\n";
    ? END
    % chmod 755 HelloWorld.pl
  • Execute your script using the following url:
    http://www.vision.ee.ethz.ch/~YourUserName/cgi-bin/HelloWorld.pl

How to include graphics (PostScript) in LaTeX:

There are many ways to include PostScript into LaTeX documents, one of the best is probably:
  1. Generate your PostScript graphics (of course), e.g. using ras2ps, tiff2ps or just xv.
  2. Make a subdirectory in your current LaTeX document directory (preferably with a short name, see also LaTeX problems: pool size overflow) and copy or symlink the PostScript file into it. Hint: Also have a README file in this directory which explains the graphics shortly! It's great for recycling your images.
  3. Compress larger PostScript files using bobox -Z filename
    This compresses the PostScript file using gzip and generates a auxiliary file used by LaTeX to read the bounding box (extension .bb).
  4. Use something like the following latex code to include a graphic as a floating figure:
    	\documentclass{article}
    	\usepackage{graphicx}
    	
    	\begin{document}
    	
    	\begin{figure}[htbp]
    	  \begin{center}
    	    \includegraphics{filename}
    	      \caption{This is my first figure}
    	      \label{fig:first}
    	  \end{center}
    	\end{figure}
    	
    	\end{document}
    	
    Note: If you don't specify the extension, LaTeX will find the file automatically. This has the advantage that you can compress files later without changing your LaTeX file. (If you plan on including hundreds of images, see the entry about the pool size overflow problem below.)

Problems with includegraphics (pool size overflow) in LaTeX:

  • Symptom: Compilation stops whit a message like "!Tex capacity exceeded, sorry, [poolsize=72454]".
  • Cause: A pool size overflow happens if you are inputting too many files. Every file input will eat up the pool space required for its name permanently. (I don't know if this is a feature or a bug...) This might be changed in a later TeX release, but so far the only workarounds are (I would suggest in this order):
  • Workaround:
    1. Include the files without specifying an explicit path. You can do this by making TEXINPUTS contain the path from which you input your files, by using symlinks to the files in your local directory, by placing those files in your local directory or below, by using relative paths instead of absolute ones whenever the relative paths are considerably shorter. What won't work is the use of \graphicspath as this does not diminuish the size of actual filenames input, and thus the effect on TeX's poolsize.
    2. Use short directory and file names.
    3. Split the document into multiple files using a master document and \include commands. Then you can process parts of your text specifying the files to be included with \includeonly{file1,file2}.
    4. It also helps to specify the explicit filename when including graphics. Thus, instead of \includegraphics{myimage} for instance \includegraphics{myimage.eps.gz}.

Special characters in LaTeX:

  • Special math characters: The standard characters to designate sets (e.g., R for real numbers) are not available in LaTeX. They are accessed via the package bbm:
    		\documentclass[11pt,a4paper]{article}
    		\usepackage{bbm}
    	
    		\begin{document}
    	
    		\begin{displaymath}
    			\mathbbm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
    		\end{displaymath}
    	
    		\end{document}
    		
    In addition to \mathbbm, there are also the commands \mathbbmss for a sans serif version and \mathbbmtt for a typewriter version. All fonts can be set to bold using the command \boldmath.
  • Special script characters (Ralph Smith Formal Script) are available through the mathrsfs package:
    		\documentclass[11pt,a4paper]{article}
    		\usepackage{mathrsfs}
    		
    		\begin{document}
    		
    		\begin{displaymath}
    			\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
    		\end{displaymath}
    		
    		\end{document}
    		
  • Even more special characters can be typeset using the package amsfonts. The documentation can be found in: /usr/local/TeX/texmf/doc/latex/amsfonts/amsfndoc.dvi

How to make a PDF-file compatible with IEEE requirements under Linux

As ROOT, type:

updmap --setoption pdftexDownloadBase14 true

That should change the setting once and for all, and you will always embed the base14 fonts when using PDFLATEX (the increase in filesize is negligible, a few KByte).

NOTE: this will not work if your TEX-file includes PDF-figures, which already have fonts missing!!!

 

First compile your Latex-file as usual, with PDFLATEX or LATEX. When using plain LATEX, convert to PostScript with DVIPS, then convert to PDF using:

ps2pdf -dPDFSETTINGS=/prepress myfile.ps

The "prepress" settings (cloned from Adobe Acrobat) should have all fonts included. Alternatively, compile your file with PDFLATEX to "myfile.pdf", then do:

gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=mynewfile.pdf -dPDFSETTINGS=/prepress -c .setpdfwrite -f myfile.pdf.

This does essentially the same, just using PDF as input and output (ps2pdf is only a wrapper for a gs-command).

NB: THE prepress settings should also make sure your figures are compatible with IEEE requirements, should there be any problems.

Type "pdffonts mynewfile.pdf". This prints the file's font-list. The columns "emb" and "sub" need to say "yes" for all fonts.

  • The "right" solution is to edit the config-file of PDFLATEX. Only works on your own computer, or if we convince ISG to finally do it, since you need ROOT privilege to do it.

  • The "hack" which always works, using ghostscript.

  • To check whether a PDF-file is fine for IEEE:

Including the ETH logo on LaTeX documents

The package ETHlogo.sty provides an easy way for including the ETH logo on a LaTeX document. As a convenience, the package BIWIlogo.sty defines the correct settings for the BIWI institute.
  • Usage: Include the logo package with one of the following commands:
    		\usepackage[german]{BIWIlogo}
    		\usepackage[english]{BIWIlogo}
    		\usepackage{ETHlogo}
    		

    The BIWIlogo package defines the default values for the BIWI institute, depending on the following options:
    english English laboratory and group name (default).
    german German laboratory and group name.
    prof Include professor name.
    noprof Don't include the professor name (default).
    anonymous Only include logo, neither laboratory, group nor the professor name is printed.

    When using ETHlogo directly, the variables \laboratory, \group and \professor have to be defined in the document preamble:

    		\renewcommand{\laboratory}{Computer Vision Lab}
    		\renewcommand{\professor}{Prof. Dr. G. Gerig}
    		
  • Printing the logo: The logo package defines several new features to print the logo:
    \ETHpage This command sets the pagestyle to ETHlogo and adjust the page height accordingly.
    \pagestyle{ETHlogo} Pagestyle with ETHlogo. You should not use the pagestyle ETHlogo directly, since the textheight is not correct. Use \ETHpage instead.
    \maketitle The \maketitle command is redefined to include the ETH logo on top of the page.
    \begin{titlepage}...\end{titlepage} The titlepage environment is redefined to include the ETH logo using the command \ETHpage.
    \ETHlogo Command to print ETH logo at the current position.

The BIWI Letter class "biwilet" for LaTeX

Writing letters with LaTeX can be annoying when you have to design it every time by yourself. Thus you need a somewhat customizable letter style or class, that suits your needs in most cases.

For the old LaTeX 2.09 existed such a style, with the little drawback that the logo wasn't very nice. Now the new LaTeX2e is available, and some new document classes for letters as well. In order to design a specific class for our institute, I chose the ifelet.cls (credits go to Tobias Oetiker), adapted it to our needs and improved the interface a little. Out came the new document class biwilet.cls.

As a "side effect", a package BIWIlogo.sty is now also available and can be used to place a ETH logo on a page (see also including the ETH logo on LaTeX documents).
  • Installation The letter class consists mainly of two parts, the class definition in biwilet.cls and the user definitions in a separate style file, by default called letterdef.sty. In order to be able to use the letter style, you have to copy the example letterdef.sty into your LaTeX style directory.
    		cd ~/my_latex_style_directory
    		you can download it directly with your browse
    		
     
    Just in case you don't have a "LaTeX style directory" (or you don't know what this is): you can define an additional directory where LaTeX ought to look for classes or packages. This is usually done in your login script, setting the environment variable TEXINPUTS:
    setenv TEXINPUTS :$HOME/latex/styles
    You must put a colon before the path list!
  • Your first letter
    Here are two very simple letter templates, one for english and one for german letters:
    English letter Download LaTeX source.
    German letter Download LaTeX source.

    A more detailed example with additional comments (so far only in german) can be downloaded as well.
  • Customizing the letter class
    The default letterdef.sty shows the basic customizing possibilities. It is loaded as a package and understands the three options english, german, and personal. Thus you can have different settings for each language and for personal letters, putting the correct definitions in the corresponding \DeclareOption block. My definitions look (more or less) like this:
    		\DeclareOption{english}{
    			\def\sendname{Martin Berger}
    			\def\sign{M. Berger}
    			\def\sendemail{martin.berger@vision.ee.ethz.ch}
    			\def\sendphone{+41 1 632 6818}
    			\def\sendphoneP{+41 1 364 4114}
    			\def\sendprivaddress{Im eisernen Zeit 15\\ 8057 Z\"urich\\ Switzerland}
    		}
    		\DeclareOption{german}{
    			\def\sendphone{01 632 68 18}
    			\def\sendphoneP{01 364 41 14}
    			\def\sendprivaddress{Im eisernen Zeit 15\\ 8057 Z\"urich}
    		}
    		\DeclareOption{personal}{
    			\def\sendaddress{\sendprivaddress}
    			\def\wwwurl{http://www.vision.ee.ethz.ch/%
    			\raisebox{-.6ex}{\symbol{126}}mberger}
    			\def\sign{Martin Berger}
    		}
    		
    (The english block is executed anyway, therefore you don't have to repeat settings in the german or personal part if they are the same.)

    Although these are the only necessary settings, there are of course a number of additional variables, that can be adjusted. The following list shows a selection of customizing examples.
    • With the \date command you can change the format of the date. For instance include the town with \date{Z\"urich, \today} or use a fixed date (or any text you like) writing \date{February 23, 1995}.
    • Maybe you don't like the look of the institutes address. Include the following command in you letterdef.sty for a short version of the address (here for german letters):
      			\def\sendaddress{IKT, BIWI\\ Gloriastrasse 35\\ CH-8092 Z\"urich}
      			
    • For the ETH logo, various variables can be set. Normally there shouldn't be a need to do so, but see including the ETH logo on LaTeX documents for a detailed description.
    • Most of the vertical spaces can be adjusted. The various possible length commands are summarized in the letterdef.sty example.
  • Disclaimer
    As mentioned in the text, the general layout was not designed by me. I just adapted an existing style from Tobias Oetiker. Another important thing: this is not a very final version! Though I tested it on various examples, it is possible that you experience problems in special circumstances... Of course, (almost) any kind of feedback is welcome.

Previewing and Printing Posters

  • As long as you want to preview and print documents up to size A3, everthing is easy. But for a poster larger than A3, you'll find that ghostview and similar programs don't support these sizes. As I struggled a little bit in the last week, here comes a short digest of what to do best. I assume you generated somehow a postscript file, probably with LaTeX, xfig or FrameMaker. I used the latter, which I think is the worst at writing postscript, thus you should be fine with the other programs, too.
  • Previewing A0, A1 and A2
    Maybe there is a nice way to preview postscript on large paper sizes, but the only method I found is using ghostscript ('gs') directly with the following commands: (formatted as aliases, so you can copy them to your '.auxcshrc' file if you want)
    		alias   gsA0    'gs-4.0.3 -g595x841 -r18'
    		alias   gsA1    'gs-4.0.3 -g585x827 -r25'
    		alias   gsA1Q   'gs-4.0.3 -g992x702 -r30'
    		alias   gsA2    'gs-4.0.3 -g595x841 -r36'
    		
  • Printing on the HP755
    There is also two important things to know when printing on the A0 printer HP755:
    • The paper width is always 84cm (printable, true size is just over 90cm)
    • The paper height depends on the form parameter. When I didn't specify the form parameter, it always took some kind of minimum height, i.e., it didn't work. (This is true for FrameMaker postscript and might not be correct for LaTeX or other programs.)
    In other words, if you want to print A1 landscape, you specify '-fo=A2'. It works!

Anonymous FTP Transfer from BIWI

If somebody needs to download some of your files. There are two possibilities:
  • HTML Download:
    Just make a direktory in your ~/public_html
    cd ~/public_html
    mkdir aDirectory
    cp ~/coolFiles/* aDirectory


    now everyone can get your files with his browser http://www.vision.ee.ethz.ch/~[your username]/[directory]
    It is only working if you have no file with the name index.html
  • Anonymous FTP:
    Create a directory on the ftp server and copy your files there:
    cd /home/biwipub/ftp/pub
    mkdir aDirectory
    cp ~/coolFiles/* aDirectory


    Note that all files below /home/biwipub/ftp/pub and removed remove your files!
    Now everyone can get your files like this:
    ftp ftp.vision.ee.ethz.ch
    Name (): anonymous
    Password: a@complete.email.address
    ftp> cd /tmp/aDirectory
    ftp> binary
    ftp> mget *
    ftp> bye

Using the Wincenter (zhadum.ee.ethz.ch)

  • You can start the wincenter with the win.start script.

Creating Acrobat PDF files with LaTeX

Introduction

The most simple way, of converting a document is to just use 'pdflatex' instead of 'latex' to compile it. But there is more, you can have Hyperlinks and a clickable Table of Contents in your document.

At the moment, pdftex does not allow to include eps images directly. You must convert the eps files to pdf format to have them included into your documents.

A Simple Example

First you have to convert your graphics into the pdf format. To do this you can use the command:
epstopdf mygraph.eps
or if you have more than one graphic, use such a tcsh script:
foreach file (*.eps)
epstopdf $file
end


Then add in your LaTeX preamble this few lines:
	\documentclass[YourOptions]{YourClass}

	%% are we using pdftex or normaltex
	\newif\ifpdf
	\ifx\pdfoutput\undefined
		\pdffalse
	\else
		\pdftrue
	\fi

	%% load packages
	\usepackage{graphicx}
	\usepackage{WhatElseYouNeed}

	%%uncomment the following if you want to build an index
	%\usepackage{makeidx}
	%\makeindex

	%%add PDF-Stuff
	\usepackage{url}
	\ifpdf
		%% load hyperref package: add option 'hyperindex' when building an index
		\usepackage[colorlinks,urlcolor=blue]{hyperref}
		\pdfcompresslevel=9  % 1 is fastest, 9 is best compression (the default)
	\fi
	
	\begin{document}

Using Graphics

\includegraphics[YourOptions]{YourFile}
Please note that YourFile is just the filename. Depending on whether you are running latex or pdflatex, the system will automatically append .eps or .pdf accordingly.

Remark

When compiling a Document with pdflatex which has been compiled with normal latex, and vica-vesa, make sure you remove all the old *.toc *.ind *.aux files before you remake ...

How to change background color in a LaTeX document:

  • One single color: there is a simple possiblity to set the background color. The background color is NOT shown in your DVI-Viewer and it works only with PostScript:
    					\usepackage{color}
    					\pagecolor{YourColor}
    		
    with YourColor is red, green, blue, cyan, magenta or yellow. You can also define your own color using:
    					\definecolor{mycolor}{rgb}{R,B,G}
    		
    where 0 < R,G,B < 1.
  • Multi-color background: there is also a possibility to set some very nice color combinations. The colors are NOT shown in your DVI-Viewer and it works with PostScript and PDF:
    					\usepackage[Options]{background}
    		
    where Options can be set as: BlueLight (default), RedLight, GreenLight, GreyYellow, GreyGreen, GreyRed, GreyBlue, RedYellow, GreenYellow

    You can also set the page style resp. output style as follows: landscape (default: regular) resp. pdf (default: ps)

How to Record a S-VHS movie directly from screen

  1. Take the video tower with the Panasonic video player with you.
  2. Sit in front of ametrine (the SGI O2 with the ZIP-drive) and log in.
  3. Connect the S-VHS output (on the left output panel of the O2) with the S-VHS input of the video player (close the front cover, open the small cover in the lower left).
  4. Power on the TV and the video player; if the video display does not show A3 on the left, use the^ andv buttons in the video player front cover to switch the input channel to A3.
  5. Make sure that S-VHS is enabled (small swich in the front of the video player).
  6. To framelock the video signal and the graphic signal, type the following in a shell:
    • /usr/gfx/setmon -Fg 50
    • /usr/gfx/setmon -Fi 50
  7. Start the video control by typing videopanel.
  8. Set the video output source to Square PAL (625)
  9. In the menu Utilities, activate Live Video Output. This starts a program drawing a rectangular frame that can be dragged around with the left mouse. Exactly the region inside the rectangle will be transmitted to the video player and should now be visible on the TV screen. If it's not visible, use the ->[] button of the TV remote control to switch the input channel of the TV until the image corresponds with what you expect.
  10. Record the movie!

DVD, burning at BIWI

Log on to etchells2 (in room ETF-C110) with the administrator's username and password. Place your files in a folder on drive D: and delete it when finished!

How to create a Data DVD-R
  1. Media type needed: DVD-RG (DVD-R for General use) 4.7GB, sometimes also referred to as 'DVD for Data', ie. Pioneer DVS-R470SD
  2. start InstantCD+DVD
  3. choose Instant Disc
  4. start the disc creation wizard or choose the appropriate Disc type (ie. Data disc)
  5. follow the instructions and write the DVD


How to create a Video DVD-R Use the InstantCD+DVD Instant Video Tool for authoring your DVD. Since there aren't any experiences available yet, this section will be updated at a later time.

How to create a DVD-RW
  1. Media type needed: DVD-RW ver. 1.1, ie. Pioneer DVS-RW470SD (note the '-' sign, DVD+RW is not compatible with our DVD writer)
  2. Formatting the DVD-RW: Click on 'My Computer', select drive E: and click the right mouse button to open the context menue. Choose 'Instant Write DVD-RW Format...'.
    Format:
    1. Data DVD (Random access): Use your DVD-RW like a floppy disc. It can't be read on DVD-ROM drives, but has the advantage that deleting files will restore space on the disc.
    2. Data DVD (Incremental). The DVD-RW can be read on any standard DVD-ROM drive if it has been finalized. If not, it can only be read when an appropriate UDF driver is installed on the particular machine. Deleting files will not restore space on the disc unless you reformat it. Formatting speed & time: 1x, whole DVD-RW: appr. 2h.
      Format type: Select 'Erase and format (complete)', the others don't work...
  3. Copying data to the DVD-RW:
    1. Random access formatted: via drag and drop.
    2. Incremental formatted: Use the InstantCD+DVD tool. You may either choose the wizard or select the desired disc type (ie. Data or Data UDF). Finalize your DVD-RW if you want to use it on machines without an UDF driver.

Matlab licences

ETH Zurich has limited number of MATLAB licences you can use. If you are going to give a class which uses MATLAB, make sure you let the other users know through https://idts.ethz.ch/hdweb.

If you have to run a big cluster job with many parallel tasks implemented as uncompiled MATLAB code, each computer in the cluster is going to reserve a MATLAB licence which can become a bottleneck for other users or even your cluster job. Therefore, make sure to compile your MATLAB code (compiled code need no licence!). For more details, see http://www.mathworks.ch/help/toolbox/compiler/mcc.html.