mirror of https://github.com/MidnightCommander/mc
Make it clear that the commas are not parts of the keywords for listing
mode definition. Don't use commas in the examples. Move "mark" closer to "type" - it's not used for purely layout purposes.
This commit is contained in:
parent
85f55fe291
commit
a13a588ba8
103
doc/mc.1.in
103
doc/mc.1.in
|
@ -639,11 +639,11 @@ options dialog).
|
||||||
.SH " Listing Mode..."
|
.SH " Listing Mode..."
|
||||||
The listing mode view is used to display a listing of files, there are
|
The listing mode view is used to display a listing of files, there are
|
||||||
four different listing modes available:
|
four different listing modes available:
|
||||||
.B Full,
|
.BR Full ,
|
||||||
.B Brief,
|
.BR Brief ,
|
||||||
.B Long
|
.B Long
|
||||||
and
|
and
|
||||||
.B User.
|
.BR User .
|
||||||
The full directory view shows the file name, the size of the file and
|
The full directory view shows the file name, the size of the file and
|
||||||
the modification time.
|
the modification time.
|
||||||
.PP
|
.PP
|
||||||
|
@ -666,20 +666,20 @@ string.
|
||||||
.PP
|
.PP
|
||||||
After this you add the name of the fields with an optional size
|
After this you add the name of the fields with an optional size
|
||||||
specifier. This are the available fields you may display:
|
specifier. This are the available fields you may display:
|
||||||
.PP
|
.TP
|
||||||
.B name,
|
.B name
|
||||||
displays the file name.
|
displays the file name.
|
||||||
.PP
|
.TP
|
||||||
.B size,
|
.B size
|
||||||
displays the file size.
|
displays the file size.
|
||||||
.PP
|
.TP
|
||||||
.B bsize,
|
.B bsize
|
||||||
is an alternative form of the
|
is an alternative form of the
|
||||||
.B size
|
.B size
|
||||||
format. It displays the size of the files and for directories it just
|
format. It displays the size of the files and for directories it just
|
||||||
shows SUB-DIR or UP--DIR.
|
shows SUB-DIR or UP--DIR.
|
||||||
.PP
|
.TP
|
||||||
.B type,
|
.B type
|
||||||
displays a one character field type. This character is similar to
|
displays a one character field type. This character is similar to
|
||||||
what is displayed by ls with the -F flag -
|
what is displayed by ls with the -F flag -
|
||||||
.B *
|
.B *
|
||||||
|
@ -700,73 +700,76 @@ for pipes,
|
||||||
for symbolic links to directories and
|
for symbolic links to directories and
|
||||||
.B !
|
.B !
|
||||||
for stale symlinks (links that point nowhere).
|
for stale symlinks (links that point nowhere).
|
||||||
.PP
|
.TP
|
||||||
.B mtime,
|
.B mark
|
||||||
|
an asterisk if the file is tagged, a space if it's not.
|
||||||
|
.TP
|
||||||
|
.B mtime
|
||||||
file's last modification time.
|
file's last modification time.
|
||||||
.PP
|
.TP
|
||||||
.B atime,
|
.B atime
|
||||||
file's last access time.
|
file's last access time.
|
||||||
.PP
|
.TP
|
||||||
.B ctime,
|
.B ctime
|
||||||
file's creation time.
|
file's creation time.
|
||||||
.PP
|
.TP
|
||||||
.B perm,
|
.B perm
|
||||||
a string representing the current permission bits of the file.
|
a string representing the current permission bits of the file.
|
||||||
.PP
|
.TP
|
||||||
.B mode,
|
.B mode
|
||||||
an octal value with the current permission bits of the file.
|
an octal value with the current permission bits of the file.
|
||||||
.PP
|
.TP
|
||||||
.B nlink,
|
.B nlink
|
||||||
the number of links to the file.
|
the number of links to the file.
|
||||||
.PP
|
.TP
|
||||||
.B ngid,
|
.B ngid
|
||||||
the GID (numeric).
|
the GID (numeric).
|
||||||
.PP
|
.TP
|
||||||
.B nuid,
|
.B nuid
|
||||||
the UID (numeric).
|
the UID (numeric).
|
||||||
.PP
|
.TP
|
||||||
.B owner,
|
.B owner
|
||||||
the owner of the file.
|
the owner of the file.
|
||||||
.PP
|
.TP
|
||||||
.B group,
|
.B group
|
||||||
the group of the file.
|
the group of the file.
|
||||||
.PP
|
.TP
|
||||||
.B inode,
|
.B inode
|
||||||
the inode of the file.
|
the inode of the file.
|
||||||
.PP
|
.PP
|
||||||
Also you may use these field names for arranging the display:
|
Also you can use following keywords to define the panel layout:
|
||||||
.PP
|
.TP
|
||||||
.B space,
|
.B space
|
||||||
a space in the display format.
|
a space in the display format.
|
||||||
.PP
|
.TP
|
||||||
.B mark,
|
.B |
|
||||||
An asterisk if the file is tagged, a space if it's not.
|
add a vertical line to the display format.
|
||||||
.PP
|
|
||||||
.B |,
|
|
||||||
This character is used to add a vertical line to the display format.
|
|
||||||
.PP
|
.PP
|
||||||
To force one field to a fixed size (a size specifier), you just add
|
To force one field to a fixed size (a size specifier), you just add
|
||||||
a ':' and then the number of characters you want the field to have, if
|
.B :
|
||||||
the number is followed by the symbol '+', then the size specifies the
|
followed by the number of characters you want the field to have. If the
|
||||||
minimum field size, if the program finds out that there is more space
|
number is followed by the symbol
|
||||||
on the screen, it will then expand this field.
|
.BR + ,
|
||||||
|
then the size specifies the minimal field size - if the program finds
|
||||||
|
out that there is more space on the screen, it will then expand that
|
||||||
|
field.
|
||||||
.PP
|
.PP
|
||||||
For example, the
|
For example, the
|
||||||
.B Full
|
.B Full
|
||||||
display corresponds to this format:
|
display corresponds to this format:
|
||||||
.PP
|
.PP
|
||||||
half type,name,|,size,|,mtime
|
half type name | size | mtime
|
||||||
.PP
|
.PP
|
||||||
And the
|
And the
|
||||||
.B Long
|
.B Long
|
||||||
display corresponds to this format:
|
display corresponds to this format:
|
||||||
.PP
|
.PP
|
||||||
full perm,space,nlink,space,owner,space,group,space,size,space,
|
full perm space nlink space owner space group space size space mtime
|
||||||
mtime,space,name
|
space name
|
||||||
.PP
|
.PP
|
||||||
This is a nice user display format:
|
This is a nice user display format:
|
||||||
.PP
|
.PP
|
||||||
half name,|,size:7,|,type,mode:3
|
half name | size:7 | type mode:3
|
||||||
.PP
|
.PP
|
||||||
Panels may also be set to the following modes:
|
Panels may also be set to the following modes:
|
||||||
.TP
|
.TP
|
||||||
|
|
Loading…
Reference in New Issue