CE(1)

NAME
xce - X11 version of Chet's Emacs

SYNOPSIS
ce [-r] [-b name] [+n] [-d display] [-f font] [-g geometry] [-R] [files]

DESCRIPTION
ce is Chet's Emacs. It is a customizable, self-documenting, real-time display editor similar to the GNU version of EMACS written by Richard Stallman. ce is very similar to GNU EMACS, but there are some differences, and one should not rely on complete compatibility.

OPTIONS
ce interprets the following flags when invoked:

-r  Cause the buffer containing the file designated by the following argument to be placed in View (read-only) mode
-bname
    Cause the buffer containing the next file given as an argument to be named name
+n  Start at line n in the first file named as an argument
-ddisplayname
    Start up on X11 display displayname
-ffontname
    Use fontname rather than the default font
-ggeometry
    Cause the initial xce window to be created with size and placement specified by geometry
-R  Cause the xce window to simulate reverse video

INVOCATION
If ce is invoked with no arguments, you will be placed in an empty buffer called *scratch*. Otherwise, each file name supplied as an argument is given its own buffer. Only the first such file is read in immediately -- the others are deferred until needed to complete some operation.

The names of all buffers are saved in a list, and can be viewed with the C-X C-B command (show-buffers).

RESOURCES
For xce the available X resources are:

font
    Specifies the name of the normal font. The default is ``8x13.''

geometry
    Specifies the preferred size and position of the window.

charClass
    Specifies comma-separated lists of character class bindings of the form [low-]high:value. These are used in determining which sets of characters should be treated the same when doing cut and paste. See the section on specifying character classes in xterm(1).

multiClickTime
    Specifies the maximum time in milliseconds between multi-click select events. The default is 500 milliseconds.

reverseVideo
    Specifies that the xce window is to simulate reverse video (foreground color is BlackPixel, background color is WhitePixel). The default is ``false.''

foreground
    Specifies the foreground color. The default is ``black.''

background
    Specifies the background color. The default is ``white.''

HELP
While running xce, several commands are available to help the inexperienced user. To execute any ce command by name, type "ESC X command-name", followed by a carriage return. A list of all ce commands and a short explanation of each is available with the show-functions command. The help command will bring up a help screen in a new window.

The describe-bindings command will also list each command, and the key sequence bound to it, if any. The list will be placed in a separate buffer and viewed in a new window, so that it can be saved to a file and possibly printed. To view the command bound to a particular key sequence, use the describe-key command.

For those unfamiliar with EMACS-style editors, an interactive tutorial is provided. The tutorial command will run this tutorial from inside ce; the teach-ce shell command will run this from a user's shell.

CUSTOMIZATION
ce will automatically read startup commands from an initialization file in a user's home directory, called .ceinit, if one is present. Place commands as they would normally be entered to ce into this file. Here is a sample file:

    bind-to-key ^C emacs-version
    set-fill-column 78

BINDINGS
The key bindings in xce can be altered to fit personal tastes. That is, the command executed when a key is struck can be changed to whatever you like. To change a binding, use the bind-to-key command.

BUGS
There are almost certainly bugs in xce. The make-bug-report command will create and switch to a new buffer in which a bug report may be composed. The send-bug-report command will send the contents of the current buffer to the current xce maintainer as a bug report.

AUTHOR
Chet Ramey
Case Western Reserve University
chet@ins.CWRU.Edu

FILES
xce The xce executable
teach-ce
    A script that runs the interactive ce tutorial
~/.ceinit
    The personal ce initialization file

SEE ALSO
regexp(3)
emacs(1)
xterm(1)

BUGS
Regular expression searches may not cross line boundaries