THE USER RUN FAQ
OF THE CS GRADUATE STUDENT WORKSTATION ROOM

This document answers some Frequently Asked Questions (FAQ) about the computer facilities located in the CS Graduate Student Workstation Room. It is intended for new students, guests, occasional or frequent users to complement the official FAQ with up-to-date information written by actual users of the workstation room, and other CSD computer facilities.

Because this alternative FAQ is run by users only, your contribution is vital. Feel free to add, correct, or organize the information in this document, and share YOUR experience. You have write permission to this file: /r/share1/faq/faq.html.

A plain text version of this document is /r/share1/faq/faq.txt.
On the Web the documents are http://www.cs.ucla.edu/r_share1/faq/faq.html and http://www.cs.ucla.edu/r_share1/faq/faq.txt.


QUESTIONS


GSWR (Graduate Student Workstation Room)
Where is the CSGSWR?
How can I get in?
What's the phone number?
What hardware is available?
Can I see a map?
What do I need to do to use these machines?
How to use the Macs? What's on them?
The keyboard does not echo typing, what do I do?
How do I use the floppy drives on the Sparc4s?
How do I use the zip drive on sealion?

Setting up my Environment

How to set up my Unix environment?
An example of shell startup files using C shell?
An example of shell startup file using Tcsh?
An example of X setup using the Tab Window Manager (twm)?
Common terminal types is CSD and SEAS?
Can you tell me how to change my full name?
How do I change my shell ?
How do I change my password ?

Printing and Viewing Files

Which printers are available to students ?
Killing a print job
How do I print a .dvi file?
How do I print a .pdf file?
How do I print a .gif file?
What are the dvi to ps converter available?
How do I print a .ps file .ps files
How do I print .tex files
How do I view .ps files
How do I view .dvi files
How do I view .tex files
How do I view .pdf files

Using LaTeX

How do I get started using LaTeX?
Is there a LaTeX thesis document style for UCLA?

The World Wide Web

Surfing the Web: Netscape
Surfing the Web: Mosaic
"Surfing" the Web: Lynx
How do I get a link to my home page put on department pages?
How do I prevent WWW access to all the world readable files in my home directory?
How can I view postcript/dvi/... files under Netscape?
HTML Editor: asWedit

Reading News

Choosing a news server
What are the available news readers
How do I post to newsgroups

Available Software

Do we have Adobe Acrobat Reader?
Do we have xv?

Emacs

How do you I print a buffer/region in Emacs?
How to read the news in Emacs?
How to personalize Emacs/gnus to access sometimes the CSD news server, sometimes the UCLA newserver?
How to read mail in Emacs?
How to learn to use emacs?
How to get help under emacs?
How to run a spell checker under emacs?
How to run a shell under emacs?
How to compile a program under Emacs?
How to debug a program under Emacs?
How to run Eliza on Emacs?
Where is Emacs installed? What version?
How to run Emacs without its own X window?
How to make Emacs silent?

Contributing to this FAQ

How can I contribute to this FAQ?

ANSWERS



The CS GSWR


Where is the CSGSWR?

The Computer Science Graduate Student Workstation Room is located in Boelter Hall 3276 and 3286.

pierre@cs, 09/25/95

How can I get in?

To enter you need a "swipe card". If you don't have a swipe card or if it does not work, contact Natalie Rosentzwieg (natalie@cs) or Judy Williams (judy@cs) in BH4732. To enter the workstation room, swipe rapidly the card in the reader...
 _ a green light: ok, welcome ! 
 _ a red light  : card read but your database entry says "access not allowed"
 _ both lights  : couldn't read, try again

egouriou@cs, 09/25/95

What's the phone number?

The phone number is (310) 825 2077. Please use with extreme moderation. Incoming calls from UCLA are accepted, but off-campus callers will hear "You have dialed a non-working number."

pierre@cs, 09/25/95

tsai@cs, 03/06/96, 09/16/96

What hardware is available?

