1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Merge pull request #113 from sgerwk/master

document the option for running an external program in the foreground
This commit is contained in:
rkd77 2021-03-31 11:33:00 +02:00 committed by GitHub
commit fe2d4e26a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1050,11 +1050,12 @@ document\&.plain\&.compress_empty_lines \fB[0|1]\fR (default: 0)
Compress successive empty lines to only one in displayed text\&. Compress successive empty lines to only one in displayed text\&.
.RE .RE
.SS "document\&.uri_passing (URI passing)" .SS "document\&.uri_passing (URI passing)"
Rules for passing URIs to external commands\&. When one rule is defined the link and tab menu will have a menu item that makes it possible to pass the the link, frame or tab URI to an external command\&. If several rules are defined the link and tab menu will have a submenu of items for each rule\&. Rules for passing URIs to external commands\&. When one rule is defined the link and tab menu will have a menu item that makes it possible to pass the link, frame or tab URI to an external command\&. If several rules are defined the link and tab menu will have a submenu of items for each rule\&. The commands are also available by binding keys to the frame-external-command, the link-external-command and the tab-external-command actions\&.
.sp .RE
Note, this is mostly useful for launching graphical viewers, since there is no support for releasing the terminal while the command runs\&. The action and submenus are also available by binding keys to the frame\-external\-command, the link\-external\-command, and the tab\-external\-command actions\&. .SS "document\&.uri_passing\&._template_ (URI passing)"
Definition of an external program that can be passed URIs.
.PP .PP
document\&.uri_passing\&._template_ \fB<str>\fR (default: "") document\&.uri_passing\&._template_\&.command \fB<str>\fR (default: "")
.RS 4 .RS 4
A rule for passing URI to an external command\&. The format is: A rule for passing URI to an external command\&. The format is:
.sp .sp
@ -1065,11 +1066,16 @@ A rule for passing URI to an external command\&. The format is:
.RS 4 .RS 4
\h'-04'\(bu\h'+03'%% in the string means \'%\' \h'-04'\(bu\h'+03'%% in the string means \'%\'
.RE .RE
.IP "" 4 .PP
Do Do
\fBnot\fR \fBnot\fR
put single\- or double\-quotes around %c\&. put single\- or double\-quotes around %c\&.
.RE .RE
.PP
document\&.uri_passing\&._template_\&.foreground (default: 0)
.RS 4
External commands run in the background by default: elinks is still active, and they do not receive standard input. This suboption allows reverses this behaviour: the command receives standard input and elinks is blocked.
.RE
.SS "ecmascript (ECMAScript)" .SS "ecmascript (ECMAScript)"
ECMAScript options\&. ECMAScript options\&.
.PP .PP