home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 4: GNU Archives
/
Linux Cubed Series 4 - GNU Archives.iso
/
gnu
/
git-4.3
/
git-4
/
git-4.3.11
/
info
/
git.info-2
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
GNU Info File
|
1996-06-06
|
48.4 KB
|
1,273 lines
This is Info file git.info, produced by Makeinfo-1.63 from the input
file ./git.texinfo.
START-INFO-DIR-ENTRY
* GIT: (git). GNU Interactive Tools
END-INFO-DIR-ENTRY
GIT: A set of interactive tools, by Tudor Hulubei and Andrei Pitis.
This file documents the GNU Interactive Tools package.
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of
this manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that this permission notice may be stated in a
translation approved by the Foundation.
File: git.info, Node: gitwipe, Next: gitmount, Prev: gitkeys, Up: Description
The GIT wipe file utility
=========================
`gitwipe' is an utility for wiping files. It overwrites the file
contents with a random sequence of numbers and then calls `sync'().
Note that `gitwipe' does *not* delete the file since (under `Linux'
at least) the `sync'() system call might return before actually writing
the new file contents to disk. Deleting the file might be dangerous
because some file systems can detect that the blocks in the file are no
longer used and never write them back to disk in order to improve
performance. It is up to you to delete the file(s) at a later moment.
File: git.info, Node: gitmount, Next: gitaction, Prev: gitwipe, Up: Description
The GIT mount utility
=====================
`gitmount' is a script that allows you to mount any block device
without specifying the file system type. You may now insert the floppy
in the drive and type '`gitmount' `fd0'' and the first floppy will be
mounted in the directory `/mnt/fd0'.
You don't need to know the file system type anymore. The directories
`/mnt/fd0' and `/mnt/fd1' must exist. If you want to use `gitmount'
with the block device `/dev/xxx' then the directory `/mnt/xxx' must
exist too.
File: git.info, Node: gitaction, Next: gitredir, Prev: gitmount, Up: Description
The GIT per file type action script
===================================
`gitaction' is a script that executes a different action for each
file type specified. It is called by the `git' program when pressing
`F2' or `^Xa'.
The first parameter is the current directory name and the second one
is the file name to be matched against the default patterns. The
matching is done using the shell 'case' statement.
If you press `F2' or `^Xa' on a `*.c' file, `git' will compile it,
if you press `F2' or `^Xa' on a `*.tar.gz' file, `git' will list the
tar archive contents, if you press the same keys on a `*.gz' file,
`git' will display its uncompressed contents on the screen, etc ...
By default `gitaction' checks for the following patterns:
"*.cc" "*.c" "*.l" "*.y" "*.h" "*.s" "*.S" "*.o" "*.a" "*.sa"
"Makefile" "makefile" "*.tar.gz" "*.tgz" "*.tar.z" "*.tar.Z" "*.taz"
"*.tar" "*.gz" "*.z" "*.Z" "*.doc" "*.txt" "*.gif" "*.jpg" "*.tif"
"*.bmp" "*.fli" "*.flc" compressed/uncompressed manual pages
and acts as appropriate. If no pattern is found, the file is displayed
using `more'. Feel free to change this.
If you want to find out what the default action for each file type is
(or if you want to modify it), just read/modify the `gitaction' script.
If you press `F2' or `^Xa' on a `*.gif' file or `*.jpg' file and you
have the `zgv' utility installed, you will be able to see it. If you
want to change the gif/jpeg viewer, all you need to do is to change its
name in the `gitaction' script. I don't know a `*.bmp' or `*.tif'
viewer. Feel free to add one in the `gitaction' script.
File: git.info, Node: gitredir, Next: gitrgrep, Prev: gitaction, Up: Description
The GIT stdout to stderr redirection script
===========================================
`gitredir' is a very small script that fools the `git' program,
making it believe that the command started wrote something to standard
error. It was not designed to be used as a stand alone program.
`gitredir' is useful for programs like `du'. We are interested in
du's output and we would like to write it on the status line
(especially the output of the 'du -s' command). Normally, this is not
possible because 'du -s' will display the information on the standard
output (`git' catches only standard error) and will exit with the exit
code 0. `git' will display the standard error contents on the status
bar only if the program exit status is not 0.
So, `gitredir' starts a program, sends its standard output through a
pipe to a sub-shell which read from the pipe and write to standard
error. After that, `gitredir' exits with the exit code 1. This way,
`git' thinks that an error occured and display the standard error
redirection file to the status bar. Stupid, but useful.
File: git.info, Node: gitrgrep, Prev: gitredir, Up: Description
The GIT recursive grep script
=============================
`gitrgrep' is a very small script that calls `grep' recursively. It
accepts `grep' like options / parameters, the only difference being
that file specifications should be quoted:
`gitrgrep' main '*.c'
or
`gitrgrep' errno '*.c *.h'
`gitregrep' and `gitrfgrep' are recursive versions of the egrep and
fgrep programs.
File: git.info, Node: Customization, Next: Limitations, Prev: Description, Up: Top
Customizing GNU Interactive Tools
*********************************
* Menu:
* Environment Variables:: Environment variables used by GIT
* Configuration Files:: GIT's configuration files
File: git.info, Node: Environment Variables, Next: Configuration Files, Up: Customization
Environment Variables
=====================
The configuration files use shell environment variables to call the
shell, editor, mail reader, compress and virtual memory status utility.
That means that if you set GIT_SHELL, GIT_EDITOR, GIT_RMAIL,
GIT_COMPRESS or GIT_VMSTAT to some value, that value will be used
instead of the default one. The defaults are:
GIT_SHELL='/bin/sh'
GIT_EDITOR='vi'
GIT_RMAIL='emacs -f rmail'
GIT_PAGER='more'
GIT_COMPRESS='gzip -9'
GIT_VMSTAT='free'
If SHELL is defined, GIT_SHELL will be set to that value. If EDITOR
is defined, GIT_EDITOR will be set to that value. If you want to
change the default settings, put something like this into your
`.profile':
export GIT_SHELL='/usr/local/bin/bash'
export GIT_EDITOR='emacs'
export GIT_RMAIL='elm'
export GIT_PAGER='less'
export GIT_COMPRESS='compress'
export GIT_VMSTAT='vmstat'
File: git.info, Node: Configuration Files, Prev: Environment Variables, Up: Customization
Configuration Files
===================
There is one configuration file per terminal type in `GIT'. The
configuration file(s) reside in the user's home directory or (the
default versions) in the directory `$(prefix)/lib' (usually
`/usr/local/lib').
Their generic name is `.gitrc.TERM'. `GIT' allows each terminal
type to have its own configuration file (TERM is the value of the TERM
environment variable (e.g `vt102'); for the `Linux' console the
configuration file is `.gitrc.console').
Since most of the key bindings are common to all the terminal types,
a configuration file called `.gitrc.common' is parsed before parsing
the normal `.gitrc.TERM' configuration file, the later one defining
only those keys that are terminal specific. However, if a key binding
is redefined in the `.gitrc.TERM' file, that binding will be used.
If the `GIT' package have been compiled without passing the
`--enable-terminfo' option to the `configure' script and your system
has a huge `termcap' database (`/etc/termcap'), you can copy the
termcap definition(s) of your terminal(s) in a file called, lets say
`.termcap' and put it in your home directory. After that, set your
TERMCAP environment variable to point to it. You should add something
like this to your `.profile':
TERMCAP=`/home/mike/.termcap'
The interactive programs in the `GIT' package can run without such a
file, but on systems with huge `termcap' databases, copying the
definitions of the most used terminals in a local `.termcap' file will
lead to a faster start.
The `.gitrc.TERM' it is first time searched in the home directory
then, if not found, in the directory `$(prefix)/lib' (usually
`/usr/local/lib'). The configuration file is structured on sections,
each section containing variables in the following format:
`variable-name' = `first-field';`second-field'; ...
After the `variable-name' at least one space or tab is required.
All characters after a `#' are ignored and if you comment a section
name, the whole section is ignored.
Section names are enclosed in rectangular brackets (`[' and `]').
Note that this manual don't include them while refering to section
names.
The `GIT' package contains three major programs: `git', `gitps' and
`gitview'. Each one has its own sections in the configuration files.
There is also a global setup section called `Setup' that is used by all
these programs.
* Menu:
* Key Sequences:: How to write a key sequence.
* Setup:: The global setup section.
* git Sections:: git's sections.
* gitps Sections:: gitps's Sections.
* gitview Sections:: gitview's Sections.
File: git.info, Node: Key Sequences, Next: Setup, Up: Configuration Files
Writing key sequences
---------------------
`GIT' contains three interactive programs. Their names are: `git'
(this is the file system browser), `gitps' (this is the process
viewer/killer and `gitview' (this is the ASCII/HEX file viewer). Each
one of these programs has its own set of key bindings.
The convention used in describing key bindings are very simple. Here
there are some examples that will help you to understand them. The
corresponding `Emacs' conventions will help you even more.
`^A' means keeping the Ctrl key down and pressing the `a' key
(`C-a').
The `ESC' character is represented as `^[' so that you can use the
meta character (`M-' ) where available (or the `ESC' key):
`^[a' corresponds to `M-a' (pressing the `ESC' key and then `a').
The `^' character is represented as `^^'.
The `backspace' character is represented as `^_'.
The `Ctrl-SPACE' character (`C-SPC') is represented as `^$'.
The space (`SPC') character is represented as `^@'.
Note that the key bindings notation described here is only used in
the configuration files. For the sake of readability this manual uses
`ESC' for the `ESC' key, `SPC' for the `SPACE' key and `RET' for the
`RETURN' (`ENTER') key.
File: git.info, Node: Setup, Next: git Sections, Prev: Key Sequences, Up: Configuration Files
The global setup section
------------------------
In this section the variables have only one field.
`TempDirectory'
This variable specifies the location of the temporary files created
by `git'.
`AnsiColors'
This variable should be set to `ON' if the terminal supports
standard `ANSI' color sequences. Otherwise it should be `OFF'. If
`AnsiColors' is `ON', `GITxxx-Color' sections will be used in the
configuration files `.gitrc.TERM'. Otherwise, `GIT' interactive
programs will use the `GITxxx-Monochrome' sections.
`UseLastScreenChar'
This variable is used for terminals that can't write on the last
character of the screen without scrolling the entire screen. If your
terminal has no problem writing there (`Linux' console, vt100, vt102,
xterm, ...) set it to `ON'. Otherwise (hpterm), it should be `OFF'.
`StartupScrollStep'
This variable specifies the scroll step initial value for both
panels.
File: git.info, Node: git Sections, Next: gitps Sections, Prev: Setup, Up: Configuration Files
git Sections
------------
* Menu:
* GIT-Setup:: git's setup section.
* GIT-Color:: git's color section.
* GIT-Monochrome:: git's monochrome section.
* GIT-Keys:: git's keys section.
* GIT-FTI:: git's file type information section.
File: git.info, Node: GIT-Setup, Next: GIT-Color, Up: git Sections
git Setup
.........
In this section the variables have only one field.
`StartupFileDisplayMode'
This variable specifies the file specific information displayed at
startup. It can be any of `OwnerGroup', `DateTime', `Size', `Mode' or
`FullName'. Its value initially affects both panels but it can be
changed separately afterward.
`StartupFileSortMethod'
This variable specifies the startup sort method. It can be any of
`Name', `Extension', `Size', `Date', `Mode', `OwnerId', `GroupId',
`OwnerName' or `GroupName'. Its value initially affects both panels
but it can be changed separately afterward.
`ConfirmOnExit'
If this variable is `ON', the user is prompted for confirmation at
exit.
`HistoryFile'
This variable specifies the history file name. The default value is
`~/.githistory'.
`InfoDisplay'
If this variable is `OFF', auxiliary file informations are not
displayed. This can be useful if you are using a very slow terminal.
`LeadingDotMatch'
If this variable is `OFF' when matching files for
select-files-matching-pattern / unselect-files-matching-pattern then the
leading '.' in the file name is matched only explicitly.
`TypeSensitivity'
If this variable is `OFF', colors are not used when displaying
files. Normally, the information in the `GIT-FTI' section is used to
display files with different colors, depending on their types. Note
that `TypeSensitivity' is automatically set to `OFF' when `AnsiColors'
is `OFF'. *Note GIT-FTI::, for mor information.
`NormalModeHelp'
`CommandLineModeHelp'
These variables describe the status bar contents for each `git' mode
when no errors occurred. `git' can display on the status bar a help
string and/or some system information (system type, hostname, machine
type and the current date) using escape characters:
\s -> the system type
\h -> the host name
\m -> the machine type
\d -> the current date
*Note Modes::, for more information.
File: git.info, Node: GIT-Color, Next: GIT-Monochrome, Prev: GIT-Setup, Up: git Sections
Using git on colors displays
............................
In this sections the variables have only one field.
These section allows you to customize the colors of `git'. Reading
the `.gitrc.TERM' configuration file is self explanatory.
File: git.info, Node: GIT-Monochrome, Next: GIT-Keys, Prev: GIT-Color, Up: git Sections
Using git on monochrome displays
................................
In this sections the variables have only one field.
These section allows you to customize the appearance of `git' on
monochrome displays. Reading the `.gitrc.TERM' configuration file is
self explanatory.
File: git.info, Node: GIT-Keys, Next: GIT-FTI, Prev: GIT-Monochrome, Up: git Sections
Defining keys
.............
These section describes the actions `git' takes when a specified key
is pressed. A variable can have up to 6 fields separated by ';'. Each
line in this section looks like:
`key-sequence' = `command-name';`formatted-command';`new-dir';
`save-screen';`pause';`hide'
Note that you can't continue the variable fields description on the
next line.
* Menu:
* key-sequence:: The key-sequence field.
* command-name:: The command-name field.
* formatted-command:: The formatted-command field.
* new-dir:: The new-dir field.
* save-screen:: The save-screen field.
* pause:: The pause field.
* hide:: The hide field.
File: git.info, Node: key-sequence, Next: command-name, Up: GIT-Keys
The key-sequence field
......................
`key-sequence' is the key sequence associated with the given
command. You can use any key sequence that doesn't start with an ascii
character (0x20 to 0x7e).
Symbolic key names (`F0', `F1', `F2', ... `F10', `UP', `DOWN',
`RIGHT', `LEFT', `INS', `DEL', `HOME', `END', `PGUP' and `PGDOWN') can
be used instead of the key sequence. If some keys don't have a
`termcap'/ `terminfo' description (like the `F11'/`F12' keys on the
`Linux' console) you can specify the key sequence in the usual way.
File: git.info, Node: command-name, Next: formatted-command, Prev: key-sequence, Up: GIT-Keys
The command-name field
......................
`command-name' is a command generic name. Even if it is not always
used, the `command-name' must be present (if a command is associated
with a `key-sequence'). If it is not, no action will be taken when
pressing `key-sequence'.
There are two types of commands in `git': built-in commands and user
defined commands. If the `command-name' section contains a built-in
command specification, the other fields are ignored.
Note that by convention built-in command names contain only lower
case letters while user defined command names contain only upper case
letters.
File: git.info, Node: formatted-command, Next: new-dir, Prev: command-name, Up: GIT-Keys
The formatted-command field
...........................
- `formatted-command' is a shell command which can contain some
scanf like format specifiers. They are used to get the current entry
name, owner, group, mode, etc.
Note that using uppercase `format specifiers' you will be able to
access the other panel path, file and directory names, etc.
These are the available `format specifiers':
* Menu:
* %s:: The %s format specifier.
* %f:: The %f format specifier.
* %d:: The %d format specifier.
* %l:: The %l format specifier.
* %t:: The %t format specifier.
* %z:: The %z format specifier.
* %a:: The %a format specifier.
* %m:: The %m format specifier.
* %g:: The %g format specifier.
* %o:: The %o format specifier.
* %p:: The %p format specifier.
* %b:: The %b format specifier.
* %i:: The %i format specifier.
* %?:: The %? format specifier.
File: git.info, Node: %s, Next: %f, Up: formatted-command
The %s format specifier
.......................
The format of %s is: %s{question,default_answer}.
When `git' encounters a %s in the `formatted-command' it asks the
user the question `question' whose default answer is `default_answer'
and replaces the `%s{ , }' with the user's answer. Both `question' and
`default_answer' can contain any other `format specifiers' except %s.
Note that there should be no spaces between %s and '{'.
File: git.info, Node: %f, Next: %d, Prev: %s, Up: formatted-command
The %f format specifier
.......................
`git' will replace %f with the current directory entry name only if
it is a file (not a directory).
File: git.info, Node: %d, Next: %l, Prev: %f, Up: formatted-command
The %d format specifier
.......................
`git' will replace %d with the current directory entry name only if
it is a directory (not a file).
File: git.info, Node: %l, Next: %t, Prev: %d, Up: formatted-command
The %l format specifier
.......................
`git' will replace %l with the current directory entry name only if
it is a symbolic link with no target.
File: git.info, Node: %t, Next: %z, Prev: %l, Up: formatted-command
The %t format specifier
.......................
`git' will replace %t with the current directory entry name only if
it is a named pipe.
File: git.info, Node: %z, Next: %a, Prev: %t, Up: formatted-command
The %z format specifier
.......................
`git' will replace %z with the current directory entry name only if
it is a socket.
File: git.info, Node: %a, Next: %m, Prev: %z, Up: formatted-command
The %a format specifier
.......................
`git' will always replace %a with the current directory entry name.
File: git.info, Node: %m, Next: %g, Prev: %a, Up: formatted-command
The %m format specifier
.......................
`git' will always replace %m with the current file mode.
File: git.info, Node: %g, Next: %o, Prev: %m, Up: formatted-command
The %g format specifier
.......................
`git' will always replace %g with the current file group.
File: git.info, Node: %o, Next: %p, Prev: %g, Up: formatted-command
The %o format specifier
.......................
`git' will always replace %o with the current file owner.
File: git.info, Node: %p, Next: %b, Prev: %o, Up: formatted-command
The %p format specifier
.......................
`git' will always replace %p with the current panel path.
File: git.info, Node: %b, Next: %i, Prev: %p, Up: formatted-command
The %b format specifier
.......................
`git' will always replace %b with the current panel directory name.
File: git.info, Node: %i, Next: %?, Prev: %b, Up: formatted-command
The %i format specifier
.......................
`git' will always replace %i with all the current panel selected
file names.
File: git.info, Node: %?, Prev: %i, Up: formatted-command
The %? format specifier
.......................
The format of %? is: %?{confirmation}.
`git' uses this format specifier only to ask for confirmation before
expanding / executing the current command. The `confirmation' string
is displayed and, if the user doesn't confirm, the command is aborted.
Otherwise, %?{confirmation} expands to a null string and the command is
expanded / executed normally.
File: git.info, Node: new-dir, Next: save-screen, Prev: formatted-command, Up: GIT-Keys
The new-dir field
.................
If the `formatted-command' successfully exits (exit code = 0) or it
has no body and this field is present then `new-dir' will become the
current panel directory.
The character '~' used at the beginning of the `new-dir' field is
replaced by the user's home directory.
File: git.info, Node: save-screen, Next: pause, Prev: new-dir, Up: GIT-Keys
The save-screen field
.....................
This field is a character (usually 'y' or 'n') that tells `git' to
save ('y') or not to save ('n') the terminal's screen after executing
the `formatted-command'. Saving the screen is not necessary while
editing or viewing a file because the information left after the editor
or the viewer exits is not important. Saving the screen means that that
screen will be restored before the execution of the next command.
Currently this field is used only if you are working as a super user
under `Linux' on a virtual console. Its default value is 'y'.
File: git.info, Node: pause, Next: hide, Prev: save-screen, Up: GIT-Keys
The pause field
...............
Users may wish to read some commands's results before repainting the
panels. If this field is present git will wait for a key to be pressed
before restoring the panels. Its default value is 'n'.
File: git.info, Node: hide, Prev: pause, Up: GIT-Keys
The hide field
..............
Some commands that don't displaying any useful information if
successfully complete their execution: `mount', `chmod', `chown',
`chgrp', `sync' ... and, if an error occurs, a line or two are sent to
stderr. If this option is 'y', the stdout and stderr will be
redirected to some files (stdout.pid and stderr.pid, where pid is
`git''s pid) and only if the command's exit code is not 0, the
stderr.pid file will be displayed, line by line, onto the status bar.
This way the panels will not be deleted and then repainted and the
command appears to be built-in. stdout.pid and stderr.pid are created
in the `TempDirectory' specified in the `Setup' section. Its default
value is 'n'.
File: git.info, Node: GIT-FTI, Prev: GIT-Keys, Up: git Sections
Setting up colors for different file types
------------------------------------------
This sections contains entries of the form:
`pattern' = `foreground'; `background'; `brightness'
where `pattern' is a file name matching pattern, `foreground',
`background' and `brightness' are the color specification to be used
when a file whose name match the given `pattern' is displayed in a
panel. Colors can be turned off using the `TypeSensitivity' variable
in the `GIT-Setup' seection.
File: git.info, Node: gitps Sections, Next: gitview Sections, Prev: git Sections, Up: Configuration Files
gitps Sections
--------------
* Menu:
* GITPS-Setup:: gitps's setup section.
* GITPS-Color:: gitps's color section.
* GITPS-Monochrome:: gitps's monochrome section.
* GITPS-Keys:: gitps's keys section.
File: git.info, Node: GITPS-Setup, Next: GITPS-Color, Up: gitps Sections
gitps Setup
...........
In this section the variables have only one field.
File: git.info, Node: GITPS-Color, Next: GITPS-Monochrome, Prev: GITPS-Setup, Up: gitps Sections
Using gitps on color displays
.............................
In this sections the variables have only one field.
These section allows you to customize the colors of `gitps'.
Reading the `.gitrc.TERM' configuration file is self explanatory.
File: git.info, Node: GITPS-Monochrome, Next: GITPS-Keys, Prev: GITPS-Color, Up: gitps Sections
Using gitps on monochrome displays
..................................
In this sections the variables have only one field.
These section allows you to customize the appearance of `gitps' on
monochrome displays. Reading the `.gitrc.TERM' configuration file is
self explanatory.
File: git.info, Node: GITPS-Keys, Prev: GITPS-Monochrome, Up: gitps Sections
Defining keys
.............
File: git.info, Node: gitview Sections, Prev: gitps Sections, Up: Configuration Files
gitview Sections
----------------
* Menu:
* GITVIEW-Setup:: gitview's setup section.
* GITVIEW-Color:: gitview's color section.
* GITVIEW-Monochrome:: gitview's monochrome section.
* GITVIEW-Keys:: gitview's keys section.
File: git.info, Node: GITVIEW-Setup, Next: GITVIEW-Color, Up: gitview Sections
gitview Setup
.............
In this section the variables have only one field.
File: git.info, Node: GITVIEW-Color, Next: GITVIEW-Monochrome, Prev: GITVIEW-Setup, Up: gitview Sections
Using gitview on color displays
...............................
In this sections the variables have only one field.
These section allows you to customize the colors of `gitview'.
Reading the `.gitrc.TERM' configuration file is self explanatory.
File: git.info, Node: GITVIEW-Monochrome, Next: GITVIEW-Keys, Prev: GITVIEW-Color, Up: gitview Sections
Using gitview on monochrome displays
....................................
In this sections the variables have only one field.
These section allows you to customize the appearance of `gitview' on
monochrome displays. Reading the `.gitrc.TERM' configuration file is
self explanatory.
File: git.info, Node: GITVIEW-Keys, Prev: GITVIEW-Monochrome, Up: gitview Sections
Defining keys
.............
File: git.info, Node: Limitations, Next: Bugs, Prev: Customization, Up: Top
GNU Interactive Tools limitations
*********************************
Background commands (& terminated)can be specified in the
configuration file but their result (stdout and stderr redirection),
will be overwritten by the result of newer commands and, if an error
occurs, it will not be seen.
When `git' is compiled for `Linux', the default built-in color
descriptions are for color monitors, so you can't (decently) run `git'
on a b/w monitor without the `.gitrc.TERM' file correctly configured.
`.gitrc.TERM' should be configured with `AnsiColors' = OFF.
Job support is implemented only in `git'.
Due to the fact that the ';' character is used as a field separator
in the configuration files, you can't write something like that in the
`.gitrc.TERM' files:
^AAA = SHOW-USERS-AND-GROUPS; more /etc/passwd; more /etc/group
because 'more /etc/group' will be considered as a directory to switch
to. You must write a small script instead:
#!/bin/sh
more /etc/passwd more /etc/group
Supposing the script name is `show_ug', the `.gitrc.TERM' line will
look like this:
^AAA = SHOW-USERS-AND-GROUPS; show_ug
There is no support for appearance modes on magic-cookie terminals.
File: git.info, Node: Bugs, Prev: Limitations, Up: Top
GNU Interactive Tools bugs
**************************
Any questions, comments, or bug reports, should be emailed to the
authors. Please be sure to include the version number. The email
addresses are:
tudorh@pub.ro
pink@pub.ro
File: git.info, Node: Key Index, Next: Command Index, Prev: Distrib, Up: Top
Key Index
*********
* Menu:
* ^[]: Modes.
* ^]: Modes.
* ^A: Moving Point.
* ^B, LEFT: Moving Point.
* ^C 2 a: Mail.
* ^C 2 b: Mail.
* ^C =: Comparing Files.
* ^C a: Archive Files.
* ^C B: Comparing Files.
* ^C b 2 a: Mail.
* ^C b 2 b: Mail.
* ^C b a: Archive Files.
* ^C b C: Copying Files.
* ^C b C (for directories): Copying Dirs.
* ^C b D: Deleting Files.
* ^C b D (for directories): Deleting Dirs.
* ^C b e: Encoding Files.
* ^C b f Z: Compressing Files.
* ^C b G: Inode.
* ^C b H: Linking Files.
* ^C b M: Inode.
* ^C b O: Inode.
* ^C b R: Renaming Files.
* ^C b R (for directories): Renaming Dirs.
* ^C b r G: Inode.
* ^C b r M: Inode.
* ^C b r O: Inode.
* ^C b S: Linking Files.
* ^C b T: Moving Files.
* ^C b T (for directories): Moving Dirs.
* ^C b x: Archive Files.
* ^C b z: Compressing Files.
* ^C C (for directories): Copying Dirs.
* ^C D (for directories): Deleting Dirs.
* ^C e: Encoding Files.
* ^C ESC =: Comparing Files.
* ^C f Z: Compressing Files.
* ^C G: Inode.
* ^C H: Linking Files.
* ^C M: Inode.
* ^C O: Inode.
* ^C p: Encrypting Files.
* ^C R: Renaming Files.
* ^C R (for directories): Renaming Dirs.
* ^C r G: Inode.
* ^C r M: Inode.
* ^C r O: Inode.
* ^C S: Linking Files.
* ^C s: Selecting.
* ^C T (for directories): Moving Dirs.
* ^C U: Dirs Usage.
* ^C u: Selecting.
* ^C W: Wiping Files.
* ^C x: Archive Files.
* ^C z: Compressing Files.
* ^E: Moving Point.
* ^F, RIGHT: Moving Point.
* ^H, BKSPC: Erasing.
* ^K: Erasing.
* ^L: Refreshing.
* ^O, ESC o: Modes.
* ^R, ^Xr: Isearch.
* ^S, ^Xs: Isearch.
* ^SPC: Setting Mark.
* ^U: Erasing.
* ^W: Erasing.
* ^X 0: Modes.
* ^X 1: Modes.
* ^X 2: Modes.
* ^X 4 a: Editing Files.
* ^X ^F: Editing Files.
* ^X ^G: Inserting Text.
* ^X ^L: Reseting.
* ^X ^P: Dirs History.
* ^X ^R: Dirs History.
* ^X ^X: Setting Mark.
* ^X b m: Compiling.
* ^X d, ^X ^D: Changing Dirs.
* ^X E: Environment.
* ^X e: Editing Files.
* ^X g: Grep.
* ^X I: Spelling Files.
* ^X k: Processes.
* ^X l: Refreshing.
* ^X N: Dirs History.
* ^X p: Locking.
* ^X P: Moving.
* ^X q: Documentation.
* ^X S: Sync.
* ^X T: Sysinfo.
* ^X v: Viewing Files.
* ^X w: Searching Files.
* ^X z: Shell.
* ^Y: Yanking.
* DEL, ^D: Erasing.
* DOWN, ^N: Moving.
* END, ESC >: Moving.
* ESC %: Searching Files.
* ESC &: Searching Files.
* ESC .: Hot Keys.
* ESC /: Hot Keys.
* ESC 1: Hot Keys.
* ESC 2: Hot Keys.
* ESC \: Erasing.
* ESC a c: Changing Dirs.
* ESC a o: Changing Dirs.
* ESC b: Moving Point.
* ESC BKSPC: Erasing.
* ESC c: Case Changes.
* ESC d: Erasing.
* ESC d a: Modes.
* ESC d d: Modes.
* ESC d f: Modes.
* ESC d m: Modes.
* ESC d o: Modes.
* ESC d s: Modes.
* ESC ESC RET: Inserting Text.
* ESC f: Moving Point.
* ESC h: Hot Keys.
* ESC i: Hot Keys.
* ESC k: Erasing.
* ESC l: Case Changes.
* ESC m a: Mounting.
* ESC m b: Mounting.
* ESC m t: Mounting.
* ESC n: History.
* ESC p: History.
* ESC P a, ESC P l, ESC P u: Processes.
* ESC P b, ESC P c, ESC P e: Processes.
* ESC P T: Processes.
* ESC P x, ESC P y: Processes.
* ESC r a: Mounting.
* ESC r b: Mounting.
* ESC r t: Mounting.
* ESC RET: Inserting Text.
* ESC s d: Sorting.
* ESC s e: Sorting.
* ESC S f: Sysinfo.
* ESC s g i: Sorting.
* ESC s g n: Sorting.
* ESC S m: Sysinfo.
* ESC s m: Sorting.
* ESC s n: Sorting.
* ESC s o i: Sorting.
* ESC s o n: Sorting.
* ESC S q: Sysinfo.
* ESC S s: Sysinfo.
* ESC s s: Sorting.
* ESC S u: Sysinfo.
* ESC s u: Sorting.
* ESC S v: Sysinfo.
* ESC S w: Sysinfo.
* ESC SPC: Erasing.
* ESC u: Case Changes.
* ESC w: Erasing.
* ESC x r m: Mail.
* F1, ^X i: Documentation.
* F10, ^X ^C, ^X c: Exit.
* F2, ^X a: Actions.
* F3, ^X h: Viewing Files.
* F4: Editing Files.
* F5 (for directories): Copying Dirs.
* F5, ^C C: Copying Files.
* F6 (for directories): Moving Dirs.
* F6, ^C T: Moving Files.
* F7, ^X M: Creating Dirs.
* F8 (for directories): Deleting Dirs.
* F8, ^C D: Deleting Files.
* F9, ^X m: Compiling.
* HOME, ESC <: Moving.
* INS, ^T, ^X \, ^\: Selecting.
* PGDOWN, ^V: Moving.
* PGUP, ESC v: Moving.
* TAB, ^I, ^X o: Moving.
* UP, ^P: Moving.
File: git.info, Node: Command Index, Next: Variable Index, Prev: Key Index, Up: Top
Command Index
*************
* Menu:
* adapt-current-directory: Changing Dirs.
* Adapt-other-directory: Changing Dirs.
* ASCII-MAIL: Mail.
* B-ASCII-MAIL: Mail.
* B-BINARY-MAIL: Mail.
* B-CHGRP: Inode.
* B-CHMOD: Inode.
* B-CHOWN: Inode.
* B-COMPRESS: Compressing Files.
* B-COPY: Copying Files.
* B-COPY (for directories): Copying Dirs.
* B-DELETE: Deleting Files.
* B-DELETE (for directories): Deleting Dirs.
* B-LINK: Linking Files.
* B-MAKE: Compiling.
* B-MOVE: Moving Files.
* B-MOVE (for directories): Moving Dirs.
* B-R-CHGRP: Inode.
* B-R-CHMOD: Inode.
* B-R-CHOWN: Inode.
* B-RENAME: Renaming Files.
* B-RENAME (for directories): Renaming Dirs.
* B-SYMLINK: Linking Files.
* B-TAR: Archive Files.
* B-TAR-COMPRESS: Archive Files.
* B-UNCOMPRESS: Compressing Files.
* B-UNCOMPRESS-UNTAR: Archive Files.
* B-UNTAR: Archive Files.
* B-UUDECODE: Encoding Files.
* B-UUENCODE: Encoding Files.
* backward-char: Moving Point.
* backward-delete-char: Erasing.
* backward-kill-word: Erasing.
* backward-word: Moving Point.
* beginning-of-line: Moving Point.
* beginning-of-panel: Moving.
* BF-UNCOMPRESS: Compressing Files.
* BINARY-COMPARE: Comparing Files.
* BINARY-MAIL: Mail.
* capitalize-word: Case Changes.
* change-directory: Changing Dirs.
* CHANGE-LOG: Editing Files.
* CHGRP: Inode.
* CHMOD: Inode.
* CHOWN: Inode.
* COMPRESS: Compressing Files.
* copy: Copying Files.
* copy (for directories): Copying Dirs.
* DATE: Sysinfo.
* DECRYPT: Encrypting Files.
* delete: Deleting Files.
* delete (for directories): Deleting Dirs.
* delete-char: Erasing.
* delete-horizontal-space: Erasing.
* DIFF: Comparing Files.
* DIRECTORY-USAGE: Dirs Usage.
* DISK-FREE-SPACE: Sysinfo.
* downcase-word: Case Changes.
* EDIT: Editing Files.
* ENCRYPT: Encrypting Files.
* end-of-line: Moving Point.
* end-of-panel: Moving.
* enlarge-other-panel: Modes.
* enlarge-panel: Modes.
* ENV: Environment.
* exchange-point-and-mark: Setting Mark.
* exit: Exit.
* F-UNCOMPRESS: Compressing Files.
* FILE-ACTION: Actions.
* FILE-CREATE: Editing Files.
* file-to-input-line: Inserting Text.
* FIND: Searching Files.
* FINGER: Sysinfo.
* FIRST-FLOPPY-DIR: Hot Keys.
* forward-char: Moving Point.
* forward-word: Moving Point.
* GITPS, PS: Processes.
* GREP: Grep.
* hard-refresh: Refreshing.
* HOME-DIR: Hot Keys.
* INCLUDE-DIR: Hot Keys.
* INFO: Documentation.
* isearch-backward: Isearch.
* isearch-forward: Isearch.
* ISPELL: Spelling Files.
* just-one-space: Erasing.
* KILL: Processes.
* kill-line: Erasing.
* kill-region: Erasing.
* kill-ring-save: Erasing.
* kill-to-beginning-of-line: Erasing.
* kill-to-end-of-line: Erasing.
* kill-word: Erasing.
* LAST-BACKUP-DIFF: Comparing Files.
* LINK: Linking Files.
* LOCATE: Searching Files.
* lock: Locking.
* MAKE: Compiling.
* make-directory: Creating Dirs.
* MAN: Documentation.
* MOUNT-A: Mounting.
* MOUNT-B: Mounting.
* MOUNT-THIS: Mounting.
* MOUNTED-FILE-SYSTEMS: Sysinfo.
* move: Moving Files.
* move (for directories): Moving Dirs.
* MULTIPLE-EDIT: Editing Files.
* MULTIPLE-VIEW: Viewing Files.
* next-directory: Dirs History.
* next-history-element: History.
* next-line: Moving.
* other-panel: Moving.
* other-path-to-input-line: Inserting Text.
* panel-enable-all: Modes.
* panel-enable-date-time: Modes.
* panel-enable-full-name: Modes.
* panel-enable-mode: Modes.
* panel-enable-next-mode: Modes.
* panel-enable-owner-group: Modes.
* panel-enable-size: Modes.
* panel-sort-by-date: Sorting.
* panel-sort-by-extension: Sorting.
* panel-sort-by-group-id: Sorting.
* panel-sort-by-group-name: Sorting.
* panel-sort-by-mode: Sorting.
* panel-sort-by-name: Sorting.
* panel-sort-by-owner-id: Sorting.
* panel-sort-by-owner-name: Sorting.
* panel-sort-by-size: Sorting.
* panel-sort-next-method: Sorting.
* previous-directory: Dirs History.
* previous-history-element: History.
* previous-line: Moving.
* PSTREE: Processes.
* QUOTA: Sysinfo.
* R-CHGRP: Inode.
* R-CHMOD: Inode.
* R-CHOWN: Inode.
* READ-MAIL: Mail.
* RECURSIVE-GREP: Grep.
* refresh: Refreshing.
* RENAME: Renaming Files.
* RENAME (for directories): Renaming Dirs.
* reset-directory-history: Dirs History.
* ROOT-DIR: Hot Keys.
* scroll-down: Moving.
* scroll-up: Moving.
* SECOND-FLOPPY-DIR: Hot Keys.
* select-file: Selecting.
* select-files-matching-pattern: Selecting.
* selected-files-to-input-line: Inserting Text.
* set-mark: Setting Mark.
* set-scroll-step: Moving.
* SUB-SHELL: Shell.
* switch-panels: Moving.
* SYMLINK: Linking Files.
* SYNC: Sync.
* TAR: Archive Files.
* TAR-COMPRESS: Archive Files.
* tty-mode: Modes.
* TTY-RESET: Reseting.
* two-panel-mode: Modes.
* UMOUNT-A: Mounting.
* UMOUNT-B: Mounting.
* UMOUNT-THIS: Mounting.
* UNCOMPRESS: Compressing Files.
* UNCOMPRESS-UNTAR: Archive Files.
* unselect-files-matching-pattern: Selecting.
* UNTAR: Archive Files.
* UP-DIR: Hot Keys.
* upcase-word: Case Changes.
* USERS: Sysinfo.
* UUDECODE: Encoding Files.
* UUENCODE: Encoding Files.
* VIEW: Viewing Files.
* VIRTUAL-MEMORY-STATUS: Sysinfo.
* WHEREIS: Searching Files.
* WHICH: Searching Files.
* WHO: Sysinfo.
* WIPE: Wiping Files.
* yank: Yanking.
File: git.info, Node: Variable Index, Next: Concept Index, Prev: Command Index, Up: Top
Variable Index
**************
* Menu:
* AnsiColors: Setup.
* CommandLineModeHelp: GIT-Setup.
* ConfirmOnExit: GIT-Setup.
* EDITOR: Environment Variables.
* GIT_COMPRESS: Environment Variables.
* GIT_EDITOR: Environment Variables.
* GIT_RMAIL: Environment Variables.
* GIT_SHELL: Environment Variables.
* GIT_VMSTAT: Environment Variables.
* HistoryFile: GIT-Setup.
* InfoDisplay: GIT-Setup.
* LeadingDotMatch: GIT-Setup.
* NormalModeHelp: GIT-Setup.
* SHELL: Environment Variables.
* StartupFileDisplayMode: GIT-Setup.
* StartupFileSortMethod: GIT-Setup.
* StartupScrollStep: Setup.
* TempDirectory: Setup.
* TERM: Configuration Files.
* TypeSensitivity: GIT-Setup.
* UseLastScreenChar: Setup.