nanodc
Content
Installation
Debian/Ubuntu
Dependencies: bz2, ncursesw pkg-config, scons, zlib libsigc++ 2.0, glib 2.0, openssl (install development packages)
Debian/Ubuntu users can install everything needed with apt-get:
- apt-get install libbz2-dev libncursesw5-dev pkg-config scons zlib1g-dev libsigc++-2.0-dev libglib2.0-dev libssl-dev
Get the source with subversion, change to correct directory and compile.
- svn co https://svn.sourceforge.net/svnroot/nanodc
- wget http://pouserinet.be/nanodc-0.3.2.tar.gz && tar -xzf nanodc-0.3.2.tar.gz
- cd nanodc-0.3/trunk/src/
- scons
Try it.
- ./nanodc
Gentoo
- Set up the Gentoo Sunrise overlay (instructions at http://www.gentoo-sunrise.org/sunrise)
- emerge nanodc
Crash?
It's a feature.
- Compile with debug flags (scons debug=1)
- gdb nanodc
- run
- (crash)
- thread apply all bt full
- pastebin.ca
- include steps to reproduce
Deadlock?
- (Compile with debug flags (scons debug=1))
- $ cat ~/.dc++/.pid
[number] - gdb
- attach [number]
- thread apply all bt full
- pastebin.ca
User guide
Any window
| Key | Description |
|---|---|
| ^C | Close the window |
Public hubs
| Key | Description |
|---|---|
| f | Add to favorites |
| c | Connect |
| s | Sort items |
| h | Set the number of the hublist to download |
| d | Download the hub list |
Filtering hubs
| Key | Description |
|---|---|
| s | Description |
| a | Address |
| u | Users |
| m | Maximum share |
| n | Minimum share |
Favorite hubs
| Key | Description |
|---|---|
| c | Connect to the hub |
| d | Delete the hub |
| D | Delete the hub without confirmation |
| e | Edit the selected hub |
| n | Add a new favorite hub |
| <space> | Toggle autoconnect |
Search
| Key | Description |
|---|---|
| d | Download selected item |
| D | Download selected item to a specific folder |
| s | Download directory |
| S | Download directory to |
| b | Browse user |
| M | Match queue |
| r | Search |
Search result filtering
| Key | Description |
|---|---|
| l | Toggle free slots-only results |
| n | Minimum size |
| m | Maximum size |
| e | File extension |
| f | Textual filter |
| c | Clear search results |
Commands
| Command | Parameters | Description |
|---|---|---|
| clear | Clear the screen. | |
| connect | hub [nick] [password] [description] | Connect to a hub |
| dcset | [key [value]] | You can view or change DC++ core settings with /dcset command. /dcset without any arguments displays all the settings. /dcset <key> <value> sets <key> to <value> |
| disconnect | hub | Disconnect hub |
| fav | [hub] | Add a favorite hub |
| help | command | View the help of command |
| motd | Print information about shared files, nanodc version and connection settings (executed when nanodc is started) | |
| msg | nick | Send a private message to user |
| nick | nick | Change the default nick |
| open | favorites|hublist|transfers | |
| reconnect | hub | Reconnect to hub |
| refresh | Refresh shared files list | |
| search | string | Search files |
| share | virtual_name /path/to/directory | Share a directory |
| set | [key [value]] | You can view or change nanodc settings with /set command. /set without any arguments displays all the settings. /set <key> <value> sets <key> to <value> |
| slots | [n] | View or change the number of open upload slots |
| unshare | virtual_name | Unshare a directory |
| quit | Quit | |
| wc | Close current window |
Configuration
~/.dc++/.nanodcrc
Example of ~/.dc++/.nanodcrc file:
# ~/.dc++/.nanodcrc
# block the message if the first line includes
block_messages = http://;www.
block_from_friends = false
# save the file every time something is edited
# otherwise it will be saved on exit
save_on_edit = true
# whether to show joins and parts on main chat or not
show_joins = false
# show joins on these hubs
show_joins_hubs = myhub;otherhub.no-ip.info
show_joins_nicks =
# ignore all messages from these nicks
ignore_nicks =
# figure it out, sherlock
hilight_words = nanodc;xcow
# timestamp format
timestamp_format = %H:%M:%S
# /command or :command
command_char = /
# whether or not to show nicklist when joined to the hub
show_nicklist = true
# true: [17:10:01] -!- Kyösti [dyn63-253.dsl.spy.dnainternet.fi] has left the hub
# false: [17:10:01] -!- Kyösti [83.102.63.253] has left the hub
resolve_ips = true
# how many lines to save in private message/hub windows
lastlog_size = 1000
DC++ core configuration
String settings
| Setting | Explanation |
|---|---|
| speed | Your upload speed (MiBits/s) |
| description | Your description |
| dl_dir | Download directory |
| Your email address | |
| ext_ip | External IP-address |
| http_proxy | Proxy for HTTP connections |
| log_dir | Log directory |
| temp_dir | Temporary download directory |
| bind_address | If you need it you know what it does |
| socks_server | |
| socks_user | |
| socks_password |
Integer settings
| Setting | Explanation |
|---|---|
| connection |
|
| tcp_port | Port for TCP connections |
| udp_port | |
| rollback | Rollback size |
| share_hidden | Share hidden files? (0/1) |
| auto_search | ? (0/1) |
| buffer_size | ? |
| down_slots | Number of download slots 0 = infinite |
| down_speed | No new downloads if speed exceeds this (KiB/s, 0 = disable) |
| up_speed | Automatically open an extra slot if speed is below this (KiB/s, 0 = disable) |
| socks_port | |
| socks_resolve | ? |
| keep_lists | Don't delete file lists when exiting |
| compress_transfers | 0/1 |
| max_compression | ? |
| anti_frag | 0/1 |
| skip_zero_byte | Skip zero byte files |
| auto_search_auto_match | ? |
| max_hash_speed | MiB/s? |
| add_finished | Share finished files instantly |
| dont_dl_shared | Don't download already shared files |
| advanced_resume | ? |
| minislot_size | |
| max_filelist | Maximum size of filelist |
| socket_read_buffer | Bytes |
| socket_write_buffer | Bytes |
| dl_tth_only | Download only files with TTH |
| refresh_time | minutes |