Article 2761 of comp.sources.unix:
Submitted-By: mik@cs.su.oz.au (Michael Koelling)
Posting-Number: Volume 29, Issue 103
Archive-Name: red-96/part08

#!/bin/sh
# This is `part08' (part 8 of a multipart archive).
# Do not concatenate these parts, unpack them in order with `/bin/sh'.
# File `Red/red-manual/about-red.html' is being continued...
#
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  echo 'WARNING: not restoring timestamps.  Consider getting and'
  echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
if test ! -r _sharseq.tmp; then
  echo 'Please unpack part 1 first!'
  exit 1
fi
shar_sequence=`cat _sharseq.tmp`
if test "$shar_sequence" != 8; then
  echo "Please unpack part $shar_sequence next!"
  exit 1
fi
if test ! -f _sharnew.tmp; then
  echo 'x - still skipping Red/red-manual/about-red.html'
else
  echo 'x - continuing file Red/red-manual/about-red.html'
  sed 's/^X//' << 'SHAR_EOF' >> 'Red/red-manual/about-red.html' &&
Xwhether you like it. Who knows, you might finally even give up 
X<code>vi</code>...<p>
X
X<h3>Some features of Red</h3>
X
XThese are some of Red's features that might be interesting:
X<ul>
X	<li>Graphical interface
X	<li>Full mouse and key support
X	<li>40 step undo (and redo)
X	<li>User-definable key bindings
X	<li>Automatic backup creation
X	<li>Cut/paste exchange with other X Windows applications
X	<li>On-line function list, help and manual
X</ul>
X
X<HR>
X<A HREF="red-main-page.html">
X   <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle>
X   Main Index</A>
X
X</body>
X</html>
SHAR_EOF
  echo 'File Red/red-manual/about-red.html is complete' &&
  $shar_touch -am 0512222696 'Red/red-manual/about-red.html' &&
  chmod 0640 'Red/red-manual/about-red.html' ||
  echo 'restore of Red/red-manual/about-red.html failed'
  shar_count="`wc -c < 'Red/red-manual/about-red.html'`"
  test 2318 -eq "$shar_count" ||
    echo "Red/red-manual/about-red.html: original size 2318, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/bugs.html ==============
if test -f 'Red/red-manual/bugs.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/bugs.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/bugs.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/bugs.html' &&
X<html>
X<head>
X<title>Red: Bugs</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Known Bugs</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
X
XThe following bugs are known in Red.  They will hopefully be fixed in the 
Xnext version.
X
X<DL>
X
X<DT> <IMG SRC="../graphics/balls/black.gif" ALT="">
X  <strong>Keyboard shortcuts in menus</strong>
X   <DD> If the default key bindings are changed, the keyboard equivalents in the
X	menus are not updated.  The menus will continue to display the 
X	(incorrect) default bindings.<p>
X
X<DT> <IMG SRC="../graphics/balls/black.gif" ALT="">
X  <strong>Scroll</strong>
X   <DD> If the last line of the text wraps around, the scroll down arrow in the
X	scrollbar does not scroll far enough down to display the line 
X	completely. Page down or scrolling with keys, however, works properly.
X	<p>
X
X</DL>
X
XSee also: <a href="unimpl.html">Unimplemented features</a>.
X<HR>
X<A HREF="red-main-page.html">
X   <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle>
X   Main Index</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/bugs.html' &&
  chmod 0640 'Red/red-manual/bugs.html' ||
  echo 'restore of Red/red-manual/bugs.html failed'
  shar_count="`wc -c < 'Red/red-manual/bugs.html'`"
  test 1154 -eq "$shar_count" ||
    echo "Red/red-manual/bugs.html: original size 1154, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/changes.html ==============
if test -f 'Red/red-manual/changes.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/changes.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/changes.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/changes.html' &&
X<html>
X<head>
X<title>Red: Recent changes</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Recent Changes</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
X
XThis section lists recent changes to the functionality of Red and will be 
Xupdated regularly.  If you already know some things about Red, this is the 
Xsection of this manual that you should read every now and then anyway.
X
X<hr>
X8 May 1996  (version 0.96b)
X
X<blockquote><DL>
X	
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fix
X   <DD> A small bug in <em>new-line-and-indent</em> has been fixed.  You can now
X	type "shift-return" a few times in a row, and the cursor remains in the
X	right column.
X
X<DT><IMG SRC="../graphics/balls/orange.gif"> <strong>New User Functions</strong>
X   <DD> Four new user functions were introduced:
X        <blockquote>
X	    <A HREF="func-edit.html#backward-delete-untab">
X		backward-delete-untab</A><br>
X	    <A HREF="func-edit.html#half-tab">half-tab</A><br>
X	    <A HREF="func-edit.html#shift-left">shift-left</A><br>
X	    <A HREF="func-edit.html#shift-right">shift-right</A>
X	</blockquote>
X	Please see also <A HREF="tips.html#key-tip">Improved key bindings</A>.
X
X</DL></blockquote>
X
X<hr>
X3 May 1996  (version 0.95b)
X
X<blockquote><DL>
X	
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>Changed key bindings</strong>
X   <DD> The default key bindings for <em>cut</em> and <em>paste</em> have been 
X	changed. <em>cut</em> is now on <em>Alt-X</em>, <em>paste</em> is on
X	<em>Alt-V</em>.
X
X</DL></blockquote>
X
X<hr>
X14 March 1996  (version 0.92b)
X
X<blockquote><DL>
X	
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>Add Newline</strong>
X   <DD> The preferences box ("Preferences" from the "Options" menu) contains
X	a new option: <em>Always end file with Newline character</em>.
X	If this option is on, Red adds a newline character at the end of
X	a file if it does not have one already.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>show-line-number</strong>
X   <DD> The function <em>what-line</em> has been renamed 
X	<strong><em>show-line-number</em></strong>.
X
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fixes.
X
X</DL></blockquote>
X
X<hr>
X29 February 1996  (version 0.8b)
X
X<blockquote><DL>
X	
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>New in menus:</strong>
X   <DD> The functions 
X	<A HREF="func-misc.html#goto-line">goto-line</A> and
X	<A HREF="func-misc.html#show-line-number">what-line</A> are now in the "Tools"
X	menu (and still on the keys F5 and F6 as before).
X
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fix: 
X   <DD> A newline symbol can
X	now be inserted into the replace pattern in the replace dialog.
X	
X</DL></blockquote>
X
X<hr>
X18 December 1995  (version 0.76b)
X
X<blockquote><DL>
X	
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fixes.
X	
X</DL></blockquote>
X
X<hr>
X23 November 1995  (version 0.74b)
X
X<blockquote><DL>
X	
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fix.
X	
X</DL></blockquote>
X
X<hr>
X31 October 1995  (version 0.73b)
X
X<blockquote><DL>
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>directories</strong>
X   <DD> The file selection dialog (used in <em>open</em> and <em>save-as</em>)
X	now starts in the directory of the current file.<p>
X	To explain the use of this, one example: If you have multiple files
X	open that are in different directories, you can more easily open a file
X	if you click the open button in a window of a file that is "close" to 
X	the one you want to open.  The file selection will start in the 
X	directory where that file is stored.
X	
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>next-line</strong>
X   <DD> <em>next-line</em> (arrow down) now adds new lines to the buffer when
X	called at the end of the text.  This provides more convenient editing.
X
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fixes.
X	
X</DL></blockquote>
X
X
X<hr>
X17 October 1995  (version 0.7b)
X
X<blockquote><DL>
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>custom key bindings</strong>
X   <DD> The key bindings can now be changed.  This allows you to adapt the
X	key bindings to your personal preferences.  You can make any key call
X	any function.  You can, for instance, put a function that you use
X	frequently on a function key.<p>
X	To change the key bindings, choose "Key bindings..." from the Options
X	menu, choose a function from the list, and use the "Add Key" and
X	"Delete Key" buttons.  The bindings that you define are automatically 
X	saved and used in future sessions.<p>
X	For further details, see 
X	<A HREF="customisation.html#bindings">Key Bindings</A> in the
X	customisation chapter (which will soon be written).
X	
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>saving preferences</strong>
X   <DD> The preferences set in the preferences dialog (Option menu) are saved
X	and thus kept over sessions.  So if, for instance, beeping with 
X	warnings annoys you, now you can switch it off once and for all.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>indent</strong>
X   <DD> Shift-Tab now calls a new function 
X	<A HREF="func-edit.html#indent">indent</A>.  This indents to the
X	next word in the line above. (If you find indent more useful than
X	Tab, you can redefine the Tab key to call "indent", and shift-Tab
X	to call "tab-to-tab-stop".  See <em>custom key bindings</em> above.)
X	
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>new-line-and-indent</strong>
X   <DD> Shift-Return now calls a new function 
X	<A HREF="func-edit.html#new-line-and-indent">new-line-and-indent</A>.
X	
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>cut-to-end-of-line</strong>
X   <DD> The behaviour of <em>cut-to-end-of-line</em> has been slightly changed:
X	If the cursor is at the end of a line, then this function cuts the
X	line break.  This is much more practical, since it allows several
X	consecutive lines to be cut with this function.
X
X</DL></blockquote>
X
X
X<hr>
X10 October 1995  (version 0.67b)
X
X<blockquote><DL>
X<DT><IMG SRC="../graphics/balls/orange.gif"> <strong>function keys and caps 
X	lock</strong>
X   <DD> Function keys did not work when caps lock was pressed.  This is fixed
X	now.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>message of the day</strong>
X   <DD> A message can be displayed now in the information area on startup.
X	This allows me to inform users of new developments.
X</DL></blockquote>
X
X
X<hr>
X8 September 1995  (version 0.66b)
X
X<blockquote><DL>
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fix concerning access 
X	rights of new files.
X</DL></blockquote>
X
X
X<hr>
X
X29 August 1995  (version 0.63b)
X
X<blockquote><DL>
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>open</strong>
X	<DD>When choosing open
X	in an editor window with an empty, unused buffer (such as right after
X	starting Red without a filename), the current editor window is used
X	to display the file, rather than a new one being opened.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>open_line</strong>
X	<DD>A new funcion 
X	open_line has been added (Ctrl-o) that inserts a new
X	line but leaves the cursor on the current line.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>access rights</strong>
X	<DD>Up to now, Red could change the access rights of a file when 
X	edited.
X	Since the original file gets renamed to become a backup file (by
X	default, which can be switched off) the edited file is actually a new
X	file.  Up to now, it received your default access rights for new files.
X	Now it will keep the same access rights as the original before
X	editing.
X
X</DL></blockquote>
X
X
X<hr>
X16 August 1995  (version 0.62b)
X
X<blockquote><DL>
X<DT><IMG SRC="../graphics/balls/orange.gif"> Bug fixes.
X</DL></blockquote>
X
X
X<hr>
X10 August 1995  (version 0.6b)
X
X<blockquote><DL>
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>Copy/Paste</strong>
X	<DD>Copy/Paste communication with other X Windows 
X	applications implemented.
X	Text can now be copied from or pasted to windows of other applications.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>Tab</strong>
X	<DD>"Tab" button added in Find-dialog to search for TAB characters.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>Hide toolbar</strong>
X	<DD>Hide toolbar implemented (in preferences dialog).
X
X</DL></blockquote>
X
X
X<hr>
X4 August 1995	(version 0.53b)
X
X<blockquote><DL>
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>save</strong>
X	<DD>"save" functionality changed: if save is called twice 
X	back-to-back the file is saved even if there were no changes.
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>Double-click/triple-click
X</strong>
X	<DD>Double-click and triple-click 
X	implemented (select-word, select-line).  See <a href="mouse.html">
X	Using the mouse</a> for further details.
X
X<DT><IMG SRC="../graphics/balls/orange.gif"> <strong>redisplay</strong>
X	<DD>"redisplay" is on Alt-L now.
X
X<DT><IMG SRC="../graphics/balls/orange.gif"> <strong>select-word/select-line
X</strong>
X	<DD>Ctrl-w calls select-word, Ctrl-l calls select-line.
X
X</DL></blockquote>
X
X
X<hr>
X1 August 1995	(version 0.52b)
X
X<blockquote><DL>
X
X<DT><IMG SRC="../graphics/balls/red.gif"> <strong>Manual...</strong>
X	<DD>In "Help" menu: Item "Manual..." implemented (displays 
X	this manual).
X
X</ul></blockquote>
X
X<hr>
X  <A HREF="red-main-page.html">
X  <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle >Main index</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/changes.html' &&
  chmod 0640 'Red/red-manual/changes.html' ||
  echo 'restore of Red/red-manual/changes.html failed'
  shar_count="`wc -c < 'Red/red-manual/changes.html'`"
  test 9348 -eq "$shar_count" ||
    echo "Red/red-manual/changes.html: original size 9348, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/customisation.html ==============
if test -f 'Red/red-manual/customisation.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/customisation.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/customisation.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/customisation.html' &&
X<html>
X<head>
X<title>Red: Customisation</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Customisation</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
XThe possibilities to make changes to Red fall in two categories:
X<OL>
X	<LI> Changes made by an individual user.
X	<LI> Red setup (typically done by an administrator).
X</OL>
XRed lets users make their individual changes interactively, while the system
Xsetup is done by writing X resources.<p>
XThis chapter is devided into several sections:
X<OL>
X	<LI><A HREF="#preferences">Preferences</A>
X	<LI><A HREF="#bindings">Key Bindings</A>
X	<LI><A HREF="#toolbar">Changing the Toolbar</A>
X	<LI><A HREF="#fonts">Changing Fonts</A>
X	<LI><A HREF="#colours">Changing Colours</A>
X	<LI><A HREF="#resources">X Resources</A>
X</OL>
X
X<hr>
X
X<A NAME="preferences"><h3>1. Preferences</h3></A>
X
XTo change the Red preferences, choose <strong>Preferences...</strong> from the
XOptions menu.<p>
X
XThe preferences are:
X
X<blockquote>
X<DL>
X  <DT> <strong>Show toolbar</strong>
X	<DD> Toggles the display of the toolbar.
X
X  <DT> <strong>Beep with warnings</strong>
X	<DD> Determines whether Red beeps when displaying a warning.
X
X  <DT> <strong>Make backup when saving</strong>
X	<DD> When on, Red automatically creates a backup file when an existing
X	file is changed.  The backup file name has a <strong>.~</strong> 
X	suffix.
X
X  <DT> <strong>Remember window locations over sessions</strong>
X	<DD> Not yet implemented.
X</DL>
X</blockquote>
X
XPreferences are saved as soon as they are defined and retained for future
Xsessions.  They are stored in a file named ".red-prefs" in the user's
Xhome directory.
X
X<A NAME="bindings"><h3>2. Key Bindings</h3></A>
X
XChanging key bindings allows a user to change the function that is called
Xby a given key.  Several keys can call the same function.  All keys can be
Xcombined with one or more of the three modifier keys <em>Shift, Control, 
XAlt</em>.  A maximum of two modifier keys is recognised for each key 
Xcombination.<p>
X
XTo view or change the key bindings, call 
X<A HREF="func-custom.html#key-bindings">key-bindings</A> (by default on Alt-k
Xand in the Options menu).  This opens a dialog.  
X
X<UL>
X    <LI>Choose a category from the <em>Categories</em> menu to see the 
X	functions in each group.
X    <LI>Select a function in the function list to see a description of the
X	function and its key bindings.
X    <LI>Click on <em> Add Key</em> and press a key combination to add a key
X	to the keys that call the function currently selected.
X    <LI>Select a key in the key list and press <em>Delete Key</em> to remove
X	this key from the list of keys that call the function currently 
X	selected.
X</UL>
X
XThe <em>Defaults</em> button can be used to revert the key bindings to their
Xdefault values.  <em>This operation can not be undone!</em><p>
X
XThe key bindings are stored in a file named ".red-key-bindings" in the user's
Xhome directory.  Removing this file causes Red to revert to default bindings.
XA set of key bindings can be given to another user by copying this file into
Xthe user's home directory.
X
X<A NAME="toolbar"><h3>3. Changing the Toolbar</h3></A>
X
XChanging the toolbar is not yet implemented.
X
X<A NAME="fonts"><h3>4. Changing Fonts</h3></A>
X
XChanging fonts interactively is not yet implemented.
X
X<A NAME="colours"><h3>5. Changing Colours</h3></A>
X
XChanging colours is not yet implemented.
X
X<A NAME="resources"><h3>6. X Resources</h3></A>
X
XAlthough it might be confusing, the class name to use for changing some Red 
Xresources is <em>Blue</em>.  This is, because Red is part of the Blue
Xprogramming environment (which has not yet been released), and resources
Xfor that environment are for the resource class <em>Blue</em>.  Some 
Xresources are for the class <em>Red</em>.<p>
X
XImplementation of X resources is not yet complete.  Here are some, that you 
Xcan use already (to use them, add the line to your X resources database).<p>
X
X<DL>
X<DT><strong>Blue.editFont: <em>font</em></strong>
X	<DD><em>The default font used for editing.</em><p>
X	Examples:
X	<blockquote>
X		Blue.editFont:	lucidasanstypewriter-12<br>
X		Blue.editFont:	lucidasanstypewriter-14<br>
X		Blue.editFont:	lucidasanstypewriter-bold-12<br>
X		Blue.editFont:	lucidasanstypewriter-bold-14<br>
X		Blue.editFont:	8x13<br>
X		Blue.editFont:	8x13bold<br>
X		Blue.editFont:	9x15
X	</blockquote>
X	The font must be a fixed character width font.<p>
X
X<DT><strong>Blue.infoFont: <em>font</em></strong>
X	<DD><em>The default font used in the information area.</em><p>
X	Example:
X	<blockquote>
X		Blue.infoFont:	*menu*12*
X	</blockquote>
X	<p>
X
X<DT><strong>Red.width: <em>pixels</em></strong>
X	<DD><em>Initial width of the Red window in pixels. (Default: 688)</em>
X	<p>
X
X<DT><strong>Red.height: <em>pixels</em></strong>
X	<DD><em>Initial height of the Red window in pixels. (Default: 500)</em>
X	<p>
X
X<DT><strong>Blue.manBrowser: <em>path</em></strong>
X	<DD><em>The full path of the WWW browser to be used to display this 
X	manual.</em><p>
X
X<DT><strong>Blue.manURL: <em>URL</em></strong>
X	<DD><em>The URL of the online manual.</em><p>
X
X<DT><strong>Blue.motd1: <em>text</em></strong>
X<DT><strong>Blue.motd2: <em>text</em></strong>
X	<DD><em>Message of the day: Line one and two of a text to be displayed
X	    in the information area at startup.</em><p>
X
X</DL>
X
X<hr>
X  <A HREF="red-main-page.html">
X  <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle >Main index</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/customisation.html' &&
  chmod 0640 'Red/red-manual/customisation.html' ||
  echo 'restore of Red/red-manual/customisation.html failed'
  shar_count="`wc -c < 'Red/red-manual/customisation.html'`"
  test 5520 -eq "$shar_count" ||
    echo "Red/red-manual/customisation.html: original size 5520, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/cut-paste.html ==============
