per Benno Schulenberg's patch with some additions of mine, explain the
mouse support in more detail, and sync the text of its description across all documentation git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
0b65402b60
commit
2a56ce79c5
|
@ -105,6 +105,10 @@ CVS code -
|
||||||
do_input(), do_statusbar_input(), get_prompt_string(), and
|
do_input(), do_statusbar_input(), get_prompt_string(), and
|
||||||
parse_kbinput(). (DLR, suggested by Nick Warne and Benno
|
parse_kbinput(). (DLR, suggested by Nick Warne and Benno
|
||||||
Schulenberg)
|
Schulenberg)
|
||||||
|
- Explain the mouse support in more detail, and sync the text of
|
||||||
|
its description across all documentation. Changes to nano.1,
|
||||||
|
nanorc.5, nanorc.sample, and nano.texi. (Benno Schulenberg and
|
||||||
|
DLR)
|
||||||
- browser.c:
|
- browser.c:
|
||||||
do_browser()
|
do_browser()
|
||||||
- Reference NANO_GOTODIR_(ALT|F)?KEY instead of
|
- Reference NANO_GOTODIR_(ALT|F)?KEY instead of
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
.\" warranty.
|
.\" warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.TH NANO 1 "version 1.3.12" "May 14, 2006"
|
.TH NANO 1 "version 1.3.12" "May 24, 2006"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
|
|
||||||
|
@ -146,7 +146,10 @@ a new file instead of following it. Good for editing files in
|
||||||
\fI/tmp\fP, perhaps?
|
\fI/tmp\fP, perhaps?
|
||||||
.TP
|
.TP
|
||||||
.B \-m (\-\-mouse)
|
.B \-m (\-\-mouse)
|
||||||
Enable mouse support (if available for your system).
|
Enable mouse support, if available for your system. When enabled, mouse
|
||||||
|
clicks can be used to place the cursor, set the mark (with a double
|
||||||
|
click), and execute shortcuts. The mouse will work in the X Window
|
||||||
|
System, and on the console when gpm is running.
|
||||||
.TP
|
.TP
|
||||||
.B \-o \fIdir\fP (\-\-operatingdir=\fIdir\fP)
|
.B \-o \fIdir\fP (\-\-operatingdir=\fIdir\fP)
|
||||||
Set operating directory. Makes \fBnano\fP set up something similar to a
|
Set operating directory. Makes \fBnano\fP set up something similar to a
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
.\" warranty.
|
.\" warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.TH NANORC 5 "version 1.3.12" "May 23, 2006"
|
.TH NANORC 5 "version 1.3.12" "May 24, 2006"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -95,8 +95,10 @@ default value is "\fI(<[{)>]}\fP".
|
||||||
Allow use of the blank line below the titlebar as extra editing space.
|
Allow use of the blank line below the titlebar as extra editing space.
|
||||||
.TP
|
.TP
|
||||||
.B set/unset mouse
|
.B set/unset mouse
|
||||||
Enable mouse support, so that mouse clicks can be used to set the mark
|
Enable mouse support, if available for your system. When enabled, mouse
|
||||||
and run shortcuts.
|
clicks can be used to place the cursor, set the mark (with a double
|
||||||
|
click), and execute shortcuts. The mouse will work in the X Window
|
||||||
|
System, and on the console when gpm is running.
|
||||||
.TP
|
.TP
|
||||||
.B set/unset multibuffer
|
.B set/unset multibuffer
|
||||||
Allow inserting files into their own buffers.
|
Allow inserting files into their own buffers.
|
||||||
|
|
|
@ -65,8 +65,11 @@
|
||||||
## Use the blank line below the titlebar as extra editing space.
|
## Use the blank line below the titlebar as extra editing space.
|
||||||
# set morespace
|
# set morespace
|
||||||
|
|
||||||
## Enable mouse support, so that mouse clicks can be used to set the
|
## Enable mouse support, if available for your system. When enabled,
|
||||||
## mark and run shortcuts.
|
## mouse clicks can be used to place the cursor, set the mark (with a
|
||||||
|
## double click), and execute shortcuts. The mouse will work in the X
|
||||||
|
## Window System, and on the console when gpm is running.
|
||||||
|
##
|
||||||
# set mouse
|
# set mouse
|
||||||
|
|
||||||
## Allow multiple file buffers (inserting a file will put it into a
|
## Allow multiple file buffers (inserting a file will put it into a
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
@smallbook
|
@smallbook
|
||||||
@set EDITION 0.1
|
@set EDITION 0.1
|
||||||
@set VERSION 1.3.12
|
@set VERSION 1.3.12
|
||||||
@set UPDATED 23 May 2006
|
@set UPDATED 24 May 2006
|
||||||
|
|
||||||
@dircategory Editors
|
@dircategory Editors
|
||||||
@direntry
|
@direntry
|
||||||
|
@ -219,8 +219,10 @@ When writing files, if the given file is a symbolic link, it is removed
|
||||||
and a new file is created.
|
and a new file is created.
|
||||||
|
|
||||||
@item -m, --mouse
|
@item -m, --mouse
|
||||||
Enables the use of the mouse to select text (currently only useful for
|
Enable mouse support, if available for your system. When enabled, mouse
|
||||||
running under the X Window System).
|
clicks can be used to place the cursor, set the mark (with a double
|
||||||
|
click), and execute shortcuts. The mouse will work in the X Window
|
||||||
|
System, and on the console when gpm is running.
|
||||||
|
|
||||||
@item -o <dir>, --operatingdir=<dir>
|
@item -o <dir>, --operatingdir=<dir>
|
||||||
Set operating directory. Makes @code{nano} set up something similar to
|
Set operating directory. Makes @code{nano} set up something similar to
|
||||||
|
@ -273,6 +275,7 @@ keystroke (usually ^Z).
|
||||||
Ignored, for compatibility with Pico.
|
Ignored, for compatibility with Pico.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
||||||
@node Editor Basics, Online Help, Introduction, Top
|
@node Editor Basics, Online Help, Introduction, Top
|
||||||
@chapter Editor Basics
|
@chapter Editor Basics
|
||||||
@menu
|
@menu
|
||||||
|
@ -281,6 +284,7 @@ Ignored, for compatibility with Pico.
|
||||||
* The Titlebar::
|
* The Titlebar::
|
||||||
* The Statusbar::
|
* The Statusbar::
|
||||||
* Shortcut Lists::
|
* Shortcut Lists::
|
||||||
|
* Using the Mouse::
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@node Entering Text, Special Functions, Editor Basics, Editor Basics
|
@node Entering Text, Special Functions, Editor Basics, Editor Basics
|
||||||
|
@ -339,12 +343,24 @@ occur from using the editor will appear on the statusbar. Any questions
|
||||||
that are asked of the user will be asked on the statusbar, and any user
|
that are asked of the user will be asked on the statusbar, and any user
|
||||||
input (search strings, filenames, etc.) will be input on the statusbar.
|
input (search strings, filenames, etc.) will be input on the statusbar.
|
||||||
|
|
||||||
@node Shortcut Lists, , The Statusbar, Editor Basics
|
@node Shortcut Lists, Using the Mouse, The Statusbar, Editor Basics
|
||||||
@section Shortcut Lists
|
@section Shortcut Lists
|
||||||
|
|
||||||
The Shortcut Lists are the two lines at the bottom of the screen which
|
The Shortcut Lists are the two lines at the bottom of the screen which
|
||||||
show some of the more commonly used functions in the editor.
|
show some of the more commonly used functions in the editor.
|
||||||
|
|
||||||
|
@node Using the Mouse, , Shortcut Lists, Editor Basics
|
||||||
|
@section Using the Mouse
|
||||||
|
|
||||||
|
When mouse support has been configured and enabled, a single mouse click
|
||||||
|
places the cursor at the indicated position. Clicking a second time in
|
||||||
|
the same position toggles the mark. Clicking in the shortcut list
|
||||||
|
executes the selected shortcut.
|
||||||
|
|
||||||
|
The mouse will work in the X Window System, and on the console when gpm
|
||||||
|
is running.
|
||||||
|
|
||||||
|
|
||||||
@node Online Help, Feature Toggles, Editor Basics, Top
|
@node Online Help, Feature Toggles, Editor Basics, Top
|
||||||
@chapter Online Help
|
@chapter Online Help
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue