Edit Window


The edit window is RMC's built in connection editor.  To make it easy for
people to create and modify connections, I decided to make a simple editing
window.  This window can be brought up by clicking the `Edit' button on either
the main window or a connection window.

General

The `General' tab of the edit window has entry areas for the connection name,
the host name, and the port number for the connection being edited.  Changing
any of these is possible, and the changes will be reflected as soon as the
`Save' button is clicked.  All changes will be saved to disk.

The `Name of Connection' field requires a unique name for the connection.  Try
using your character's name along with the MUD's name, as in "Bob on SuperMUD"
or something like that.

The `Host' field, requires a fully qualified domain name, i.e.
"www.mymudserver.org" rather than "mymudserver".

The `Port' field requires a numeric, decimal number referring to the port on
which the MUD listens for connections.

The 'Font...' button will allow you to change the font that the application will use for
that connection ONLY.  The window may need to be resized to allow a useable viewing
area.  Also, variable-width fonts may look funny, especially if a MUD uses a lot of ANSI
art.  Note also that font changes to log windows has not yet been implemented.

Aliases

The `Aliases' tab stores all of the aliases associated with the connection. 
Aliases are described in detail in the `Aliases' section of the help window or
in the file "aliases".

The alias tab shows two input areas and a list.  The list is a list of all the
aliases defined.  The `Alias:' entry area takes in input from the user to be
used as the alias command.  The large text area on the right contains all the
commands associated with the alias.  Each command is seperated by a new line,
so when typing commands, hit the `enter' key after each one.  The application
does not recognize a semi-colon (;) as a delimiter or command seperator like
some clients do.

Selecting an alias from the list sets the `Alias:' entry area to the alias
command and the text area on the right to the commands that will be executed
when the alias is typed.

Selectin an alias an clicking `Delete' will delete the alias from the list. 
There is no confirmation window, so be sure you wish to do this.  The alias is
not saved to disk at this time, however, so it is possible to simply click on
`Close' and then reopen the edit window.  Doing this will recover anything
changed in the cancled edit session.

To create a new alias, click on `New'.  This will create a new parse rule and
set some default values.  If either the alias entry area or the command text
area are blank when saving, the alias will not be saved to disk.

Triggers

The `Triggers' tab is identical to the `Aliases' tab, but it holds all trigger
information for the connection.

Logs

The 'Logs' tab stores all of the log object information for the connection.  Logs allow
the user to monitor and store text that comes from the MUD.  See the 'Logs' section
for more details.

Save and Close

To save the edit session and close the window, click on `Save'.  This will
save the connection information to disk in the file ~/.rmcrc and will close
the edit session.

Clicking on `Close' will close the edit session.  The changes will NOT be
saved to disk unless `Save' has been clicked.  If this is the case, then any
changes made after `Save' had been clicked will be lost.
Misc.

The application will not allow multiple edit sessions for the same connection.
It will allow simultaneous sessions for multiple connections, however.

In release v0.51, the application would crash after so many edit session were
opened and closed.  This problem is being addressed.