if test -f 'Red/red-manual/cut-paste.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/cut-paste.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/cut-paste.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/cut-paste.html' &&
X<html>
X<head>
X<title>Red: Cut, Copy and Paste</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Cut, Copy and Paste</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
X
X<A NAME="selections"><h3>1 How to make a selection</h3></A>
X
XCut and paste commands are closely connected to selections in the text, so 
Xfirst I'll say a few words about selections. <p>
X
XSelections can be made both with the mouse or with keys.
X
X<h4>1.1 Selecting with the mouse</h4>
X
XSelections can be made using the mouse by
X
X<ul>
X	<li> dragging (that is: clicking and holding) with the left mouse
X	button over the text to be selected
X
X	<li> clicking with the first mouse button at the start of the text
X	to be selected (setting the cursor), then clicking with the right 
X	mouse button at the end
X
X	<li> double click on a word to select that word
X
X	<li> triple click on a line to select that line
X
X	<li> continue clicking after a triple click to select additional lines
X
X	<li> continue clicking after a double click with the shift key held
X	down to select additional words
X</ul>
X
X<h4>1.2 Selecting with keys</h4>
X
X<ul>
X
X	<li> To select a word, use <A HREF="func-edit.html#select-word">
X	select-word</A>.
X
X	<li> To select a line, use <A HREF="func-edit.html#select-line">
X	select-line</A>.
X
X	<li> To select an arbitrary region of text, move the cursor to the
X	beginning of the text you want to select, then use 
X	<A HREF="func-misc.html#set-mark">set-mark</A> to set a mark at that 
X	position.  After that, move the cursor to the end of the text to be 
X	selected and use <A HREF="func-edit.html#select-region">
X	select-region</A> to select the region between the mark and the cursor.
X</ul>
X
XAny selection function that is called while a selection is already on, <strong>
Xadds</strong> to the current selection rather than replacing it.
X
X<h3>2 Copy</h3>
X
XThere is no separate copy operation in Red.  Some systems, such as the MacOS,
Xrequire the call of an explicit copy to transfer the selected text into the 
Xinternal paste buffer.<p>
X
XRed follows the X Windows style: as soon as text is selected, it is available 
Xfor pasting.  No explicit copy operation is needed.  Text can be copied by
Xjust selecting and pasting it.
X
X<h3>3 Cut</h3>
X
X<A HREF="func-edit.html#cut">Cut</A> removes the selection from the text and
Xplaces it into the paste buffer.
XActually, since the text is placed into the paste buffer as soon as it is 
Xselected, cut just removes the selection from the text (doing exactly the same
Xthing as the delete or backspace key when a selection is on).
X
XThe reason that a separate cut function exist, is purely for later extensions,
Xwhen Red will hold a stack of paste buffers.
X
XSome different cut functions are available.  Some of them require text to
Xbe selected first, others don't.  All text that is cut, whether it was selected
Xor not, is placed into the paste buffer.
X
X<ul>
X	<li><A HREF="func-edit.html#cut">cut</A> cuts the current selection.
X
X	<li><A HREF="func-edit.html#cut-word">cut-word</A> cuts the complete
X	word the cursor is in.
X
X	<li><A HREF="func-edit.html#cut-to-end-of-word">cut-to-end-of-word</A>
X	cuts the text from the cursor position to the end of the current word.
X
X	<li><A HREF="func-edit.html#cut-line">cut-line</A> cuts the currnt 
X	line.
X
X	<li><A HREF="func-edit.html#cut-to-end-of-line">cut-to-end-of-line</A>
X	cuts the text from the cursor position to the end of the current line.
X
X	<li><A HREF="func-edit.html#cut-region">cut-region</A> cuts the text
X	from the mark (see <A HREF="func-misc.html#set-mark">set-mark</A>) to
X	the cursor position.
X</ul>
X
XOnly for <em>cut</em> must the selection be on.  All other functions can be
Xcalled without setting a selection.
X
X<h4>3.1 Collecting Cuttings</h4>
X
XMost of the time, cutting some text replaces the previous text in the paste 
Xbuffer.  There is an exception: when two cut functions are called in straight
Xsuccession (no other function is used inbetween) the second cut <strong>adds
X</strong> to the cut buffer.<p>
X
XUsing this technique, several lines, for instance, can be moved easily.  You can
Xcall <em>cut-line</em> several time in a row to place <em>all</em> the lines
Xinto the paste buffer, move the cursor to the destination position, and then
Xcall <em>paste</em>.
X
X<h3>4 Paste</h3>
X
X<A HREF="func-edit.html#paste">Paste</A> pastes the current paste buffer at the
Xcursor position.  It can be called by using the middle mouse button (place 
Xcursor and paste), or by keys.  If a selection is on when calling paste, the
Xcontents of the paste buffer replace the current selection.<p>
X
XThe current paste buffer contains the text last cut or selected <em>in any
XX application</em> (not only Red).  You can select text in a terminal window 
Xand paste it into Red.
X
X<hr>
X  <A HREF="red-main-page.html">
X  <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle >Main index</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/cut-paste.html' &&
  chmod 0640 'Red/red-manual/cut-paste.html' ||
  echo 'restore of Red/red-manual/cut-paste.html failed'
  shar_count="`wc -c < 'Red/red-manual/cut-paste.html'`"
  test 4988 -eq "$shar_count" ||
    echo "Red/red-manual/cut-paste.html: original size 4988, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/editing.html ==============
