Facilities FAQ
Accounts
Go here, log in with your UT EID, and follow the instructions.
Reluctantly, UTCS has started using hard quotas on home directories. You can read more about it here.
Not being able to save things to disk, or experiencing editor save failures are signs that your home directory may have reached quota. Use chkquota to see if you have reached yours. You can use du -sk ~/* ~/.??* | sort -n to see what is taking up the most space. Try removing some files to see if that fixes your issues. If the problem is still occurring, send mail to gripe [at] cs [dot] utexas [dot] edu describing the problem. We are NOT ABLE to raise your quota.
The "Plan" is a printout of a file named .plan in your home directory. For people to see it, the file must be world-readable and your home directory must be world-executable.
Changing your shell, mail forwarding address and granting yourself MSDN access can be done online. To change any additional information, send mail to udb [at] cs [dot] utexas [dot] edu from your CS email address with the changes and a staff member will take care of it.
Changing your shell, mail forwarding address and granting yourself MSDN access can be done online.
A login name is permanent for the life of an account, as stated on the account form; once the account has been created the login name cannot be changed.
We have no way of finding out what your password is, so you'll have to change it. You should visit our password update webpage and log in using your UTEID to change your password. Please read the instructions and information provided carefully. If that fails for some reason, go to ENS 31NE with a picture ID and talk to the staff there to have it changed. For security reasons, passwords are never sent via email. Also, any password update by any method can take a couple of hours to propogate through our network, so please be patient.
Yes, you can have your current account upgraded. Contact udb [at] cs [dot] utexas [dot] edu after the beginning of the semester in which you become a CS major -- we don't get registration information until then -- and request your account be changed to an under account.
You can see the expiration date for your account by typing finger username [at] cs [dot] utexas [dot] edu on the command line. Under and tmpclass accounts are automatically extended each semester provided the student who holds the account is enrolled in a Computer Science course that semester. For all types of accounts, notice will go out two weeks prior to expiration. If you have received an expiration notice, do the following, according to the type of account you have:
- under - contact the undergrad advising office - they must verify that you have not yet graduated and are still a CS major. They will then contact us to extend your account.
- tmpclass - email udb [at] cs [dot] utexas [dot] edu. If you are not enrolled in a qualifying CS class, however, your account will not be extended.
- tmpmicro - email udb [at] cs [dot] utexas [dot] edu. You must be enrolled in an Elements of Computing course to maintain this type of account.
- grad - grad accounts are changed to guest accounts upon graduation and extended for one year. To keep your account beyond that, you will have to have a faculty sponsor. They must request that the account be extended.
- guest - an extension must be requested by the sponsor of the account. They will also receive the notice.
Unfortunately, no. After an account has expired the files will not be restored.
Read the CS Department policies, or see the handouts in ENS 31NR. Other online docs and sources of help.
This is typically caused by older programs that can't handle unicode properly. You will need to add setenv LANG=C to your .profile file (or whichever shell config file you use, such as .bashrc).
The CS department is part of the MSDN/AA program. You can find information about gaining access to this software here. Mathematica is available through a campus-wide license held by the Physics department. Follow the link and log in with your UT EID to gain access.
Labs & Facilities
There are UNIX labs in the basement of ENS, rooms ENS 1 and ENS 31NR. You can also access these computers remotely via ssh; view the public UNIX host status page for a list of these computers and their current status.
The CS Microlab containing MS-Windows machines can be found in the Lockheed Martin Teaching Lab (PAI 5.38) and ENS 1 and 2. These labs are open to all students currently enrolled in a CS course.
For more information on all of these labs, see the Public Labs page.
See the cluster documentation page.
Facilities problems should be reported directly to Physical Plant Planning and Scheduling by calling 471-0043 (for ACES, ENS, Painter and Main) during normal working hours, or sending email to pphlp [at] utxdp [dot] dp [dot] utexas [dot] edu.
For urgent conditions outside normal working hours please call 471-2020.
For urgent conditions directly affecting CS department facilities, e.g. fire, flood, ceiling leaks onto machines, etc, please notify gripe [at] cs [dot] utexas [dot] edu after notifying emergency personnel.
A lot of information about printers, including location, is stored in the file /etc/printcap -- you can look there for the location of a specific printer. You can also run man printers for usage and location information about the public printers.
A "public" machine is a machine that can be logged into by anyone with a CS account; the name linux.cs.utexas.edu is always aliased to a public Linux machine. You can use the command cshosts to find out more information about other machines on the CS network; type cshosts help or man cshosts for more information about how to use it. Alternatively, you can visit the public host status page for a list of public hosts and their current status.
You may be able to increase or decrease the resolution by typing "Ctrl Alt +" and "Ctrl Alt -" in X, using the + and - keys on the number pad rather than the ones between '0' and 'backspace'. If your windows are hanging partly off your screen, Ctrl Alt + will fix it; they're set up for a higher resolution than the default. If you have troubles with the default resolution on a machine in your office, please email gripe [at] cs [dot] utexas [dot] edu describing your problems and specifying your machine and we will attempt to fix things. We can typically change the default resolution or refresh rate upon request.
Assuming you want more than wireless networking, you have two options. One is only intended for short-term visitors and students such as undergrads without offices. These users can again use Horatio with the public DHCP network jacks located in all of our public unix labs. This includes the Lockheed Martin Teaching Lab (PAI 5.38) and ENS 1 and 2. These jacks should be clearly labelled as public, Horatio connectors. Most will have ethernet cables already attached.
For longer term / office usage, we are happy to offer you a static IP address or a DHCP address. For DHCP, please submit a shopreq requesting a dynamic address, and informing us of the building, room #, and wall jack #, and we will set up a connection to horatio. For those wanting a static IP address, we'll need the following submitted in a shopreq (type 'shopreq' at the command line on a unix machine or visit this web page):
- A requested hostname (in csres.utexas.edu).
- Computer vendor make/model (e.g. Dell/Precision-390n).
- The location of the computer. Please provide a Building AND a room number.
(Please don't say something like Prof Smith's Laboratory) - The walljack number, or the label on the cable in some buildings, any number which identifies where the computer is to be physically connected to the network.
- Operating system(s).
- Name of computer's owner (i.e. who paid for it).
- Name of the system administrator for this machine. This will be the "Responsible Person" and will be expected to be able to respond quickly and knowledgeably to reports of security violations and other types of abuse. He or she is expected to install, maintain, and run the computer in a responsible manner.
- The UTID, if owned by the university. This will be a six digit integer, probably beginning with an '8' if it is a recent purchase. It will appear on a tag which has been attached to the computer by the University, and not the vendor.
- If there is no UTID, then please provide the vendor's serial number. This is typically on the back of a computer, sometimes identified by "SN".
The CS POP/IMAP server is "mailbox.cs.utexas.edu". The SMTP server is "mail.cs.utexas.edu".
You will need to create a SMTP email password to authenticate with our SMTP mail server. This is not the same as your CS account password and must be set separately. You can do this online.
- Connection security: STARTTLS
- Authentication method: Encrypted
If you are experiencing login failures, your ISP may be blocking/redirecting port 25. If telnet mail.cs.utexas.edu 25 times out after a couple of minutes, you will need to use port 587/tcp instead.
If you have questions or problems, send mail to gripe [at] cs [dot] utexas [dot] edu.
You have several options, none of which are run by the CS department.
- You can easily use UT's webmail to connect to your CS mail account. Simply select cs.utexas.edu from the server drop down menu and log in using your CS account and password.
- You can also use a third party webmail server, such as Yahoo. You can select options to have that service automatically pull mail from your CS account. This option is not recommended as we have no control over, or access to Yahoo's operations and you have no recourse if something goes wrong (ie they delete all your mail and fail to show it to you). But for those who already have Yahoo or similar service setup, it may be easier than setting up or visiting yet another location to retrieve mail. On Yahoo, select the mail tab, then "mail options", then "mail accounts" and add the CS mail server and your account. This transaction will NOT be encrypted, nor is their transmission to/and from UT so your password and mail contents are visible to any bad guys between you and yahoo and between yahoo and the CS department. Please see the previous questions in this FAQ section for the POP, IMAP and SMTP settings.
- Forward your mail to a separate offsite address which already provides webmail, such as hotmail or gmail.
Use the 'vacation' program. You can read the vacation(1) man pages for usage info, but the quick-start method is to create a message you'd like to send in response to emails you receive and save it as ~/.vacation.msg, and then run vacation -i. To turn this off, simply remove ~/.vacation.msg.
All mail forwarding on the CS system is handled by a central user account database; .forward files won't work. To get mail forwarded, you should visit our mail forwarding webpage and log in with your UTEID. Mail is never forwarded past the lifetime of an account; however, alumni can request a lifetime @alumni.cs.utexas.edu forwarding address. In case you want to learn more about how to use procmail on our systems, check out the FAQ on procmail.
Mailing lists, for the most part, are only created for "official" department purposes (lists of students in a class created for TAs, etc). These are the steps to take to create one:
- Create a file of the people who should be on the list, one email address per line.
- Make the file world readable.
- Make all directories in the path to the file world executable.
- Email udb [at] cs [dot] utexas [dot] edu, giving the name of the alias you want, the name and path of the file, and the purpose of the alias.
The alias, if approved, will become effective within one or two business days.
All you need to do is create a file ~/.mailboxrc with the contents:deliver-spam: yesIf you are turning off the spam filter because you have found it to be making mistakes (either false positive or false negative), please tell gripe [at] cs [dot] utexas [dot] edu --we want to know! Also note that forwarding your mail offsite will automatically exempt you from the spam filter.
Our spam filtering relies partly on a bayesian filter, which requires constant training to keep up with the ever changing tactics of spammers. You can help us by sending a complete copy of your spam emails to nospam [at] cs [dot] utexas [dot] edu. Please note, this must be a *complete* copy of the email, including all headers.
If you use 'mush' to read mail, there are two ways to quit . If you type 'x' to exit, your mailbox is unchanged. If you type 'q' to exit, the following happens:
- Any mail that you have not read remains in your mailbox.
- Any mail that you have read, and have marked for deletion by hitting 'd', is deleted from your mailbox and cannot be retrieved.
- Any mail that you have read but have not marked for deletion is stored in a file in your home directory called 'mbox'. If messages are gone but you didn't delete them, they're probably stored there. You can use "mush -f ~/mbox" to access those messages.
At the mush prompt, you can type ?<return> to get a list of commands you can use, and "<command> -?" to get information about a command (so you could do "q -?" for information about quitting out of mail, for example).
If you have used some other mailer, or read mail via a remote mail client (i.e. via IMAP/POP) such as Thunderbird, MS Outlook or Eudora, it may have been set not to leave messages on the server or to store them somewhere else. Please check the documentation for your mail client and email gripe [at] cs [dot] utexas [dot] edu if that does not illuminate the situation.
This means you have not authenticated with the UTCS SMTP server. To do this, set your 'mail password' here.
The CS department install of procmail which filters your mail upon delivery is specially configured for our environment. It is set up as usual via your ~/.procmailrc file, but with two caveats:
- You may not run a program from your .procmailrc. This is to protect our mailserver (and thus your mailbox), not only from deliberately malicious actions but also from accidental misconfigurations which would swamp the server. Since our mail server does not allow user logins for the same reasons, this is an extension of existing policy.
- You may not forward mail to another user via the '!' mechanism in a procmail recipe. This is to protect the mail server from the high load and eventual meltdown that can be caused by a mail loop.
With these restrictions in mind, the main use of procmail during message delivery at CS is to filter your mail in real-time into different folders based on headers (such as the score it received from our spam-analysis system, the sender, a mailing-list-specific header, or the subject).
Since we have disabled execute and forward functionality in procmail during delivery, we suggest using the example in the procmail(1) man page for a template in creating your own post-processing scripts. The version of procmail in /lusr/bin which you can run manually does not suffer these limitations.
(Search for the third occurrence of the string 'cron' in this man page to find the example script.)
Two changes you will need to make to that script are to change the $ORGMAIL variable to point to the actual location of the folder, and to provide a separate procmail recipe file to the executed version of procmail in the script (the line formail -s procmail < .newmail && will need to be changed to formail -s procmail /path/to/your/recipefile < .newmail && ).
These scripts can be run periodically via the cron(1) command to do the actions automatically, or you can run them before you read mail to do something like filter out the messages or text you don't like.
PLEASE NOTE: To avoid clobbering mail folders make sure all recipes start with :0:, not just :0. The procmailrc(1) and procmail(1) manpages have more details."
While there may be any number of reasons for the failure, lately there has been a trend among the big ISP's to start blocking outbound network traffic intended for mailservers on the internet, such as mail.cs.utexas.edu. The reason for the change is typically cited as spam prevention, a goal which the department supports fullheartedly. We recommend using your ISP's mail server as per their instructions (their tech support will have to help you with settings for your home mailer as we cannot guess at the proper settings); if this fails please do not hesitate to email gripe [at] cs [dot] utexas [dot] edu and we will try to help you resolve the problem. Again, please check with your ISP (cablemodem, DSL, wireless, or dialup provider) before asking us--if you cannot telnet mail.cs.utexas.edu 25 successfully from the remote machine but can successfully telnet mail.cs.utexas.edu 22 then you are definitely experiencing this problem and need to take it up with your ISP.
'mush' is the only mailer which needs metamail to interpret MIME attachments. If you use it, you'll want to add the following line to your .mushrc file: set metamail='metamail -p'.
The POP/IMAP servers use this "dummy" message to maintain state across different instantiations of the server. When you read mail with a POP client like Eudora, that message gets created. You can't see it when you read mail with a POP client, but if you use another mail reader (such as mush) it will show it to you as a regular message. It's true that if you delete the message, your POP mailer will lose data about where things are stored, etc.
Unix
In our continuing effort to keep UTCS a secure network, FTP access will no longer be allowed from outside of our network. The FTP protocol transmits your password in cleartext which presents a security concern.
If you need remote file access, we recommend using an SFTP or SCP client, both of which use strong encryption to protect your password.
For Windows, we recommend:
- WinSCP (SCP client)
- Available for free here.
- SSH Secure Shell (SFTP client)
- Available for free from bevoware.
- ITS maintains instructions for using SSH Secure Shell as an SFTP client.
For Mac OS X, we recommend:
For a list of publicly accessible machines you can connect to, click here.
You need a directory in /usr/spool/ftp/pub. Write to gripe [at] cs [dot] utexas [dot] edu to have one created for you, then place your readable files in the new directory.
The department's anonymous FTP service lives on ftp.cs.utexas.edu.
The directory for this is /usr/spool/ftp/incoming. Change directory from any host on the CS production network, and create an upload directory for yourself with whatever name you wish and with mode 1777. That is,
$ cd /usr/spool/ftp/incoming
$ mkdir MySpecialDirectory
$ chmod 1777 MySpecialDirectory
Then tell your colleague to ftp into ftp.cs.utexas.edu, change to incoming/MySpecialDirectory, and upload the files.
Some notes:
- Files can't be uploaded into the top level incoming directory. You must create a subdirectory for yourself.
- Uploaded files cannot be downloaded by ftp again. You must retrieve them by logging into Unix and copying them to another directory.
- Uploaded files are owned by the FTP server. For you to be able to read them, they must be public. This means other users can read them as well. You should watch for the upload, retrieve your files promptly, and remove them when done.
- Incoming files older than 7 days are automatically deleted, and any upload directories thus left empty are also deleted.
To find a runaway process, use the ps command. On linux machines type ps -augx. The man pages (man ps) show all possible flags.
To kill a process once you've found its process ID (PID), type "kill PID". If that doesn't work, you can use "kill -9 PID".You should never issue the kill -9 -1 command unless you are outside of the X window system. Doing so with X running will freeze the console and require a reboot by the staff.
To find out which machine Firefox is running on, type:
ls -l ~/.mozilla/firefox/*/lock
If there is a lock, it will be a symbolic link pointing to a file with the IP address of the computer where it is running followed by the process ID it is using. To translate IP-ADDRESS to a host name, type:
host <IP-ADDRESS>
The process id should also be present, so type:
rsh <HOSTNAME> kill PID
For example:
~>ls -l ~/.mozilla/firefox/*/lock
lrwxrwxrwx 1 rivin dept 20 Jan 18 14:04 /u/rivin/.mozilla/firefox/uiil642a.default/lock -> 128.83.120.48:+24876
~>host 128.83.120.48
48.120.83.128.in-addr.arpa domain name pointer eagle.cs.utexas.edu.
~>rsh eagle kill 24876
If this doesn't work, you will need to delete the .parentlock file:
~>rm ~/.mozilla/firefox/*/.parentlock
If your file starts with a minus, use the -- flag to rm; if your file is named -g, then your rm command would look like rm -- -g. As well, and especially if you have an unprintable character (output from ls looks like ?ile) you might try something like rm -i ./*ile which will also work for commands other than rm (grep for instance).
The "public" software is anything installed in the /p or /public directory (typically, actual programs are in /p/bin). This software is installed by non-staff (students, researchers, or professors) and is not monitored, installed or maintained by the staff; if you're having trouble with a particular program, contact the person who installed that package (as shown by ls -l) directly, or email public [at] cs [dot] utexas [dot] edu, which is a mailing list of all people who maintain programs in /public. If you want to enable your account to install software in /public, email udb [at] cs [dot] utexas [dot] edu and they'll add you to the group and mailing list.
Please don't use "find /", as it's very slow and a real drain on the network. Use locate by typing locate [string], where [string] is the name of the file you want to find, or part of the name. It's more appropriate to use find to find something in a fairly small area, such as your home directory or a /projects directory, neither of which are searched by locate. The basic find syntax is 'find [path to search] [expression to search for]'; please read the man page for find, for more detailed information.
First, you should try recovering the file from snapshots yourself; to learn how view the documentation on recovering files from snapshots. If that fails, email operator [at] cs [dot] utexas [dot] edu and ask them to restore your files. Include the following information:
- When did you delete the file(s)?
- When did you create the file(s)? ("Not recently" is enough)
- When did you last change the file(s), before the day you deleted it/them?
You can find out how much disk space is in a particular directory (such as someone's home directory) with the command du -sk, if you have permissions on that directory -- if it's yours or if it's world-readable. You can also check the directory /lusr/share/doc/disk-usage for reports on who's using how much space on specific disks, although that information is updated hourly, not in real-time.
The default font for terminal windows run via the 'xterm' and 'rxvt' programs is set in your ~/.Xdefaults file; the line looks like XTerm*font: 9x15 . Change the 9x15 to the font you want to use. You can change the font for any application in the same way. To pick a font, use the "xfontsel" application. (10x20 is slightly larger than 9x15, and 8x13 is slightly smaller.)
You can also set the font upon startup to most Xwindows applications and terminals (including xterm, rxvt, konsole, gnome-terminal, etc) via arguments to the command, like so: rxvt -fn '-sony-*-*-*-*-*-*-*-*-*-*-*-*-*' Don't forget to put the argument in single quotes (') if it contains shell metacharacters such as asterisks.
New UNIX groups, for the most part, are only created for "official" department purposes (students working together in a class created at the request of the professor, for example). If you have a reason to need a group, Email udb [at] cs [dot] utexas [dot] edu, giving the name of the group you want, the login names of the people who need to be in it, and the purpose of the group. The group, if approved, will be created within one or two business days.
It means that all new files will be created with the same group id as that of the parent directory. The lowercase s shows that the directory is also executable, meaning you can cd into it.
That functionality is typically provided by the GNU Readline Library, which is used by many applications such as shells (bash, tcsh, zsh), mailreaders (mutt) and many others. However, some applications are not readline-aware but fear not, there is a way to make them behave like they are! We have installed the program rlwrap which provides readline functionality to any text input program. It is in the standard path and can be run with any client application, though there are many applications (anything graphical for instance) with which it would not make sense. An example execution would be:rlwrap acl which starts the allegro common lisp interpreter with readline functionality.There is a man page (rlwrap(1)) for your edification.
The ImageMagick suite is capable of all types of conversion. Using it is simple: convert originalfile.format newfile.newformat convert automatically determines the original filetype from the file itself and chooses the output format based on the file extension you provide for the newfile. For example, convert file.ps file.gif will convert the file from postscript to GIF. see the convert(1) man page for more information on the formats it supports.
While ImageMagick supports multi-page GIF files, many utilities and viewers do not, so you may wish to either convert single pages of the PS file to GIF format, or first use the psnup command to reduce (the relevant pages of) your document to a single page
You can connect to a public CS unix machine via SSH. PuTTY and SSH Secure Shell are available for free from Bevoware. Alternatively, you can view the documentation on setting up a VNC server and use that method to connect to a CS host.
System news can be found on the System Status blog. A RSS feed of this blog is available for news tracking. If you prefer to receive these updates through email as they are posted, you can send mail to udb [at] cs [dot] utexas [dot] edu requesting to be added to the mailing list for system news.
Printing
You can type "man printers" for information on how to use the printers, what the printer names are and how to refer to them, etc. The commands to use the printer are: lpr -Plw[printernumber] [yourfile] - prints "yourfile" to the named printer lpq -Plw[printernumber] - displays the current print queue for the named printer lprm -Plw[printernumber] [job ID] - removes the job with ID job-ID from the print queue for the named printer. Job ID's are found with 'lpq'.
To find out which printers can be printed to ("public" printers), use the command ypmatch lw.pub machines. For more information about the printers (location, usage, etc.) please run man printers.
A lot of information about printers, including location, is stored in the file /etc/printcap -- you can look there for the location of a specific printer. You can also run man printers for usage and location information about the public printers.
This is outlined here.
Press the down arrow button, and it will ask you if you would like to print to normal paper that is available. Press OK and it should begin to print using the paper from one of the trays.
This is outlined here.
Please see our documentation page on CUPS printing options.
Type 'lpq -Plw[printernumber]'. This will often display an error message such as "Out of paper" or "Paper jam". If one of these errors has occurred, correct it (put more paper in the printer or open it and clear the jam if the printer is not physically locked). If that doesn't fix the problem, or if no such problem is displayed, restart the printer daemon with the command /lusr/etc/restart_lw -Plw[printernumber] and see if that fixes it. If the printer seems to be hanging on a specific large job, try cancelling that job and restarting the printer daemon. If none of these steps clears the problem, submit a shopreq and describe the problems and the steps you've taken.
You don't. The software is specifically setup to prevent you from doing this. Printers are not copiers and should not be used as such.
Programming
An Oracle database server is installed for use by some classes; check with the class instructor about how to get access to it and how to use it. The MySQL database system is installed in /lusr/etc, with the database server program (mysqld) installed only on the Linux machines and client programs and libraries on all of the architectures. MySQL was installed originally to support a staff project, which is why it is installed in /lusr/etc and not on the default path as why the server is installed only under Linux. We don't really have the resources to support a dedicated database for everyone to use, and we don't have the resources to let everyone run a copy of the database server on production machines all the time. However, if you want to run MySQL while you are actively logged in, you can use the --datadir=path argument to mysqld to tell it to look for the database files somewhere in your home directory. Try not to use too much space or processor time, and remember to shut down the server before you log out. Also, be careful about unauthorized access since the security of your database is up to you. If MySQL is abused to the point of causing problems for other people, we will have to turn the bits off to prevent anyone from using it. At the moment, we don't plan to install any web-based interfaces or any other additions to MySQL. For more information about MySQL, check the documentation available online.
Also, in some cases we can support your MySQL needs on a less-supported but departmentally maintained server. The faq page on Z has more information about the services provided there.
We have installed Java in /usr/bin/java. We generally have the latest version on the default system path so you will get that version by default.
GNU gcc is available in /usr/bin/gcc. g++ is the C++ compiler based on gcc and is located in /usr/bin/g++. There are several additional versions of each of these (4.1, 4.3 and 4.4 found by adding -4.1, etc to the path).
gfortran is available as /usr/bin/gfortran.
Yes, the directory location is: /usr/bin/perl. Perl (Practical Extraction and Report Language) is a scripting language often used under UNIX. Perl provides access to all operating system calls but is interpreted (not compiled), so it is faster to code and easier to debug than writing, say, C; but it typically runs more slowly.
Yes, Python is located in the directory: /usr/bin/python. Python is an interpreted, interactive, object-oriented programming language that combines power with clear syntax. See "man python" for more information.
gcl is available as /usr/bin/gcl and clisp as /usr/bin/clisp.
GNU gdb (/usr/bin/gdb) is available on all of the supported machines. ddd (/usr/bin/ddd) is a graphical interface to gdb. All debuggers should work for either C or C++, and possibly FORTRAN and Pascal as well.
Tcl is located in the directory /usr/bin/tclsh, and wish is located in the directory /usr/bin/wish. Also, Tcl extensions expect, itcl, and tix are installed.
Text Editing
OpenOffice is installed on the linux machines and it capable of viewing Microsoft documents. Just run /usr/bin/ooffice or select it from the applications menu in your windows manager.
You can view the file using acroread or xpdf. OpenOffice supports printing to PDF files.
The two major UNIX editors are emacs and vi. Other editors installed are xedit, xemacs, pico, ed, and nano.
Hold down the ctrl key and press x; then c. Please make sure you exit before you log out. See the man pages on Emacs for more information.
Press the escape key (esc on some machines) to make sure you are in command mode (also called edit mode). In command mode type "ZZ" or ":wq". If you want to exit without saving changes, use ":q!".
World Wide Web
For most common questions about setting up a web page and putting scripts, images, links, etc. in it in the CS domain, see the documentation on using the web.
Yes. We only support PHP5, not PHP4.
A mod_php script should have the suffix .php and no #! line A CGI script should invoke #!/usr/bin/php5-cgi at the top and have the .cgi suffix.
For more information, see the documentation on using the web The PHP documentation is available at http://www.php.net.
Yes. You can use dynamic configuration files using an .htaccess file to restrict access to documents in your web directory. For more information on this, see the documentation on using the web.
By default, CGI scripts running on our server execute as the web user www; this user has no special permissions. Thus, the directory in which the script resides must be world-searchable, the script must be world-executable, and files read or written by the script must be world-readable or world-writable.
In certain applications, you may prefer that a script execute with your Unix account permissions so as to access protected data. We provide a "Secure CGI" mechanism for doing this.
Warning: Please carefully weigh your need for this feature against the security risks of a script running with the full permissions of your user account. You are responsible for the use of that account, whether by your own hand, by someone using a workstation where you left yourself logged in, or by someone exploiting a poorly written script which you have made available on the Web. You may wish to review our policies.
The basic guidelines for setting up a secure CGI script are:
- Full script pathnames should contain only printing ASCII characters. They should not contain relative path components.
- Script directory should be searchable by the owner and have the same owner/group as the script file. They should not be writable by anyone other than the owner
- Script files should be a regular file (not a symlink), be executable by the owner and have the extension ".scgi".They should not be setuid or setgid or writable by anyone other than the owner.
Other notes:
- Non-parsed-header scripts may be used with the usual nph- prefix.
- Access control directives (in a .htaccess file) will not work for a .scgi script. Normally, this is not a problem, since the script is typically the action associated with a form in a .html file, which can be access controlled. Of course, the script is at liberty to implement any authentication for itself that it chooses.
This is a tough question; there is definitely some content such as sounds and images which will never be universally available to blind or deaf users. However for the most part, staying standards compliant and making sure that your pages have no syntax errors or dependency on a specific browser is the best way to be sure of reaching the widest possible audience.
The canonical reference for the most popular and most widely supported markup languages, HTML and XHTML, is published by the World Wide Web Consortium. This documentation is the agreed-upon standard for web markup across the entire internet. It is likely to be supported by all browsers, from cell phones and text-only browsers for the blind to the latest version of Internet Explorer.
To be sure you've created pages that not only meet the standards but fail to have any content-impairing typos, you should probably run them through the XHTML and HTML validator and potentially through the CSS validator as well, if you have used cascading style sheets for further page layout. Be warned that older or less capable browsers may not support CSS so do try reading your page without the CSS in the source to see if all text displays fully and legibly in its absence.
Although it is popular to write browser-specific code targetting IE or mozilla/netscape, and although such code may work on the majority of the browsers available today, you do limit your site's usefulness by doing so. Consider whether you think the cute tricks with the cursor or ActiveX controls are worth someone not being able to find the link to your resume or research-- Old, small, and handicapped accessible browsers may be unable to use your site and often will just ignore it instead of informing you. The "Viewable With Any Browser" campaign may serve to further enlighten you as to the rationale behind creating more compatible web pages.
Finally, you should consider making your page fully handicapped accessible. A simple way to be certain about this is to use the Watchfire WebXact validator to check your markup for accessiblity.
Xwindow System
If your computer is connected to the internet, you can run ssh -X hostname where hostname is the name of the computer that you want to log into. The -X flag enables X forwarding. You can then run X applications within that ssh window and they will display on your local desktop. For further information, such as getting this to work on the Windows operating system, see the SSH X Forwarding documentation page.
VNC is also available, although we generally discourage its use when X forwarding is an option.
There are a number of options available for your use. Some of the choices are: Fvwm, GNOME, KDE, TWM, and Xfce. You can set your windows manager by changing the drop box next to Sessions on the login screen that asks for your password.
If you have logged into our UNIX machines before they were all updated to Lucid, you will need to remove your old config files for the windows manager you are using. You can use Ctrl+Alt+F1 (Ctrl+Alt+F7 or F8 will get you back to the graphical login screen) to get to a virtual console and the dotfiles/directories in question are:
- gnome - .gnome2, .gnome2_private, .gconf, and .gconfd
- kde - .kde and .kderc
- xfce - .config, .gconf, and .gconfd
If you are using gnome as your windows manager and you try to use MATLAB, you may run into this issue. To fix the problem, go to System Menu -> Preferences -> Appearance, then select the 'Visual Effects' tab. Set the effects to 'None' and close the window. MATLAB should behave normally once this is done.
- About Us
- Research
- Faculty
- Awards & Honors
- Undergraduate Program
- CS Degrees
- For Non-CS majors
- Courses
- Advising
- Undergraduate Research
- Honors Programs
- Interdisciplinary Study & Certificate Programs
- Study Abroad
- Jobs & Internships
- Scholarships
- Prospective Students
- Why Study CS?
- Where to Study Computing at UT
- K - 12: Get Started Now
- Apply to CS from High School
- Apply to Turing Scholars from High School
- Freshman Research Initiative
- Transfer to UT CS from Another University
- Transfer to CS from Another UT Major
- Apply for Admission to CS from Entry-Level CS
- Schedule a Visit
- Student Life & Organizations
- Demographics
- Alumni
- Forms
- Code of Conduct
- Graduate Program
- Giving & Collaboration
- Careers
- Outreach
- Alumni
Facilities
- Audio & Visual
- Cluster Node Status
- Documentation
- FAQ
- Grad Office Assignments
- Help
- Laptop Encryption
- Meeting Rooms
- Purchasing Requests
- Public Labs
- List of public UNIX hosts and their status
- Shop Req (Hardware issues/requests)
- Software Downloads
- System Status Blog
- Tech Staff Updates Blog
- UTCS IT Policies