* Unix workstations

-- Solaris --

otter   SPARCstation 4  Solaris 2.3 (SunOS 5.4) X11R6   Motif 1.2
sealion "               "                       "       "
walrus  "               "                       "       "
oyster  "               "                       "       "
dolphin "               "                       "       "
seal    "               "                       "       "
coral   "               "                       "       "
murex   "               "                       "       "
limpet  "               "                       "       "
kelp    "               "                       "       "
clam    "               "                       "       "
shell   "               "                       "       "
tusk    "               "                       "       "
cowry   "               "                       "       "
chiton  "               "                       "       "
abalone "               "                       "       "
mussel  "               "                       "       "
scallop "               "                       "       "
octopus "               "                       "       "
purpoise "              "                       "       "

owl     "               "                       "       " & streamer
condor  SPARCstation 5  "                       "       "
hawk    "               "                       "       "
eagle   "               "                       "       " & magneto-optic drive
plover  SPARCstation LX "                       "       "

-- SunOS --

makaha  SPARCstation 1  SunOS 4.1.3             X11R5   Motif 1.2
ewa     "               "                       "       "
moby    "               "                       "       " & magneto-optic drive
hana    "               "                       "       "
killer  SPARCstation ELC SunOS 4.1.3            "       "

* Macintoshes

Quadra 630      System 7.5.1
Mac SE/30       System 7.1

* Printers

pub3 (aka "LaserJet 4"	HP LaserJet 4M	Ps level 2	300dpi
      by AppleTalk)
pub5 (unix only)	"		"		"	double-side

pierre@cs, 12/14/95

Can I see a map?

+-----------------------+----------------+-----------------+---------+
|                       |                |                 |         |
|                       |    oyster      |    walrus       |         |
+---------+             +----------------------------------+---------+
|         |                                                |         |
|   owl   |                                                |  seal   |
|         |                                                |         |
|         |                                                |         |
| sealion |                                                | dolphin |
|         |                                                |         |
|         |                                                |         |
|  otter  |                                                | makaha  |
|         |                                                |         |
+---------+                                                |         |
|                                                          |   ewa   |
|                                                          |         |
|                                                          +---------+
|                                                                    |
|                                                                    |
|                         +------------------------------------------+
+---------+               |    coral        murex        limpet      |
|  pub3   |               |                                          |
|         |               |    kelp         clam         shell       |
|  pub5   |               +------------------------------------------+
+---------+                                                          |
|                                                                    |
|                                                                    |
+---------+               +------------------------------------------+
|         |               |    moby         hana         killer      |
| Quadra  |               |                                          |
|  630    |               |    tusk         cowry        chiton      |
|         |               +------------------------------------------+
|  Mac    |                                                          |
| SE/30   |                                                          |
|         |                                                          |
|  Mac    |               +------------------------------------------+
| SE/30   |               |    abalone      mussel       scallop     |
|         |               |                                          |
| Quadra  |               |    condor       eagle        hawk        |
|  630    |               +------------------------------------------+
|         |                                                          |
+---------+                                                          |
|                                                                    |
|                         +------------------------------------------+
|                         |    octopus      porpoise	plover       |
|                         |                                          |
+-------------------------+------------------------------------------+

pierre@cs, 12/14/95 georgel@cs, 02/23/96

What do I need to do to use these machines?

To use the UNIX stations, you need an account on the CSD system. To get one contact the help staff, Chinson Li (chinson@cs), Kenny Bui (kbui@cs) or Taek Jin Kwon (kwon@cs) in BH3285-B, C and A.

You don't need an account to use the Macs.

pierre@cs, 09/25/95

How to use the Macs? What's on them?

Create your personal subfolder of the "User" folder (icon on desktop, or look in Hard Drive directory). Beware that the Mac disks are cleaned up from time to time, and files are removed without notice.
They have among many other programs:
- Microsoft Word
- Microsoft Excel
- NCSA Telnet
- Fetch
- Netscape
- Symantec C++ v7 (on Mac Performa only)
No games.

pierre@cs, 09/25/95

The keyboard does not echo typing, what do I do?

This often happen after someone has exited an X server in a dirty way.
Log on an other workstation and run:
        rsh  kbd_mode -a
This reset 's console keyboard to a rational state.

pierre@cs, 09/25/95

How do I use the floppy drives on the Sparc4s?

Insert the floppy.
Enter the command 'volcheck'

The floppy's files (dos or unix) will be mounted in /floppy/floppy0

How do I use the Zip drive on sealion?

You can use MTools to access Zip disks while on sealion. The Zip drive is
labeled `Z:'. For example, `mdir z:' and `mcopy z:\myfile.txt .' should
work.

Try `man mtools' for more help.

pedro@cs, 04/12/99


Setting up my Environment


How to set up my Unix environment?

The information below is out of date. Feel free to update. I'm leaving the country! (pierre@cs, 12/14/95)
This is a hard problem: because of hardware and software heterogeneity, 
it usually takes months to find out a setup that works on (nearly all) 
the workstations.

Shells:
sh, csh and tcsh are installed on all Sun workstations. Tcsh on the Sun 3/60s 
is very old and does not have tab-completion.
(incomplete list)

To set up a simple C shell environment, do:
        mkdir bac; cp .cshrc .login bac 
        cp /r/share1/setup/sample1/cshrc .cshrc
        cp /r/share1/setup/sample1/login .login
To set up a simple Tcsh environment, do:
        mkdir bac; cp .cshrc .tcshrc .login bac 
        cp /r/share1/setup/sample1/cshrc .cshrc
        cp /r/share1/setup/sample1/cshrc .tcshrc
        cp /r/share1/setup/sample1/login .login

Window managers:
        Solaris                 SunOS 4.1.3             SunOS 4.1.1
mwm     nope                    /usr/local/bin/X11/openwin/mwm nope
twm     /opt/X11R6/bin/twm      /usr/local/bin/X11/twm  /usr/local/bin/X11/twm
fvwm    /opt/X11R6/bin/fvwm     nope                    /usr/local/bin/X11/fvwm
olwm    /usr/openwin/bin/olwm   /usr/local/bin/X11/olwm /usr/local/bin/X11/olwm
olvwm   nope                    /usr/local/bin/X11/olvwm /usr/local/bin/X11/olvwm
(incomplete list)

An often tricky problem is to design configuration files that run on both 
the workstations that run the X Display Manager (xdm), ie. owl, condor,
eagle, and hawk, and those who don't. On these machines, after you log,
xdm reads /opt/openwin/lib/xdm/Xsession where it modifies some environment 
variables (including $PATH) and exec your .xinitrc file. Beware that your
.cshrc has been bypassed in the process. When .xinitrc is read, your $PATH 
variable may not be correctly set and commands in the .xinitrc (or in the
startup file of the window manager you spawn in the .xinitrc) may not be 
found. One solution to this problem is to "source" your .cshrc at the
beginning of the .xinitrc.

To set up an example Twm environment, do:
        mkdir bac
        cp .xinitrc .Xdefaults .twmrc bac
        cp /r/share1/setup/sample1/xinitrc .xinitrc
        cp /r/share1/setup/sample1/Xdefaults .Xdefaults
        cp /r/share1/setup/sample1/twmrc .twmrc

This works on all workstations of the CSGSWR, except maybe the IBM RTs
(could not try, they are out of order). On SunOS 4.1 machine, start X
with xinit>/dev/null.

pierre@cs, 09/25/95

An example of shell startup files using C shell?

pierre@cs, 12/14/95

An example of shell startup file using Tcsh?

pierre@cs, 12/14/95

An example of X setup using the Tab Window Manager (twm)?

pierre@cs, 12/14/95

Common terminal types is CSD and SEAS?

You've just been offered a dumb terminal, but you don't know at what to set your TERM variable to be able to use it.
"1620" or "450" (Diablo 1630)
"5410"          (AT&T 5410 monitor)
"6300+"         (AT&T PC 6300+)
"a980"          (ADDS consul 980)
"gt101"         (General Terminal 101)
"microbee"      (Micro Bee series)
"regent"        (ADDS regent series)
"tvi910"        (Televideo 910)
"tvi925"        (Televideo 925)
"tvi950"        (Televideo 950)
"teleray"       (Teleray 1061)
"vt100"         (DEC VT100)
"vt102"         (DEC VT102 and network connections)
"wy100"         (Wyse 100)
"sp"            (dumb terminal)

pierre@cs, 09/26/95

Can you tell me how to change my full name?

passwd -r nis -g

The -g option changes the gecos (finger) information.

Normal users may change the nis or nisplus repositories.

shill@cs, 10/16/00

How do I change my shell?

passwd -r nis -e

The -e option changes the login shell.

Normal users may change the nis or nisplus repositories.

The choice of shell is limited by the requirements of getusershell(3C). If the user currently has a shell that is not allowed by getusershell, only root may change it.

shill@cs, 10/16/00

How do I change my password ?

 Log on your server machine (flamingo/pelican) and use:
        flamingo>yppasswd 
        Changing NIS password for egouriou
        Old yp password:
        New password:
        Retype new password:

 (Question: Aren't yp services deprecated ? nispasswd doesn't work)

egouriou@cs, 09/27/95

 (Answer: We probably are still using NIS (yp) services to maintain backwards
          compatibility with the old SunOS systems, which don't have NIS+.
          And besides, if we were to switch entirely to NIS+, that might make
          too much sense for our system admins.

kahn@cs, 09/11/96


Printing and Viewing Files


Which printers are available to students ?

 _ a LaserWriterII is connected to the Macs

 _ pub3 (Apple LaserWriter II) and pub5 (HP LaserJet 4)
   can be used from the workstations

 _ pub1 and pub2 are in the 4800 hall.  pub1 is an HP LaserJet 4.

 You should set the PRINTER/LPDEST environment variable accordingly:
 .cshrc:
        SunOS:   setenv PRINTER pub3 
        Solaris: setenv LPDEST  pub3
 .profile:
        SunOS:   export PRINTER; PRINTER=pub3
        Solaris: export LPDEST; LPDEST=pub3

egouriou@cs, 09/27/95

Killing a print job

On SunOS machines you can use the commands lpq to get the status of a print job and lprm to kill it. Example: humpback>lpr .tcshrc humpback>lpq pub5 is ready and printing Rank Owner Job Files Total Size active egouriou 25 .tcshrc 2973 bytes humpback>lprm 25 kona: dfA000humpback dequeued kona: cfA000humpback.cs.ucla.edu dequeued humpback>lpq no entries On Solaris machines, use lpstat and cancel: Example: eagle>lp .tcshrc eagle>lpstat pub5-200 eagle.cs.ucla.edu!egouriou 2973 Sep 24 20:26 on pub5 eagle>cancel pub5-200 request "pub5-200" cancelled eagle>lpstat eagle> Note: under Solaris, use lp rather than lpr and make sure that the environment variable LPDEST is set. (see: man lp) egouriou@cs, 09/27/95

How do I print a .dvi file?

1. use a dvi to ps converter to get a postscript file (see question "What are the dvi to ps converter available?". ) 2. print the ps file (see 17) egouriou@cs, 09/27/95

How do I print a .pdf file?

Use the acrobat reader (see question "how do I view a .pdf file?"). egouriou@cs, 09/27/95

How do I print a .gif file?

Use xv On Solaris machines, you can use /usr/openwin/bin/imagetool For those of you who are conscientious, xv is a shareware program. So far, the DCF is refusing to license it, but there are several rogue versions around, like the SunOS4.1 version in /u/gs3/pub/xv. See also "Do we have xv?". egouriou@cs, 09/27/95

What are the dvi to ps converter available?

dvips xx.dvi -o xx.ps dvi2ps and dvitps are available on Solaris. Only dvips recognizes the \special tag for including eps figures. egouriou@cs, 09/27/95

How do I print a .ps file?

Sun-OS: lpr [-P pub3] filename.ps Solaris: lp [-d pub3] filename.ps

egouriou@cs, 09/27/95

How do I print .tex files?

Use latex to get .dvi files and see question "What are the dvi to ps converter available?". Under Solaris, the command dvips file.dvi will print your document by default.

egouriou@cs, 09/27/95

How do I view .ps files?

Use ghostscript/ghostview/gs

egouriou@cs, 09/27/95

How do I view .dvi files?

 Use xdvi
 If you include .eps figures in your document, you should  convert 
 your file to a .ps file and then view this file 
 (see question "How do I view .ps files?". )

egouriou@cs, 09/27/95

How do I view .tex files?

Use latex to get .dvi files and then use xdvi

egouriou@cs, 09/27/95

How do I view .pdf files?

 The acrobat reader is available on Solaris machines in:
        /opt/local/adobe/AcroRead_1.0/bin/acroread

 There is an acrobat reader on the newer Macs.
 You get the same effect by setting the "Home Page Location" in the
 "Preference..." menu under Netscape

egouriou@cs, 09/27/95


Using LaTeX


How do I get started using LaTeX?

Bob Tisdale has put together a collection of documents including Document Preparation (see How can I view postcript/dvi/... files under Netscape?). All of the basic instructional and template files discussed can be found in /r/share1/faq/latex-doc.

Is there a LaTeX thesis document style for UCLA?

Yes, there is a style file that has been used by several students in the department. Currently, it is maintained by John Heidemann but he is looking for someone new to this. The file can be found on John's web page: http://www.isi.edu/~johnh/SOFTWARE/uclathes.html

cardo@cs, 01/18/96


The World Wide Web


Surfing the Web: Netscape

Netscape is installed on Solaris (/opt/X11R6/bin) and (new!) SunOS 4.1.3 
(/usr/local/bin/X11).

The entry in /opt/X11R6/bin is a symbolic link to the most recent stable
 version of netscape. If you have an adventurous mind or if you prefer
 older versions, you can access them in the same directory.

You get the same effect by setting the "Home Page Location" in the
"Preference..." menu under Netscape

Note: Please do not launch Netscape remotely on workstations,
if you really need it, launch it from your server (flamingo or pelican)
but it's not a good solution.

egouriou@cs, 09/27/95

Surfing the Web: Mosaic

 Mosaic is installed on all machines,
 Solaris: /opt/X11R6/bin/Mosaic
 Sun-OS:  /usr/local/bin/X11/Mosaic

 Note: _ the command is Mosaic, not mosaic
       _ By setting the variable WWW_HOME, you can choose which page will be
         displayed when you open Mosaic.
         Example:          setenv WWW_HOME  $HOME/index.html

egouriou@cs, 09/27/95

"Surfing" the Web: Lynx

 Lynx is a text-only browser that can be useful, especially if you
 are using a remote connection.
 Solaris & Sun-OS: /usr/local/bin/lynx

How do I get a link to my home page put on department pages?

Send mail to webmaster@cs.ucla.edu

cardo@cs, 09/28/95

How do I prevent WWW access to all the world readable files in my home directory?

Yes, its true, anyone on the web can specify your home directory as a URL and read all your files with the read other bit set. To prevent this, place the following in a file called .htaccess in your home directory:
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName CSOnly
AuthType Basic

<Limit GET>
order deny,allow
deny from all
</Limit>
If you want to make some sub-directory (and all directories it contains) accessible, create another file called .htaccess in the directory in question:
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName CSOnly
AuthType Basic

<Limit GET>
order allow,deny
allow from all
</Limit>

cardo@cs, 01/24/96

How can I view postcript/dvi/... files under Netscape?

Copy the files .mime.types and .mailcap in /r/share1/setup/mime into your 
home directory.

To use netscape from a sunos machine in the workstation, don't launch it
on a solaris machine through xrsh: most viewing programs would not be found
(eg. ghostview is not installed on sunos for instance).
Instead, rlogin on a solaris machine, set the display (& do the xhost +),
and start netscape.

pierre@cs, 10/18/95

HTML Editor: asWedit

I just installed two HTML editors in /opt/X11R6/bin

"asWedit" is free for educational use.

"navipres" is free trial for 30 days.  I will remove "navipres" after 
30 days.

Let me know if you have any questions or problems.

BTW, if someone can customize the asWedit's toolbar better than the way
I did, please send me the config so I can merge it in the global
config file.

kbui@cs, 10/12/95


Reading News


Choosing a news server

 There are two common news servers that you can use:
 _ news.cs.ucla.edu: this is the departmental server,
   it is the only server where you can find local newsgroups
   help, grads, system, etc.
 _ news.ucla.edu: is the main server for Ucla, you should use
   this server only if you need groups not available otherwise
   or if you want to find old posts. (they are kept longer)

 The easiest way to specify which server you want to use is to set
 the NNTPSERVER variable to the server's name.
 Example: 
   .(t)cshrc    setenv NNTPSERVER news.cs.ucla.edu
   .profile     NNTPSERVER=news.cs.ucla.edu
                export NNTPSERVER

 Note: if you need to switch from a server to another one, make sure
 to use different .newsrc files. Contact pierre@cs if you want to
 switch servers often and don't like switching .newsrc files. 

egouriou@cs, 09/27/95

News readers

 There are many news readers available, but all text-based (according
 to the system administrators, Xrn tend to overload the server).
 
 In order of personal preference:
 rtin, gnus ( ESC-X gnus under emacs), rn, nn, trn ...

egouriou@cs, 09/27/95

For posting to newsgroups

 I usually use postnews under emacs (ESC-X postnews),
 but if you have strong feelings about any other method, please
 add your contribution to the FAQ. 

 In nn, type ':post' and follow the directions.

egouriou@cs, 09/27/95


Available Software


Do we have Adobe Acrobat Reader?

Yes. On Solaris machines, including flamingo, pelican, etc, it's
        /opt/local/adobe/AcroRead_1.0/bin/acroread
(add /opt/local/adobe/AcroRead_1.0/bin to your PATH
 and /opt/local/adobe/AcroRead_1.0/man to your MANPATH)

cardo@cs, 09/29/95

Do we have xv?

It's on /r/share1. See /r/share1/src/xv-3.10a/UCLA-README. To use, click left button on first window, and play around... There is also a hardcopy of the manual on the shelves behind the printer for public consultation.

pierre@cs, 12/14/95


Emacs


I would never had started this section if I hadn't been asked by new students who never used emacs before. The Qs/As below are supposed to be particularly relevant in the CSD environment. This info can also be found in the official doc (see How to learn to use emacs?) but, anyway, here you are. pierre@cs, 09/29/95

How do you I print a buffer/region in Emacs?

Type M-x (ESC x) lpr-buffer and M-x lpr-region, assuming you have set the 
PRINTER (LPDEST on solaris) variable.
In your .emacs, you may need: (setq lpr-command "lpr")
To print no header page, add: (setq lpr-switches '("-h"))

pierre@cs, 09/29/95

How to read the news in Emacs?

Type M-x gnus. You need to have set your NNTPSERVER variable. You may also need in .emacs: (autoload 'gnus "gnus" "Read network news." t) (autoload 'gnus-post-news "gnuspost" "Post a news." t)

pierre@cs, 09/29/95

How to personalize Emacs/gnus to access sometimes the CSD news server, sometimes the UCLA newserver?

(UCLA's server has longer retention time, more newsgroup, but does not have
grads, system, seminars, help, classes.xx (*))

Create 2 news files .newsrc-news.cs.ucla.edu and .newsrc.ucla.edu,
and add to your .emacs configuration file:
(setq gnus-open-server-hook
      '(lambda ()
         (if (y-or-n-p "CSD news? ")
             (setq gnus-nntp-server "news.cs.ucla.edu")
           (setq gnus-nntp-server "news.ucla.edu"))))
(*) seems to be fixed since nov 95.

pierre@cs, 09/29/95, 12/24/95

How to read mail in Emacs?

I use M-x mail to send mail and M-x rmail to read mail. Emacs manages
the folder in a specific format (Rmail format) and not the mbox format.

Another mail reader is VM.  VM uses the standard mbox format.  Use M-x vm
to run it.

Mh-mail is also installed. I think you need to add to the .emacs:
(setq mh-progs "/usr/local/bin/mh/")

pierre@cs, 09/29/95, georgel.cs, 12/11/95

How to learn to use emacs?

- man emacs
- more /usr/local/lib/emacs/19.22/etc/TUTORIAL
- M-x info, and 'm' on Emacs: (emacs)...

pierre@cs, 09/29/95

How to get help under emacs?

- M-x apropos gives all commands/variables containing a word
- M-x info
- C-x C-f /usr/local/lib/emacs/19.22/etc/FAQ (on Solaris)

pierre@cs, 09/29/95

How to run a spell checker under emacs?

M-x ispell-buffer, M-x ispell-region and M-x ispell-word
You may need to add to .emacs:
(autoload 'ispell-buffer "ispell" "Check the spelling of buffer." t)
(autoload 'ispell-region "ispell" "Check the spelling of region." t)
(autoload 'ispell-word "ispell" "Interactive spell check." t)

pierre@cs, 09/29/95

How to run a shell under emacs?

M-x shell
On Solaris you get the warning "tcsh: using dumb terminal settings" in the
*shell* buffer.
This is normal, since there is no termcap/terminfo entry for terminal 
type `emacs'.

pierre@cs, 09/29/95

How to compile a program under Emacs?

M-x compile

pierre@cs, 09/29/95

How to debug a program under Emacs?

M-x gdb

C/C++ code: compile with "gcc/g++ -g ..."

pierre@cs, 09/29/95

How to run Eliza on Emacs?

M-x doctor will connect you to a psychotherapist.

pierre@cs, 09/29/95

Where is Emacs installed? What version?

Emacs 19.29.1 is in /r/share1/bin/emacs (libs in /r/share1/src/emacs).

Mule (emacs with international fonts support) is in /r/share1/foreign.

Older version: /usr/local/bin/emacs (libs in /usr/local/lib/emacs)...
Solaris 2.3     GNU Emacs 19.22.3 of Wed Dec 29 1993 on osprey (usg-unix-v)
SunOS 4.1.3     GNU Emacs 19.22.1 of Mon Apr  4 1994 on kona (berkeley-unix)
SunOS 4.1.1     GNU Emacs 19.16.1 of Tue Jul  6 1993 on fiji (berkeley-unix)

pierre@cs, 09/29/95, 12/24/95

How to run Emacs without its own X window?

emacs -nw tells Emacs not to use its special interface to  X.
If  you  use this switch when invoking Emacs from an xterm(1) window, 
display is  done  in  that  window.

pierre@cs, 09/29/95

How to make Emacs silent?

Add to .emacs:
(setq visible-bell t)

pierre@cs, 09/29/95


Contributing to this FAQ


How can I contribute to this FAQ?

1.  Edit /r/share1/faq/faq.html.
2.  Add your name to the document history at the end of faq.html.
3.  Update /r/share1/faq/faq.txt. Netscape is handy for that: open
    file:/r/share1/faq/faq.html and run "Save As..." with "Text" format.
4.  Save a copy of faq.html in /r/share1/faq/old.

pierre@cs, 12/14/95

tsai@cs, 09/16/96