if test -f 'Red/red-manual/editing.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/editing.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/editing.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/editing.html' &&
X<html>
X<head>
X<title>Red: Browsing and Editing</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Efficient Browsing and Editing</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
X
X<h3>Moving the cursor</h3>
X
XBeing able to move the cursor around in the text easily and quickly and to
Xscan through a large document is important for convenient and efficient
Xediting.<p>
X
XIn Red, there are two basic alternatives to move the cursor: the mouse and the
Xkeyboard.  Using the mouse to move the cursor or to change the view is fairly
Xstraightforward, but nevertheless briefly explained in the section
X<A HREF="mouse.html">Using the mouse</A>.  This section explains the use of
Xkeys to move the cursor and the view and edit the text.<p>
X
XTwo groups of commands are available for wandering through a text: commands to
Xmove the <STRONG>cursor</STRONG> (the mark where text is entered) and commands
Xto move the <STRONG>view</STRONG>.  The view is the window showing the section
Xof the text you can see at any time.  If I say "the view is moved down", what
Xit means is, that the edit window will display a section of the text further
Xdown from before.<p>
X
XThe cursor and the view are losely connected.  The cursor never leaves the
Xview. So similar effects can often be achieved with cursor and view commands.
XMoving the cursor up in the text will take the view with it, and vice versa.
XBut, as you will see, there are some differences.<p>
X
XThe general rules are: When the cursor leaves the screen, the view is adjusted
Xto show the cursor in the middle of the screen.  When the view is changed so 
Xthat the cursor would disappear from the screen, the cursor is set to the very
Xtop or bottom of the view, depending on where it was before.<p>
X
XAlmost all of the cursor and view movements can be done with the cursor block
Xand the modifier keys.  In addition, some editing functions (deleting and 
Xcutting text) can be done with the cursor keys as well.  Getting familiar with
Xthe functions on the cursor keys is probably one of the most important things
Xfor efficient editing.<p>
X
XHere is a table listing the functions bound to the cursor keys:<p>
X
X<table border>
X<caption> <strong>Function bindings of Cursor Keys</strong> </caption>
X	<th>  <th>  <th>shift  <th>alt  <th>shift-alt  <th>ctrl  <th>shift-ctrl  <th>alt-ctrl 
X   <tr align=center>
X	<td><IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" border=0>
X	<td> <A HREF="func-move.html#forward-char">forward-<br>char</A>
X	<td> <A HREF="func-move.html#end-of-line">end-of-<br>line</A> 
X	<td> <A HREF="func-move.html#forward-word">forward-<br>word</A>
X	<td> 
X	<td> <A HREF="func-edit.html#delete-char">delete-char</A>
X	<td> <A HREF="func-edit.html#cut-to-end-of-line">cut-to-<br>end-of-line</A>
X	<td> <A HREF="func-edit.html#cut-to-end-of-word">cut-to-<br>end-of-word</A>
X   <tr align=center>
X
X	<td><IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" border=0>
X	<td> <A HREF="func-move.html#backward-char">backward-<br>char</A>
X	<td> <A HREF="func-move.html#beginning-of-line">beginning-<br>of-line</A>
X	<td> <A HREF="func-move.html#backward-word">backward-<br>word</A>
X	<td> 
X	<td> <A HREF="func-edit.html#backward-delete-char">backward-<br>delete-char</A>
X	<td> <A HREF="func-edit.html#cut-line">cut-line</A>
X	<td> <A HREF="func-edit.html#cut-word">cut-word</A>
X   <tr align=center>
X
X	<td><IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/up.gif" border=0>
X	<td> <A HREF="func-move.html#previous-line">previous-<br>line</A>
X	<td> <A HREF="func-move.html#scroll-line-up">scroll-<br>line-up</A>
X	<td> <A HREF="func-move.html#previous-page">previous-<br>page</A>
X	<td> <A HREF="func-move.html#scroll-half-page-up">scroll-half-<br>page-up</A>
X	<td>
X	<td> <A HREF="func-move.html#beginning-of-text">beginning-<br>of-text</A>
X	<td>
X   <tr align=center>
X
X	<td><IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/down.gif" border=0>
X	<td> <A HREF="func-move.html#next-line">next-line</A>
X	<td> <A HREF="func-move.html#scroll-line-down">scroll-<br>line-down</A>
X	<td> <A HREF="func-move.html#next-page">next-<br>page</A>
X	<td> <A HREF="func-move.html#scroll-half-page-down">scroll-half-<br>page-down</A>
X	<td>
X	<td> <A HREF="func-move.html#end-of-text">end-of-text</A>
X	<td>
X</table>
X<p>
XApart from the cursor keys, there are some other keys that move the cursor
Xand perform basic editing functions.  They are listed in the following table.
X<p>
X
X<table border cellpadding=3>
X<caption> <strong>Other Cursor and Edit Keys</strong> </caption>
X	<th>Key Name  <th>Function called <tr>
X	<td><strong>Insert  <td><A HREF="func-edit.html#paste">paste</A> <tr>
X	<td><strong>Backspace  <td><A HREF="func-edit.html#backward-delete-char">backward-delete-char</A> <tr>
X	<td><strong>Delete  <td><A HREF="func-edit.html#delete-char">delete-char</A> <tr>
X	<td><strong>Home  <td><A HREF="func-move.html#beginning-of-text">beginning-of-text</A> <tr>
X	<td><strong>End  <td><A HREF="func-move.html#end-of-text">end-of-text</A> <tr>
X	<td><strong>Page up  <td><A HREF="func-move.html#previous-page">previous-page</A> <tr>
X	<td><strong>Page down  <td><A HREF="func-move.html#next-page">next-page</A> <tr>
X	<td><strong>F2  <td><A HREF="func-edit.html#select-line">select-line</A> <tr>
X	<td><strong>F3  <td><A HREF="func-edit.html#paste">paste</A> <tr>
X	<td><strong>F4  <td><A HREF="func-edit.html#cut-line">cut-line</A> <tr>
X	<td><strong>F12  <td><A HREF="func-misc.html#undo">undo</A> <tr>
X</table>
X
X
X<h3>Line-Oriented Editing</h3>
X
XWhen writing program code, the text is often organised in lines.
XAs a result, the unit for editing (deleting, moving, copying) is
Xoften a line.<p>
X
XRed provides some functions for handling lines. They are <I>select-line, 
Xcut-line</I>, and <I>paste</I> and are by default bound to the function keys
X F2, F3 and F4 (see table above).<p>
X
XUsing these three keys, lines or groups of lines can be removed, copied,
Xor moved very quickly.  When selecting lines, the first call to 
X<I>select-line</I> will select the current line.  Every subsequent call will
X<I>add</I> the next line to the selection.  The selected text is 
Xautomatically put into the paste buffer (as it is the convention for 
XX-Windows applications).  No explicit copy operation is needed. (For more
Xdetails, see <a href="cut-paste.html">Cut, Copy and Paste</a>.)<p>
X
XSimilarly, when cutting lines (using <I>cut-line</I>), lines are collected 
Xin the paste buffer as long as no other functions are called inbetween.
X (That means: when doing a cut, then moving the cursor, then cut again, the
Xsecond cut will <I>replace</I> the first in the paste buffer.  But when
Xthe cut-functions are called consecutively, the second cut is <I>added</I>
Xto the paste buffer.)  This way, a group of lines can be moved (cut and 
Xpasted) quickly.
X
X<hr>
X  <A HREF="red-main-page.html">
X  <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle >Main index</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/editing.html' &&
  chmod 0640 'Red/red-manual/editing.html' ||
  echo 'restore of Red/red-manual/editing.html failed'
  shar_count="`wc -c < 'Red/red-manual/editing.html'`"
  test 7006 -eq "$shar_count" ||
    echo "Red/red-manual/editing.html: original size 7006, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/feedback.html ==============
if test -f 'Red/red-manual/feedback.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/feedback.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/feedback.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/feedback.html' &&
X<html>
X<head>
X<title>Red: Feedback</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Errors, Suggestions and Comments</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
X<table>
X  <td> <A HREF="mailto:mik@cs.su.oz.au"><IMG src="../graphics/mail.gif"></A>
X  <td> If you have a suggestion, a comment, or an error to report, please
X	send me some mail.  Or just tell me what you think about Red.  Click 
X	here to send mail now.
X</table>
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/feedback.html' &&
  chmod 0640 'Red/red-manual/feedback.html' ||
  echo 'restore of Red/red-manual/feedback.html failed'
  shar_count="`wc -c < 'Red/red-manual/feedback.html'`"
  test 568 -eq "$shar_count" ||
    echo "Red/red-manual/feedback.html: original size 568, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/find-replace.html ==============
if test -f 'Red/red-manual/find-replace.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/find-replace.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/find-replace.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/find-replace.html' &&
X<html>
X<head>
X<title>Red: Find and Replace</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Find and Replace</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
X
XFive functions exist to find and replace text.  They are: <em>find, 
Xfind-backward, find-next, find-next-reverse</em> and <em>replace.  Find,
Xfind-backward</em> and <em>replace</em> open dialog boxes to let you specify
Xwhat to search for (and what to replace it with).  The <em>find-next</em>
Xfunctions can be used for two things: to repeat the last find operation
Xor to find the next occurence of a string visible on your screen. This will be 
Xexplained in more detail in the next section.
X
X<h2>Finding Text</h2>
X
X<h3>If you have the text on the screen...</h3>
X
XOften you want to find a string that you currently see on the screen (e.g.
Xyou see a procedure call and you want to find the procedure definition, or
Xyou see a variable and you wonder where else this variable is used).<p>
X
XA quick way exists to perform this find operation: the 
X<A HREF="func-misc.html#find-next">find-next</A> function.  (Follow this link 
Xto see how to call this function.)  If a selection is on, 
X<em>find-next</em> searches for the next occurence of the selected text.  Thus,
Xto find the next use of a variable, do the following:
X
X<ul>
X	<li>select the variable name (e.g. by double clicking on it,
X		see <A HREF="cut-paste.html#selections">How to make a 
X		selection</A> if you are not sure about this)
X	<li>call <em>find-next</em> (by either key, tool bar button or menu
X		button)
X</ul>
X
X<em>Find-next</em> uses the same find parameters (search direction: forward or
Xbackward, case sensitive or not, whole word only or not) as the last find
Xoperation (specified in the <em>find</em> dialog). The default (if you have not
Xused <em>find</em> yet) is forward, case insensitive, not only whole words.<p>
X
XYou can reverse the search direction by calling 
X<A HREF="func-misc.html#find-next-reverse">find-next-reverse</A> instead.  If,
Xfor instance, the current search direction is forward, 
X<em>find-next-reverse</em> will search for the current selection 
X<em>backwards</em>.
X
X<h4>Wrapping around</h4>
X
XIf you perform a find operation (e.g. forward) and the search string can not 
Xbe found between the cursor position and the end of the text, Red notifies you
Xwith a message in the information area.  If you then call find-next 
X<em>again</em>, it wraps around to the beginning of the text and continues the
Xsearch there (it notifies you of doing this with a message in the information 
Xarea).  The same principle applies when searching backwards.
X
X<h3>If you don't have the text on the screen...</h3>
X
XIf you want to search for a piece of text that you do not currently see on the
Xscreen (so you can not select it and call <em>find-next</em>), you use the 
X<A HREF="func-misc.html#find">find</A> function.  Follow this link to read
Xa description of the options and key bindings of <em>find</em>.<p>
X
X
X<strong> TO BE CONTINUED...</strong>
X
X<hr>
X  <A HREF="red-main-page.html">
X  <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle >Main index</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/find-replace.html' &&
  chmod 0640 'Red/red-manual/find-replace.html' ||
  echo 'restore of Red/red-manual/find-replace.html failed'
  shar_count="`wc -c < 'Red/red-manual/find-replace.html'`"
  test 3247 -eq "$shar_count" ||
    echo "Red/red-manual/find-replace.html: original size 3247, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/func-custom.html ==============
if test -f 'Red/red-manual/func-custom.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/func-custom.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/func-custom.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/func-custom.html' &&
X<html>
X<head>
X<TITLE>Red Customisation Functions</TITLE>
X</head>
X
X<body bgcolor=white>
X
X<center>
X <IMG SRC="red-logo.GIF" ALT="RED" > 
X	<font size=+3>Reference: Customisation</font>
X</center>
X
X<HR>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X<p>
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A>  
X<strong><font size=+1>C</font>USTOMISATION  </strong>
X<A HREF="func-help.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X
X<HR>
X
X<DL>
X<DT><STRONG><A NAME="preferences">preferences</A></STRONG>
X<P>
X<DD><I>Menu</I>: Options
X<P>
X<DD>Specify preferences.  A dialog is shown to select settings for the following 
Xoptions:
X<UL>
X<LI>Show toolbar:
X<LI>Beep with warnings:
X<li>Save window positions over sessions:
X</UL>
X<P>
X<HR>
X
X<DT><STRONG><A NAME="key-bindings">key-bindings</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-k
X<DD><I>Menu</I>: Options
X<P>
X<DD>This function starts a dialog which displays a list of all user 
Xfunctions, their key bindings and a short description of the function.<p>
X
XIt also shows the keys or key combinations which call this function 
Xand allows to add or remove key bindings.  
XSee <A HREF="customisation.html#bindings">Key Bindings</a> in the 
XCustomisation section for more details.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="edit-toolbar">edit-toolbar</A></STRONG>
X<P>
X<DD><I>Menu</I>: Options
X<P>
X<DD>Not yet implemented.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="set-fonts">set-fonts</A></STRONG>
X<P>
X<DD><I>Menu</I>: Options
X<P>
X<DD>Not yet implemented.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="set-colours">set-colours</A></STRONG>
X<P>
X<DD><I>Menu</I>: Options
X<P>
X<DD>Not yet implemented.
X</DL>
X<HR>
X
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A>  
X<strong><font size=+1>C</font>USTOMISATION  </strong>
X<A HREF="func-help.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X<p>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/func-custom.html' &&
  chmod 0640 'Red/red-manual/func-custom.html' ||
  echo 'restore of Red/red-manual/func-custom.html failed'
  shar_count="`wc -c < 'Red/red-manual/func-custom.html'`"
  test 3290 -eq "$shar_count" ||
    echo "Red/red-manual/func-custom.html: original size 3290, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/func-edit.html ==============
if test -f 'Red/red-manual/func-edit.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/func-edit.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/func-edit.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/func-edit.html' &&
X<html>
X<head>
X<TITLE>Red Edit Functions</TITLE>
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Reference: Edit Functions</font> </td>
X</tr>
X</table>
X</center>
X
X<HR>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X<p>
X<strong><font size=+1>E</font>DIT</strong>
X<A HREF="func-move.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X
X<HR>
X
X
X<DL>
X<DT><STRONG><A NAME="new-line">new-line</A></STRONG>
X<P> 	
X<DD><I>Key</I>: Return
X<P>
X<DD>Insert a line break at the cursor position.  This creates a new line
X    and places the cursor at the start of the new line.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="open-line">open-line</A></STRONG>
X<P> 	
X<DD><I>Key</I>: Ctrl-o
X<P>
X<DD>Insert a line break at the cursor position, and leave the cursor in the
X    current line.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="delete-char">delete-char</A></STRONG>
X<P>
X<DD><I>Keys</I>: Ctrl-d, Ctrl-Right, Delete
X<P>
X<DD>Delete the character to the right of the cursor.  If the cursor is at the 
X    end of the line, the line break is deleted and two lines are joined into
X    one.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="backward-delete-char">backward-delete-char</A></STRONG>
X<P>
X<DD><I>Keys</I>: BackSpace, Ctrl-Left
X<P>
X<DD>Delete the character to the left of the cursor.  If the cursor is at the
X    beginning of a line, the line break is deleted and the line is joined with
X    the previous one.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="backward-delete-untab">backward-delete-untab</A></STRONG>
X<P>
X<DD><I>Key: (none)</I> 
X<P>
X<DD>Like <em>backward-delete-char</em>, but if the character to be deleted
X    is a TAB, then convert that TAB into spaces first.  For programming, it is 
X    often convenient to bind this function to the <em>Backspace</em> key rather
X    than <em>backward-delete-char</em> (see
X    <A HREF="tips.html#key-tip">Improved key bindings</A> for details).
X<P>
X<HR>
X
X<DT><STRONG><A NAME="tab-to-tab-stop">tab-to-tab-stop</A></STRONG>
X<P>
X<DD><I>Key</I>: Tab
X<P>
X<DD>Insert a Tab character into the text.  This advances the cursor to the
X    next tab stop.  Tab stops are every eight characters.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="half-tab">half-tab</A></STRONG>
X<P>
X<DD><I>Key: (none)</I>
X<P>
X<DD>Move cursor to next half-tab stop (every four characters), using TABs
X    and spaces as appropriate.  (Spaces are automatically converted to TABs
X    where possible.)  For writing programs, it is often convenient to bind
X    this function to the TAB key, rather than <em>tab-to-tab-stop</em> (see
X    <A HREF="tips.html#key-tip">Improved key bindings</A> for details).
X<P>
X<HR>
X
X<DT><STRONG><A NAME="indent">indent</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Tab
X<P>
X<DD>Indent the cursor so that it is under the start of the next word in the
X    next nonblank line above.  If there is no nonblank line above, do a
X    <A HREF="func-edit.html#tab-to-tab-stop">tab-to-tab-stop</A> instead.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="new-line-and-indent">new-line-and-indent</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Return
X<P>
X<DD>Insert a line break at the cursor position and indent the cursor so that 
X    it is under the first non blank character in the line above.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="cut-word">cut-word</A></STRONG>
X<P>
X<DD><I>Key</I>: Ctrl-Alt-Left
X<P>
X<DD>Cut the whole current word to the paste buffer.  A word is defined as
X    a sequence of characters only containing letters, digits or the 
X    underscore (_).  If the cursor is not on a word when this function is 
X    called, the last word before the cursor will be cut.  The word is then
X    availabe for pasting into any X application.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="cut-to-end-of-word">cut-to-end-of-word</A></STRONG>
X<P>
X<DD><I>Key</I>: Ctrl-Alt-Right
X<P>
X<DD>Cut the text from the cursor position to the end of the word to
X    the paste buffer.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="cut-line">cut-line</A></STRONG>
X<P>
X<DD><I>Keys</I>: Shift-Ctrl-Left,  F4
X<P>
X<DD>Cut the whole current line to the paste buffer.  This includes the whole 
X    text on the line (if any) and the line break.  The line can then be pasted
X    into any X application.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="cut-to-end-of-line">cut-to-end-of-line</A></STRONG>
X<P>
X<DD><I>Keys</I>: Shift-Ctrl-Right, Ctrl-k
X<P>
X<DD>Cut the text from the cursor position to the end of the line to 
Xthe paste buffer.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="cut-region">cut-region</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Ctrl-c
X<P>
X<DD>Cut the current region (the area between the cursor and the mark. For more
X    details about setting a mark, see 
X    <A HREF="func-misc.html#set-mark">set-mark</A>).  The text placed into the
X    paste buffer.  It can then be pasted into any X Windows application.<p>
X
X    Not yet implemented.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="cut">cut</A></STRONG>
X<P>
X<DD><I>Key</I>: F1, Ctrl-c
X<DD><I>Menu</I>: Edit
X<P>
X<DD>Cut the current selection.  (See: Selection Functions).  That is: Remove 
Xthe current selection from the text and place it into the paste buffer.  
XIt can then be pasted by using the 'paste' command.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="paste">paste</A></STRONG>
X<P>
X<DD><I>Keys</I>: Insert, F3, Ctrl-p
X<DD><I>Menu</I>: Edit
X<P>
X<DD>Paste the contents of the paste buffer at the cursor position into the 
Xtext.  The paste buffer contains the text last selected or cut.  The paste 
Xbuffer is not changed.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="select-word">select-word</A></STRONG>
X<P>
X<DD><I>Key</I>: Ctrl-w
X<DD><I>Mouse</I>: double click button 1
X<P>
X<DD>Select the word in which the cursor is.  If the cursor is not in a word, the
X    last word before the cursor is selected.  If a selection was already on, a word
X    is added to the selection.  
X<P>
X<HR>
X
X<DT><STRONG><A NAME="select-line">select-line</A></STRONG>
X<P>
X<DD><I>Keys</I>: Ctrl-l, F2
X<DD><I>Mouse</I>: triple click button 1
X<P>
X<DD>Select the line in which the cursor is.  If a selection was already on, the line
X    is added to the selection.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="select-region">select-region</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Ctrl-space, F8
X<P>
X<DD>Select the text area between the mark and the cursor. The mark must be set
X    before calling this function.  (See: 
X    <A HREF="func-misc.html#set-mark">set-mark</A> for a description of how to set
X    the mark.)
X<P>
X<HR>
X
X<DT><STRONG><A NAME="shift-left">shift-left</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-, (Alt-comma)
X<P>
X<DD>Shift the content of the current line (or, if the selection is on, every
X    line in the current selection) one character to the left.  If the leftmost
X    character in a line is not a whitespace character, the function has no
X    effect.<p>
X    This can be used to change the indentation of a whole block by
X    selecting that block and shifting.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="shift-right">shift-right</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-. (Alt-period)
X<P>
X<DD>Shift the content of the current line (or, if the selection is on, every
X    line in the current selection) one character to the right.  This is done
X    by inserting spaces or TABs at the beginning of the line.<p>
X    This can be used to change the indentation of a whole block by
X    selecting that block and shifting.
X<P>
X</DL>
X
X<HR>
X
X<strong><font size=+1>E</font>DIT</strong>
X<A HREF="func-move.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X<p>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/func-edit.html' &&
  chmod 0640 'Red/red-manual/func-edit.html' ||
  echo 'restore of Red/red-manual/func-edit.html failed'
  shar_count="`wc -c < 'Red/red-manual/func-edit.html'`"
  test 8787 -eq "$shar_count" ||
    echo "Red/red-manual/func-edit.html: original size 8787, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/func-file.html ==============
