ncdc 1.5 and ncdu 1.8 released + minor changes
This commit is contained in:
parent
399409e038
commit
11b3f1be5a
5 changed files with 128 additions and 78 deletions
56
dat/ncdc-man
56
dat/ncdc-man
|
|
@ -139,11 +139,17 @@ INTERACTIVE COMMANDS
|
|||
This command may take some time to complete, and will fully block ncdc
|
||||
while it is running. You won't have to perform this command very often.
|
||||
|
||||
/grant [<user>]
|
||||
/grant [-list|<user>]
|
||||
Grant someone a slot. This allows the user to download from you even if
|
||||
you have no free slots. The slot will be granted for as long as ncdc
|
||||
stays open. If you restart ncdc, the user will have to wait for a regular
|
||||
slot. Unless, of course, you /grant a slot again.
|
||||
stays open or the /ungrant command is used. If you restart ncdc, the user
|
||||
will have to wait for a regular slot. Unless, of course, you /grant a
|
||||
slot again.
|
||||
|
||||
To get a list of users whom you have granted a slot, use `/grant' without
|
||||
arguments or with `-list'. Be warned that using `/grant' without argu‐
|
||||
ments on a PM tab will grant the slot to the user you are talking with.
|
||||
Make sure to use `-all' in that case.
|
||||
|
||||
Note that a granted slot is specific to a single hub. If the same user is
|
||||
also on other hubs, he/she will not be granted a slot on those hubs.
|
||||
|
|
@ -269,6 +275,9 @@ INTERACTIVE COMMANDS
|
|||
name you give it will be public. An initial `/refresh' is done automati‐
|
||||
cally on the added directory.
|
||||
|
||||
/ungrant [<username>|<id>]
|
||||
Revoke a granted slot.
|
||||
|
||||
/unset [<key>]
|
||||
This command can be used to reset a configuration variable back to its
|
||||
default value.
|
||||
|
|
@ -427,6 +436,24 @@ SETTINGS
|
|||
KOI8-R (Cyrillic)
|
||||
UTF-8 (International)
|
||||
|
||||
filelist_maxage <interval>
|
||||
The maximum age of a downloaded file list. If a file list was downloaded
|
||||
longer ago than the configured interval, it will be removed from the
|
||||
cache (the fl/ directory) and subsequent requests to open the file list
|
||||
will result in the list being downloaded from the user again. Recognized
|
||||
suffices are 's' for seconds, 'm' for minutes, 'h' for hours and 'd' for
|
||||
days. Set to 0 to disable the cache altogether.
|
||||
|
||||
flush_file_cache <boolean>
|
||||
Tell the OS to flush the file (disk) cache for file contents read while
|
||||
hashing and uploading. On one hand, this will avoid trashing your disk
|
||||
cache with large files and thus improve the overall responsiveness of
|
||||
your system. On the other hand, ncdc may purge any shared files from the
|
||||
cache, even if they are still used by other applications. In general, it
|
||||
is a good idea to enable this if you also use your system for other
|
||||
things besides ncdc, you share large files (>100MB) and people are not
|
||||
constantly downloading the same file from you.
|
||||
|
||||
hubname <string>
|
||||
The name of the currently opened hub tab. This is a user-assigned name,
|
||||
and is only used within ncdc itself. This is the same name as given to
|
||||
|
|
@ -595,7 +622,8 @@ KEY BINDINGS
|
|||
i/Return Toggle user list.
|
||||
r Remove selected user for this file.
|
||||
R Remove selected user from all files in the download queue.
|
||||
x Clear error state for the selected user.
|
||||
x Clear error state for the selected user for this file.
|
||||
X Clear error state for the selected user for all files.
|
||||
|
||||
Note: when an item in the queue has `ERR' indicated in the priority col‐
|
||||
umn, you have two choices: You can remove the item from the queue using
|
||||
|
|
@ -609,6 +637,7 @@ KEY BINDINGS
|
|||
End/Home Select last/first item in the list.
|
||||
f Find user in user list.
|
||||
b/B Browse the selected users' list, B to force a redownload.
|
||||
d Add selected file to the download queue.
|
||||
h Toggle hub column visibility.
|
||||
u Order by username.
|
||||
s Order by file size.
|
||||
|
|
@ -616,6 +645,8 @@ KEY BINDINGS
|
|||
n Order by file name.
|
||||
m Match selected item with the download queue.
|
||||
M Match all search results with the download queue.
|
||||
q Match selected users' list with the download queue.
|
||||
Q Match all matched users' lists with the download queue.
|
||||
a Search for alternative download sources.
|
||||
|
||||
User list tab
|
||||
|
|
@ -670,7 +701,8 @@ FILES
|
|||
$NCDC_DIR/fl/
|
||||
Directory where downloaded file lists from other users are stored. The
|
||||
names of the files are hex-encoded user IDs that are used internally by
|
||||
ncdc. Old file lists are deleted automatically after one week.
|
||||
ncdc. Old file lists are deleted automatically after a configurable
|
||||
interval. See the `filelist_maxage' configuration option.
|
||||
|
||||
$NCDC_DIR/hashdata.dat
|
||||
File information and hash data for shared files.
|
||||
|
|
@ -679,17 +711,17 @@ FILES
|
|||
Command history.
|
||||
|
||||
$NCDC_DIR/inc/
|
||||
Default location for incomplete downloads. Can be changed with the
|
||||
Default location for incomplete downloads. Can be changed with the
|
||||
`incoming_dir' setting. The file names in this directory are the
|
||||
base32-encoded TTH root of the completed file.
|
||||
|
||||
$NCDC_DIR/logs/
|
||||
Directory where all the log files are stored. File names starting with
|
||||
Directory where all the log files are stored. File names starting with
|
||||
`#' are hub logs and `~' are user (PM) logs. Special log files are trans‐
|
||||
fers.log and main.log.
|
||||
ncdc does not have built-in functionality to rotate or compress log files
|
||||
automatically. When rotating log files manually (e.g. via a cron job),
|
||||
make sure to send the SIGUSR1 signal afterwards to force ncdc to flush
|
||||
automatically. When rotating log files manually (e.g. via a cron job),
|
||||
make sure to send the SIGUSR1 signal afterwards to force ncdc to flush
|
||||
the old logs and create or open the new log files.
|
||||
|
||||
$NCDC_DIR/stderr.log
|
||||
|
|
@ -697,7 +729,7 @@ FILES
|
|||
|
||||
$NCDC_DIR/version
|
||||
Version of the data directory. This file locked while an ncdc instance is
|
||||
running, making sure that no two ncdc instances work with the same ses‐
|
||||
running, making sure that no two ncdc instances work with the same ses‐
|
||||
sion directory at the same time.
|
||||
|
||||
|
||||
|
|
@ -708,7 +740,7 @@ LICENSE
|
|||
|
||||
|
||||
BUGS
|
||||
Please report bugs or feature requests to projects@yorhel.nl or connect to the
|
||||
Please report bugs or feature requests to projects@yorhel.nl or connect to the
|
||||
development hub at adc://dc.blicky.net:2780/.
|
||||
|
||||
|
||||
|
|
@ -722,4 +754,4 @@ SEE ALSO
|
|||
|
||||
|
||||
|
||||
ncdc-1.4 October 2011 ncdc(1)
|
||||
ncdc-1.5 November 2011 ncdc(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue