summaryrefslogtreecommitdiff
path: root/links.1
blob: 0c3f7fa1443ae21ec7a0dde59a2ecdcae7971823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
.\" Process this file with groff -man -Tascii links.1
.TH LINKS 1 "Aug, 2006"
.SH NAME
links \- lynx-like alternative character mode WWW browser
.SH SYNOPSIS
.B links
.I "[options] URL"
.SH DESCRIPTION
.B links
is a text mode WWW browser with ncurses interface, supporting
colors, correct table rendering, background downloading, menu
driven configuration interface and slim code.
.P 
Frames are supported. You can have different file formats 
associated with external viewers. mailto: and telnet:
are supported via external clients.
.P
.I links
can handle local (file://) or remote (http:// or ftp://) URLs.
.PP

.SH OPTIONS
Most options can be set in the user
interface or config file, so usually you do not need to care about them.

.TP
\f3-g\f1
Run Links in graphics mode. If not given, Links will run in text mode.
Running in graphics mode means that Links will probe all compiled-in graphics
devices and run on the first found. If none found, links will not run in
graphics mode. This option works only if --enable-graphics was given
to ./configure.

.TP
\f3-no-g\f1
Run in text mode (overrides previous -g).

.TP
\f3-driver \f2<driver name>\f1
Graphics driver to use. Drivers are: x, svgalib, fb, directfb, pmshell,
atheos.
List of drivers will be shown if you give it an unknown driver.
Available drivers depend on your operating system and available libraries.

.TP
\f3-mode \f2<parameter>\f1
Pass a parameter to the graphics driver. On SVGAlib, this is widthxheightxdepth,
(where depth is 16, 256, 32K, 64K, 16M or 16M32) and defines the graphics mode, on X the format is WIDTHxHEIGHT and defines the
window size.

.TP
\f3-display \f2<x-display>\f1
Set Xwindow display.

.TP
\f3-force-html\f1
Treat files with unknown type as html rather than text.
(can be toggled with '\\' key)

.TP
\f3-source \f2<url>\f1
Write unformatted data stream to stdout.

.TP
\f3-dump \f2<url>\f1
Write formatted document to stdout.

.TP
\f3-width \f2<number>\f1
For dump, document will be formatted to this screen width (but it can still
exceed it if lines can't be broken).

.TP
\f3-codepage \f2<codepage>\f1
For dump, convert output to specified character set --
for eaxmple iso-8859-2, windows-1250.

.TP
\f3-anonymous\f1
Restrict links so that it can run on an anonymous account.
No local file browsing. No downloads. Executing of viewers
is allowed, but user can't add or modify entries in
association table.

.TP
\f3-no-connect\f1
Runs links as a separate instance - instead of connecting to
existing instance.

.TP
\f3-max-connections \f2<max>\f1
Maximum number of concurrent connections.
(default: 10)

.TP
\f3-max-connections-to-host \f2<max>\f1
Maximum number of concurrent connection to a given host.
(default: 2)

.TP
\f3-retries \f2<retry>\f1
Number of retries.
(default: 3)

.TP
\f3-receive-timeout \f2<sec>\f1
Timeout on receive.
(default: 120)

.TP
\f3-unrestartable-receive-timeout \f2<sec>\f1
Timeout on non restartable connections.
(default: 600)

.TP
\f3-bind-address \f2<ip address>\f1
Use a specific local IP address.

.TP
\f3-async-dns \f2<0>/<1>\f1
Asynchronous DNS resolver on(1)/off(0). 

.TP
\f3-download-utime \f2<0>/<1>\f1
Set time of downloaded files to last modification time reported by server.

.TP
\f3-format-cache-size \f2<num>\f1
Number of formatted document pages cached.
(default: 5)

.TP
\f3-memory-cache-size \f2<bytes>\f1
Cache memory in Kilobytes.
(default: 1024)

.TP
\f3-image-cache-size \f2<bytes>\f1
Cache memory in Kilobytes.
(default: 1024)

.TP
\f3-http-proxy \f2<host:port>\f1
Host and port number of the HTTP proxy, or blank.
(default: blank)

.TP
\f3-ftp-proxy \f2<host:port>\f1
Host and port number of the FTP proxy, or blank.
(default: blank)

.TP
\f3-socks-proxy \f2<user@host:port>\f1
Userid, host and port of Socks4a, or blank.
(default: blank)

.TP
\f3-append-text-to-dns-lookups \f2<text>\f1
Append text to dns lookups. It is useful for specifying fixed tor exit node.
(default: blank)

.TP
\f3-only-proxies \f2<0>/<1>\f1
"1" causes that Links won't initiate any non-proxy connection.
It is useful for anonymization with tor or similar networks.

.TP
\f3-download-dir \f2<path>\f1
Default download directory.
(default: actual dir)

.TP
\f3-aggressive-cache \f2<0>/<1>\f1
Always cache everything regardless of server's caching recomendations.
Many servers deny caching even if their content is not changing
just to get more hits and more money from ads.

.TP
\f3-language \f2<language>\f1
Set user interface language.

.TP
\f3-http-bugs.http10 \f2<0>/<1>\f1
(default 0) "1" forces using only HTTP/1.0 protocol. (useful for buggy servers
that claim to be HTTP/1.1 compliant but are not)
"0" enables using both HTTP/1.0 and HTTP/1.1.

.TP
\f3-http-bugs.allow-blacklist \f2<0>/<1>\f1
(default 1)
"1" defaults to using list of servers that have broken HTTP/1.1 support.
When links finds such server, it will retry the request with HTTP/1.0.

.TP
\f3-http-bugs.bug-302-redirect \f2<0>/<1>\f1
(default 1)
Process 302 redirect in a way that is incompatible with RFC1945 and RFC2068,
but the same as Netscape and MSIE. Many pages depend on it.

.TP
\f3-http-bugs.bug-post-no-keepalive \f2<0>/<1>\f1
(default 0)
No keepalive connection after post requests. For some buggy servers.

.TP
\f3-http-bugs.bug-no-accept-charset \f2<0>/<1>\f1
(default 0)
Do not send Accept-Charset field of HTTP header. Because it is too long
some servers will deny the request. Other servers will convert content
to plain ascii when Accept-Charset is missing.

.TP
\f3-http-bugs.no-compression \f2<0>/<1>\f1
(default 0) "1" causes that links won't advertise HTTP compression support (but
it will still accept compressed data). Use it when you communicate with server
that has broken compression support.

.TP
\f3-http-bugs.retry-internal-errors \f2<0>/<1>\f1
(default 0)
Retry on internal server errors (50x).

.TP
\f3-http.referer \f2<0>/<1>/<2>/<3>/<4>\f1
(default 0)
0 - do not send referer.
1 - send the requested URL as referer.
2 - send fake referer.
3 - send real referer.
4 - send real referer only to the same server.

.TP
\f3-http.fake-referer \f2<string>\f1
Fake referer value.

.TP
\f3-http.fake-user-agent \f2<string>\f1
Fake user agent value.

.TP
\f3-http.extra-header \f2<string>\f1
Extra string added to HTTP header.

.TP
\f3-ftp.anonymous-password \f2<string>\f1
Password for anonymous ftp access.

.TP
\f3-ftp.use-passive \f2<0>/<1>\f1
Use ftp PASV command to bypass firewalls.

.TP
\f3-ftp.fast \f2<0>/<1>\f1
Send more ftp commands simultaneously. Faster response when
browsing ftp directories, but it is incompatible with RFC
and some servers don't like it.

.TP
\f3-menu-font-size \f2<size>\f1
Size of font in menu.

.TP
\f3-menu-background-color \f20xRRGGBB\f1
Set menu background color in graphics mode. RRGGBB are hex.

.TP
\f3-menu-foreground-color \f20xRRGGBB\f1
Set menu foreground color in graphics mode. RRGGBB are hex.

.TP
\f3-scroll-bar-area-color \f20xRRGGBB\f1
Set color of scroll bar area. RRGGBB are hex.

.TP
\f3-scroll-bar-bar-color \f20xRRGGBB\f1
Set color of scroll bar. RRGGBB are hex.

.TP
\f3-scroll-bar-frame-color \f20xRRGGBB\f1
Set color of scroll bar frame. RRGGBB are hex.

.TP
\f3-display-red-gamma \f2<fp-value>\f1
Red gamma of display. (default 2.2)

.TP
\f3-display-green-gamma \f2<fp-value>\f1
Green gamma of display. (default 2.2)

.TP
\f3-display-blue-gamma \f2<fp-value>\f1
Blue gamma of display. (default 2.2)

.TP
\f3-user-gamma \f2<fp-value>\f1
Additional gamma. (defult 1)

.TP
\f3-bfu-aspect \f2<fp-value>\f1
Display aspect ration.

.TP
\f3-aspect-on \f2<0>/<1>\f1
Enable aspect ratio correction.

.TP
\f3-dither-letters \f2<0>/<1>\f1
Do letter dithering.

.TP
\f3-dither-images \f2<0>/<1>\f1
Do image dithering.

.TP
\f3-display-optimize \f2<0>/<1>/<2>\f1
Optimize for CRT (0), LCD RGB (1), LCD BGR (2).

.TP
\f3-gamma-correction \f2<0>/<1>/<2>\f1
Type of gamma correction:
(default 2)
0 - 8-bit (fast).
1 - 16-bit (slow).
2 - automatically detect according to speed of FPU.

.\".TP
.\"\f3-enable-javascript \f2<0>/<1>\f1
.\"Enable javascript.
.\"
.\".TP
.\"\f3-js.verbose-errors \f2<0>/<1>\f1
.\"Display javascript errors.
.\"
.\".TP
.\"\f3-js.verbose-warnings \f2<0>/<1>\f1
.\"Display javascript warnings.
.\"
.\".TP
.\"\f3-js.enable-all-conversions \f2<0>/<1>\f1
.\"Enable conversions between all types in javascript.
.\"
.\".TP
.\"\f3-js.enable-global-resolution \f2<0>/<1>\f1
.\"Resolve global names.
.\"
.\".TP
.\"\f3-js.manual-confirmation \f2<0>/<1>\f1
.\"Ask user to confirm potentially dangerous operations.
.\"(opening windows, going to url etc.) Default 1.
.\"
.\".TP
.\"\f3-js.recursion-depth \f2<integer>\f1
.\"Depth of javascript call stack.
.\"
.\".TP
.\"\f3-js.memory-limit \f2<memory amount>\f1
.\"Amount of kilobytes the javascript may allocate.
.\"
.TP
\f3-bookmarks-codepage \f2<codepage>\f1
Character set of bookmarks file.

.TP
\f3-bookmarks-file \f2<file>\f1
File to store bookmarks.

.TP
\f3-html-assume-codepage \f2<codepage>\f1
Use the given codepage when the webpage did not specify
its codepage. (default: ISO 8859-1)

.TP
\f3-html-hard-assume \f2<0>/<1>\f1
Use always character set from "-html-assume-codepage" no matter
what server sent.

.TP
\f3-html-tables \f2<0>/<1>\f1
Render tables. (0) causes tables being rendered like in lynx.

.TP
\f3-html-frames \f2<0>/<1>\f1
Render frames. (0) causes frames  rendered like in lynx.

.TP
\f3-html-images \f2<0>/<1>\f1
Display links to unnamed images as [IMG]

.TP
\f3-html-image-names \f2<0>/<1>\f1
Display filename of an image instead of [IMG].

.TP
\f3-html-display-images \f2<0>/<1>\f1
Display images in graphics mode.

.TP
\f3-html-image-scale \f2<percent>\f1
Scale images in graphics mode.

.TP
\f3-html-bare-image-autoscale \f2<0>/<1>\f1
Autoscale images displayed in full screen.

.TP
\f3-html-numbered-links \f2<0>/<1>\f1
Number links in text mode. Allow quick link selection by typing
link number and enter.

.TP
\f3-html-table-order \f2<0>/<1>\f1
In text mode, walk through table by rows (0) or columns (1).

.TP
\f3-html-auto-refresh \f2<0>/<1>\f1
Process refresh to other page (1), or display link to that page (0).

.TP
\f3-html-target-in-new-window \f2<0>/<1>\f1
Allow opening new windows from html.

.TP
\f3-html-margin \f2<number of spaces>\f1
Margin in text mode.

.TP
\f3-html-user-font-size \f2<size>\f1
Size of font on pages in graphics mode.

.TP
\f3-html-t-text-color \f2<0>-<15>\f1
Text color in text mode.

.TP
\f3-html-t-link-color \f2<0>-<15>\f1
Link color in text mode.

.TP
\f3-html-t-background-color \f2<0>-<7>\f1
Background color in text mode.

.TP
\f3-html-t-ignore-document-color \f2<0>/<1>\f1
Ignore colors specified in html document in text mode.

.TP
\f3-html-g-text-color \f20xRRGGBB\f1
Text color in graphics mode.

.TP
\f3-html-g-link-color \f20xRRGGBB\f1
Link color in graphics mode.

.TP
\f3-html-g-background-color \f20xRRGGBB\f1
Background color in graphics mode.

.TP
\f3-html-g-ignore-document-color \f2<0>/<1>\f1
Ignore colors specified in html document in graphics mode.

.TP
\f3-lookup \f2<hostname>\f1
Does name lookup, like command "host".

.TP
\f3-version\f1
Prints the 
.I links
version number and exit.

.TP
\f3-help\f1
Printf a help screen

.PP
More options can be seen with links -h

.SH NAVIGATION KEYS
The keys you may use while navigating are
.TP
.B ESC
menu/escape
.TP
.B F9
menu
.TP
.B F10
file menu
.TP
.B TAB
next frame
.TP
.B PGDN
page down
.TP
.B Space
page down
.TP
.B PGUP
page up
.TP
.B b
page up
.TP
.B B
page up
.TP
.B CursorDOWN
next link/down (text mode), scroll down (graphics mode)
.TP
.B CursorUP
prev link/up (text mode), up (graphics mode)
.TP
.B ^INS
copy to clipboard
.TP
.B ^C
copy to clipboard (OS/2 only)
.TP
.B INS
scroll up (text mode only)
.TP
.B ^P
scroll up
.TP
.B DEL
scroll down
.TP
.B ^N
scroll down
.TP
.B [
scroll left
.TP
.B ]
scroll right
.TP
.B HOME
home
.TP
.B END
end of page
.TP
.B CursorRIGHT
enter link/press button (text mode), scroll right (graphics mode)
.TP
.B ENTER
enter link/press button
.TP
.B CursorLEFT
go back (text mode), scroll left (graphics mode)
.TP
.B d
download link (text mode only)
.TP
.B D
download link (text mode only)
.TP
.B /
search in the page
.TP
.B ?
search back in the page
.TP
.B n
find next match
.TP
.B N
find next match backwards
.TP
.B f
zoom actual frame
.TP
.B F
zoom actual frame
.TP
.B ^R
reload page
.TP
.B g
go to URL
.TP
.B G
edit the current URL and goto the result
.TP
.B s
bookmark manager
.TP
.B S
bookmark manager
.TP
.B q
quit, close window if more windows are open
.TP
.B Q
quit, close window if more windows are open
.TP
.B =
document informations
.TP
.B \e
toggle HTML source/rendered view

.SH EDITING KEYS
The following keys can be used while editing a line/jumping to a URL:
.TP
.B CursorRIGHT
move right
.TP
.B CursorLEFT
move left
.TP
.B HOME
jump at the beginning
.TP
.B ^A
jump at the beginning
.TP
.B END
jump at the end
.TP
.B ^E
jump at the end
.TP
.B ^X
cut to clipboard
.TP
.B ^V
paste from clipboard
.TP
.B ENTER
enter line
.TP
.B BACKSPACE
delete back character
.TP
.B ^H
delete back character
.TP
.B DEL
delete character
.TP
.B ^D
delete character
.TP
.B ^U
delete from beginning of the line
.TP
.B ^K
delete to the end of the line or delete line (in textarea)
.TP
.B ^W
auto complete line





.SH FILES
.TP
.IP "~/.links/links.cfg"
Per-user configfile, automatically created by
.B links.
.SH PLATFORMS
.B links
is known to work on Linux, FreeBSD, Solaris, IRIX, HPUX, Digital Unix, AIX,
OS/2 and BeOS.
Port for Win32 is in state of beta testing.
.SH BUGS
You can't upload large files; it takes _lots_ of memory.
.PP
Please report any other bugs you find to Mikulas Patocka
<mikulas@artax.karlin.mff.cuni.cz>

.SH LICENSE
.B links
is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

.SH AUTHOR
.I links
was written by 
.B Mikulas Patocka, Karel 'Clock' Kulhavy, Petr 'Brain' Kulhavy, and Martin 'PerM' Pergel.
See file 
.I AUTHORS
for a list of people contributing to this project.
.P
The homepage of links can be found at
.BI http://atrey.karlin.mff.cuni.cz/~clock/twibright/links
.P
This manual page was written by Peter Gervai <grin@tolna.net>,
using excerpts from a (yet?) unknown
.I links
fan
for the Debian GNU/Linux system (but may be used by others). Updated by Karel Kulhavy.

.SH "SEE ALSO"
.BR lynx (1),
.BR w3m (1)