if test -f 'Red/red-manual/func-file.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/func-file.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/func-file.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/func-file.html' &&
X<html>
X<head>
X<TITLE>Red File Functions</TITLE>
X</head>
X
X<body bgcolor=white>
X
X<center>
X <IMG SRC="red-logo.GIF" ALT="RED" > 
X	<font size=+3>Reference: File Functions</font>
X</center>
X
X<HR>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X<p>
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A>
X<strong><font size=+1>F</font>ILE</strong>
X<A HREF="func-custom.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X
X<HR>
X
X
X<DL>
X<DT><STRONG><A NAME="new">new</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-n
X<DD><I>Menu</I>: File
X<P>
X<DD>Open a new, empty window.  The text in that window is not linked to any
Xfile.  A file name must be specified when the file is saved for the first 
Xtime.  Until then, the window title shows the words <I>&ltno name&gt</I> 
Xinstead of the file name.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="open">open</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-o
X<DD><I>Menu</I>: File
X<P>
X<DD>Open a file in another window.  A file selection dialog is shown to select the file.  
XThe file specified in the file selection box must exist.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="save">save</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-s
X<DD><I>Menu</I>: File
X<P>
X<DD>Save the text to a file if modified.  Typically the file used to save into is the one 
Xthe text was read from originally or the one that was specified for the last save 
X(whatever happened last).  If the text has never been saved, a file selection box is 
Xopened to let the user specify a file name.  If the file existed before, the previous 
Xversion becomes a backup file.  Backup files have the same file name with the added 
Xsuffix ".~".
X<P>
X<HR>
X
X<DT><STRONG><A NAME="save-as">save-as</A></STRONG>
X<P>
X<DD><I>Menu</I>: File
X<P>
X<DD>Save the text under a new file name.  A file selection box is opened to let the user 
Xspecify a name.  Creates a backup file as described in "save".
X<P>
X<HR>
X
X<DT><STRONG><A NAME="revert">revert</A></STRONG>
X<P>
X<DD><I>Menu</I>: File
X<P>
X<DD>Revert the buffer to the last saved version.  All changes since the last save will be 
Xlost.  A dialog is shown before this function is executed to confirm.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="close">close</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-w
X<DD><I>Menu</I>: File
X<P>
X<DD>Close the editor window.  If the text had not been saved a dialog is shown before 
Xclosing to let the user save the text.  If it was the only Red window open, exit Red.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="print">print</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-p
X<DD><I>Menu</I>: File
X<P>
X<DD>Print the text.  A dialog is opened to specify some printing options.  The defaults 
Xfor these options are specified using the 'preferences' command from the Options 
Xmenu.
X</DL>
X<HR>
X
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A>
X<strong><font size=+1>F</font>ILE</strong>
X<A HREF="func-custom.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X<p>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/func-file.html' &&
  chmod 0640 'Red/red-manual/func-file.html' ||
  echo 'restore of Red/red-manual/func-file.html failed'
  shar_count="`wc -c < 'Red/red-manual/func-file.html'`"
  test 4350 -eq "$shar_count" ||
    echo "Red/red-manual/func-file.html: original size 4350, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/func-help.html ==============
if test -f 'Red/red-manual/func-help.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/func-help.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/func-help.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/func-help.html' &&
X<html>
X<head>
X<TITLE>Red Help Functions</TITLE>
X</head>
X
X<body bgcolor=white>
X
X<center>
X <IMG SRC="red-logo.GIF" ALT="RED" > 
X	<font size=+3>Reference: Help Functions</font>
X</center>
X
X<HR>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X<p>
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A>  
X<strong><font size=+1>H</font>ELP </strong>
X<A HREF="func-misc.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>ISC.</A> 
X
X<HR>
X
X
X<DL>
X
X<DT><STRONG><A NAME="show-manual">show-manual</A></STRONG>
X<P>
X<DD><I>Menu</I>: Help
X<P>
X<DD>Shows the online manual for Red (the manual you are reading just now).
XThe manual is an HTML document and a WWW browser is started to display it.  
XThe default browser is Netscape, but this can be changed using Red's X 
Xresources (see <A HREF="customisation.html#resources">X Resources</a> in 
Xthe Customisation section).
X<P>
X<HR>
X
X<DT><STRONG><A NAME="describe-key">describe-key</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-d
X<DD><I>Menu</I>: Help
X<P>
X<DD>Prints out the name of the function called by a key.  After calling
Xdescribe-key, press the key you are interested in and the associated
Xfunction will be shown in the information area.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="key-bindings">key-bindings</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-k
X<DD><I>Menu</I>: Options
X<P>
X<DD>This function is described in the customisation group, since it 
Xallows to change key bindings to 
Xpersonal preferences.  But it is also useful as a help function, since it
Xdisplays key bindings and short function explanations.  See 
X<A HREF="func-custom.html#key-bindings">customisation functions:
Xkey-bindings</A>.
X
X</DL>
X<HR>
X
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A>  
X<strong><font size=+1>H</font>ELP </strong>
X<A HREF="func-misc.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>ISC.</A> 
X<p>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/func-help.html' &&
  chmod 0640 'Red/red-manual/func-help.html' ||
  echo 'restore of Red/red-manual/func-help.html failed'
  shar_count="`wc -c < 'Red/red-manual/func-help.html'`"
  test 3315 -eq "$shar_count" ||
    echo "Red/red-manual/func-help.html: original size 3315, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/func-misc.html ==============
if test -f 'Red/red-manual/func-misc.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/func-misc.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/func-misc.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/func-misc.html' &&
X<html>
X<head>
X<TITLE>Red Misc. Functions</TITLE>
X</head>
X
X<body bgcolor=white>
X
X<center>
X <IMG SRC="red-logo.GIF" ALT="RED" > 
X	<font size=+3>Reference: Misc. Functions</font>
X</center>
X
X<HR>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X<p>
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A> 
X<strong><font size=+1>M</font>ISC.</strong>
X
X<HR>
X
X<DL>
X<DT><STRONG><A NAME="undo">undo</A></STRONG>
X<P>
X<DD><I>Keys</I>: Alt-z, F12
X<DD><I>Menu</I>: Edit
X<P>
X<DD>Undo the last editing command.  Undo can be called repeatedly to undo
Xseveral previous changes.  The number of possible undos currently is 40.
XUndos themselves are recorded on the undo-stack and can be undone (redo).
XTo redo, use a non-undo function (e.g. move cursor), then undo again.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="find">find</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-f
X<DD><I>Menu</I>: Tools
X<P>
X<DD>Find a word or string in the buffer. Starts a dialog to specify
Xsome options.
X
XThe elements of the find dialog are:
X
X<blockquote>
X<dl>
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>The find string</strong>
X    <dd>Enter here the string to be searched for.
X
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>"Insert" buttons</strong>
X    <dd>Line Break: inserts a line break into the search string. By doing
X	this, strings can be found that contain a line break or are either
X	at the beginning or the end of a line. E.g. by searching for 
X	"abc<em>line break</em>", only strings "abc" at the end of a line will
X	be found.<br>
X	Tab: inserts a Tab character into the search string.
X	
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>Case sensitive option</strong>
X    <dd>If checked, this option causes Red to search for the search string with
X	exactly the letter case as you have specified it.  If not checked (the 
X	default), Red finds the search string in any combination of upper and lower
X	case characters.
X	
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>Match whole word option</strong>
X    <dd>If checked, only whole words are found.
X	
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>Find Forward button</strong>
X    <dd>Clicking this button closes the dialog box and searches for the specified
X	string from the cursor position forward.  This is the default button (a press
X	of the Return key acts as a click in this button).
X	
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>Find Backward button</strong>
X    <dd>Closes the dialog box and searches for the specified
X	string from the cursor position backward.
X	
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>Help button</strong>
X    <dd>Display a help text for the dialog.
X	
X  <dt><IMG SRC="../graphics/balls/orange.gif"><strong>Close button</strong>
X    <dd>Closes the dialog without performing a search.
X	
X</dl>
X</blockquote>
X
X<P>
X<HR>
X
X<DT><STRONG><A NAME="find-backward">find-backward</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Alt-f
X<P>
X<DD>Same as <I>find</I>, but the default button is <I>Find Backward</I>.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="find-next">find-next</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-g
X<DD><I>Menu</I>: Tools
X<P>
X<DD>Finds the string currently selected or, if nothing is selected, the same
Xpattern as in the last find operation.  Uses the same parameters (direction,
Xcase sensitivity, whole word option) as the last find operation. Stops at the
Xend of the buffer. If called again, wraps around to the beginning (end) of the
Xbuffer.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="find-next-reverse">find-next-reverse</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Alt-g
X<P>
X<DD>Like <I>find-next</I>, but reverse the direction of the search.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="replace">replace</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-r
X<DD><I>Menu</I>: Tools
X<P>
X<DD>Replace string in the buffer with another one. Starts a dialog to specify some 
Xoptions.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="set-mark">set-mark</A></STRONG>
X<P>
X<DD><I>Key</I>: Ctrl-space, F7
X<P>
X<DD>Set the mark at the current cursor position.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="goto-line">goto-line</A></STRONG>
X<P>
X<DD><I>Key</I>: F5
X<DD><I>Menu</I>: Tools
X<P>
X<DD>Set cursor to line number. The line number is prompted for after 
Xstarting this command.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="show-line-number">show-line-number</A></STRONG>
X<P>
X<DD><I>Key</I>: F6
X<DD><I>Menu</I>: Tools
X<P>
X<DD>Display the current line number in the information area.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="define-macro">define-macro</A></STRONG>
X<P>
X<P>
X<DD>Record the following keq sequence until the next call to
X<I>end-macro</I> and store it as a macro.
X(NOT YET IMPLEMENTED!)
X<P>
X<HR>
X
X<DT><STRONG><A NAME="end-macro">end-macro</A></STRONG>
X<P>
X<P>
X<DD>End the current macro recording, ask for a key, and bind execution
Xof the macro to that key. (Must be currently defining a macro.
X(NOT YET IMPLEMENTED!)
X<P>
X<HR>
X
X<DT><STRONG><A NAME="run-macro">run-macro</A></STRONG>
X<P>
X<P>
X<DD>...
X<P>
X<HR>
X
X<DT><STRONG><A NAME="redisplay">redisplay</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-l
X<P>
X<DD>Center cursor in the window and redisplay the screen.
X</DL>
X<HR>
X
X<A HREF="func-edit.html"><font size=+1>E</font>DIT</A>, 
X<A HREF="func-move.html"><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL</A>, 
X<A HREF="func-file.html"><font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A> 
X<strong><font size=+1>M</font>ISC.</strong>
X<p>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/func-misc.html' &&
  chmod 0640 'Red/red-manual/func-misc.html' ||
  echo 'restore of Red/red-manual/func-misc.html failed'
  shar_count="`wc -c < 'Red/red-manual/func-misc.html'`"
  test 6601 -eq "$shar_count" ||
    echo "Red/red-manual/func-misc.html: original size 6601, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/func-move.html ==============
if test -f 'Red/red-manual/func-move.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/func-move.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/func-move.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/func-move.html' &&
X<html>
X<head>
X<TITLE>Red Move & Scroll Functions</TITLE>
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Reference: Move & Scroll</font> </td>
X</tr>
X</table>
X</center>
X
X<HR>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X<p>
X<A HREF="func-edit.html"><font size=+1>E</font>DIT  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A> 
X<strong><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL </strong>
X<A HREF="func-file.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X
X<HR>
X
X
X<DL>
X<DT><STRONG><A NAME="forward-char">forward-char</A></STRONG>
X<P>
X<DD><I>Key</I>: Right
X<P>
X<DD>Move the cursor one character forward.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="backward-char">backward-char</A></STRONG>
X<P>
X<DD><I>Key</I>: Left
X<P>
X<DD>Move the curser one character back.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="forward-word">forward-word</A></STRONG>
X<P>
X<DD><I>Key</I>: Alt-Right
X<P>
X<DD>Move the cursor one word forward.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="backward-word">backward-word</A></STRONG>
X<P>
X<DD><I>Key</I>:  Alt-Left
X<P>
X<DD>Move the cursor one word back.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="end-of-line">end-of-line</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Right
X<P>
X<DD>Move the cursor to the end of the current line.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="beginning-of-line">beginning-of-line</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Left
X<P>
X<DD>Move the cursor to the beginning of the current line.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="next-line">next-line</A></STRONG>
X<P>
X<DD><I>Key</I>: Down
X<P>
X<DD>Move cursor down into next text line.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="previous-line">previous-line</A></STRONG>
X<P>
X<DD><I>Key</I>: Up
X<P>
X<DD>Move cursor up into previous text line.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="scroll-line-down">scroll-line-down</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Down
X<P>
X<DD>Scroll view window one line down (text scrolls up).  The same effect is achieved 
Xby clicking on the scrollbar down arrow.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="scroll-line-up">scroll-line-up</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Up
X<P>
X<DD>Scroll view window one line up (text scrolls down).  The same effect is achieved 
Xby clicking on the scrollbar up arrow.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="scroll-half-page-down">scroll-half-page-down</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Alt-Down
X<P>
X<DD>Scroll view window half a page down (text scrolls up).
X<P>
X<HR>
X
X<DT><STRONG><A NAME="scroll-half-page-up">scroll-half-page-up</A></STRONG>
X<P>
X<DD><I>Key</I>: Shift-Alt-Up
X<P>
X<DD>Scroll view window half a page up (text scrolls down).
X<P>
X<HR>
X
X<DT><STRONG><A NAME="previous-page">previous-page</A></STRONG>
X<P>
X<DD><I>Key</I>: Page Up, Alt-Up
X<P>
X<DD>Move view window to previous page of text.  The original two lines at the top of 
Xthe screen are shown at the bottom of the screen.  A similar effect is achieved by 
Xclicking into the scrollbar above the scroll handle.  This function takes the cursor with 
Xit, leaving it always in the current view.  Changing the view with the scrollbar leaves 
Xthe cursor unaffected.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="next-page">next-page</A></STRONG>
X<P>
X<DD><I>Keys</I>: Page Down, Alt-Down
X<P>
X<DD>Move view window to next page of text.  The original two lines at the bottom of 
Xthe screen are shown at the top of the screen.  A similar effect is achieved by clicking 
Xinto the scrollbar below the scroll handle.  This function takes the cursor with it, 
Xleaving it always in the current view.  Changing the view with the scrollbar leaves the 
Xcursor unaffected.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="beginning-of-text">beginning-of-text</A></STRONG>
X<P>
X<DD><I>Key</I>: Home, Shift-Ctrl-Up
X<P>
X<DD>Move the cursor and the view window to the beginning of the text.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="end-of-text">end-of-text</A></STRONG>
X<P>
X<DD><I>Key</I>: End, Shift-Ctrl-Down
X<P>
X<DD>Move cursor and the view window to the end of the text.
X<P>
X<HR>
X
X<DT><STRONG><A NAME="swap-cursor-mark">swap-cursor-mark</A></STRONG>
X<P>
X<DD><I>Key</I>: Ctrl-x
X<P>
X<DD>Swaps the cursor and the mark.  Redisplay the screen if necessary.
X</DL>
X<HR>
X
X<A HREF="func-edit.html"><font size=+1>E</font>DIT  
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/left.gif" 
X   border=0 align=middle ALT=""></A> 
X<strong><font size=+1>M</font>OVE&<font size=-1>S</font>CROLL </strong>
X<A HREF="func-file.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/right.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>ILE</A>  
X<A HREF="func-custom.html"><font size=+1>C</font>USTOMISATION</A>,  
X<A HREF="func-help.html"><font size=+1>H</font>ELP</A>, 
X<A HREF="func-misc.html"><font size=+1>M</font>ISC.</A> 
X<p>
X
X<A HREF="red-main-page.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>M</font>AIN <font size=+1>I</font>NDEX</A>
X
X<A HREF="function-group.html">
X   <IMG WIDTH=32 HEIGHT=32 SRC="../graphics/buttons/back.gif" 
X   border=0 align=middle ALT="">
X   <font size=+1>F</font>UNCTION <font size=+1>O</font>VERVIEW</A>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/func-move.html' &&
  chmod 0640 'Red/red-manual/func-move.html' ||
  echo 'restore of Red/red-manual/func-move.html failed'
  shar_count="`wc -c < 'Red/red-manual/func-move.html'`"
  test 5736 -eq "$shar_count" ||
    echo "Red/red-manual/func-move.html: original size 5736, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/function-alpha.html ==============
if test -f 'Red/red-manual/function-alpha.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/function-alpha.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/function-alpha.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/function-alpha.html' &&
X<html>
X<head>
X<title>Red: Function List Alphabetical</title>
X<link rev="made" href="mailto:mik@cs.su.oz.au">
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Function List Alphabetical</font> </td>
X</tr>
X</table>
X</center>
X
X<hr>
X
X<table cellpadding=10>
X<td width=30% valign=top>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#backward-char">backward-char</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#backward-delete-char">backward-delete-char</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#backward-delete-untab">backward-delete-untab</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#backward-word">backward-word</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#beginning-of-line">beginning-of-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#beginning-of-text">beginning-of-text</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-file.html#close">close</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut">cut</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-line">cut-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-region">cut-region</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-to-end-of-line">cut-to-end-of-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-to-end-of-word">cut-to-end-of-word</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-word">cut-word</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#define-macro">define-macro</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#delete-char">delete-char</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-help.html#describe-key">describe-key</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-custom.html#edit-toolbar">edit-toolbar</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#end-macro">end-macro</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#end-of-line">end-of-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#end-of-text">end-of-text</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find">find</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find-backward">find-backward</A><br>
X
X<td valign=top>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find-next">find-next</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find-next-reverse">find-next-reverse</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#forward-char">forward-char</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#forward-word">forward-word</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#goto-line">goto-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#half-tab">half-tab</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#indent">indent</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-custom.html#key-bindings">key-bindings</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-file.html#new">new</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#new-line">new-line</A><br> 	
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#new-line-and-indent">new-line-and-indent</A><br> 	
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#next-line">next-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#next-page">next-page</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-file.html#open">open</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#open_line">open_line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#paste">paste</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-custom.html#preferences">preferences</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#previous-line">previous-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#previous-page">previous-page</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-file.html#print">print</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#redisplay">redisplay</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#replace">replace</A><br>
X
X<td valign=top>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-file.html#revert">revert</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#run-macro">call-macro</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-file.html#save">save</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-file.html#save-as">save-as</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-half-page-down">scroll-half-page-down</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-half-page-up">scroll-half-page-up</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-line-down">scroll-line-down</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-line-up">scroll-line-up</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#select-line">select-line</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#select-region">select-region</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#select-word">select-word</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-custom.html#set-colours">set-colours</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-custom.html#set-fonts">set-fonts</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#set-mark">set-mark</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#shift-left">shift-left</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#shift-right">shift-right</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#show-line-number">show-line-number</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-help.html#show-manual">show-manual</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#swap-cursor-mark">swap-cursor-mark</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#tab-to-tab-stop">tab-to-tab-stop</A><br>
X  <IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#undo">undo</A><br>
X
X</table>
X
X<HR>
X  <A HREF="red-main-page.html">
X  <IMG SRC="../graphics/buttons/back.gif" border=0 align=middle >Main index</A><br>
X
X</body>
X</html>
SHAR_EOF
  $shar_touch -am 0512222696 'Red/red-manual/function-alpha.html' &&
  chmod 0640 'Red/red-manual/function-alpha.html' ||
  echo 'restore of Red/red-manual/function-alpha.html failed'
  shar_count="`wc -c < 'Red/red-manual/function-alpha.html'`"
  test 6999 -eq "$shar_count" ||
    echo "Red/red-manual/function-alpha.html: original size 6999, current size $shar_count"
  rm -f _sharnew.tmp
fi
# ============= Red/red-manual/function-group.html ==============
if test -f 'Red/red-manual/function-group.html' && test X"$1" != X"-c"; then
  echo 'x - skipping Red/red-manual/function-group.html (file already exists)'
  rm -f _sharnew.tmp
else
  > _sharnew.tmp
  echo 'x - extracting Red/red-manual/function-group.html (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Red/red-manual/function-group.html' &&
X<html>
X<head>
X<TITLE>Red Function List by Group</TITLE>
X</head>
X
X<body bgcolor=white>
X
X<center>
X<table>
X<tr>
X	<td valign=top> <IMG SRC="red-logo.GIF" ALT="RED" > </td>
X	<td> <font size=+3>Function List by Group</font> </td>
X</tr>
X</table>
X</center>
X
X<HR>
X
X<table>
X
X	<tr>
X	<td width=30% valign=top>
X<DL>
X
X<DT><IMG SRC="../graphics/balls/red.gif"><strong>
X<A HREF="func-edit.html">Edit Functions</A></A></strong>
X
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#new-line">new-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#open-line">open-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#delete-char">delete-char</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#backward-delete-char">backward-delete-char</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#backward-delete-untab">backward-delete-untab</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#tab-to-tab-stop">tab-to-tab-stop</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#half-tab">half-tab</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#indent">indent</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#new-line-and-indent">new-line-and-indent</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-word">cut-word</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-to-end-of-word">cut-to-end-of-word</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-line">cut-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-to-end-of-line">cut-to-end-of-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut-region">cut-region</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#cut">cut</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#paste">paste</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#select-region">select-region</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#select-word">select-word</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#select-line">select-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#shift-left">shift-left</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-edit.html#shift-right">shift-right</A>
X</DL>
X
X	</td>
X	<td valign=top>
X<DL>
X<DT><IMG SRC="../graphics/balls/red.gif"><strong>
X<A HREF="func-move.html">Move & Scroll Functions</A></A></strong>
X
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#forward-char">forward-char</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#backward-char">backward-char</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#forward-word">forward-word</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#backward-word">backward-word</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#end-of-line">end-of-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#beginning-of-line">beginning-of-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#next-line">next-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#previous-line">previous-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-line-down">scroll-line-down</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-line-up">scroll-line-up</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-half-page-down">scroll-half-page-down</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#scroll-half-page-up">scroll-half-page-up</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#previous-page">previous-page</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#next-page">next-page</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#beginning-of-text">beginning-of-text</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#end-of-text">end-of-text</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-move.html#swap-cursor-mark">swap-cursor-mark</A>
X</DL>
X
X	</td>
X	<td valign=top>
X<DL>
X<DT><IMG SRC="../graphics/balls/red.gif"><strong>
X<A HREF="func-misc.html">Misc. Functions</A></A></strong>
X
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#undo">undo</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find">find</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find-backward">find-backward</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find-next">find-next</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#find-next-reverse">find-next-reverse</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#replace">replace</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#set-mark">set-mark</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#goto-line">goto-line</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#show_line_number">show-line-number</A>
X<DD><IMG SRC="../graphics/balls/orange.gif"><A HREF="func-misc.html#define-macro">define-macro</A>
SHAR_EOF
  : || echo 'restore of Red/red-manual/function-group.html failed'
fi
echo 'End of archive part 8'
echo 'File Red/red-manual/function-group.html is continued in part 9'
echo 9 > _sharseq.tmp
exit 0


