aboutsummaryrefslogtreecommitdiff
path: root/help/urlm_wget_extensions
blob: ec87f9cb02df4386e8fda6781b32dbcdd48795ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Setting: URLM_WGET_EXTENSIONS (default: tar zip atr bas xex exe dcm car z gz torrent)

Space-separated list of filename extensions. When /urlm_open is used on
a URL ending in one of these, the file will be downloaded with wget,
running in an irssi window. To disable wget, you may set this list to
an empty string, or use one of your defined browsers to open such files.

If you want to use wget without running it in an irssi window, clear the
extension list, then define a browser like so:

# download in background (no controlling terminal, no progress reports)
/urlm_add_browser dl:Download with wget:wget -b '%s'

# download in new screen window (irssi must be running under GNU screen)
/urlm_add_browser dl:Download with wget:screen wget '%s'

# download in new X window (irssi must be running under X)
/urlm_add_browser dl:Download with wget:xterm -e "wget '%s';echo 'press Enter to close window';read junk"

Note that you may not define a browser tag as 'wget' (the examples above
all use 'dl' instead).