Plan 9 from Bell Labs’s /usr/web/sources/contrib/anothy/lib/man/lynx2txt.1

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH lynx2txt 1
.SH NAME
lynx2txt, sendurl, web \- tools for dealing with the web
.SH SYNOPSIS
.B lynx2txt
.I url
[
.I url ...
]
.PP
.B sendurl
.I url
[
.I url ...
]
.PP
.B web
.I url
[
.I url ...
]
.SH DESCRIPTION
.PP
Given one or more
.IR url s,
.I lynx2txt
will instruct the plumber to open a new editor window for
each with a text representation of the contents.
.PP
.B Sendurl
sends one or more
.IR url s
to
.IR prowl ,
which will normally have the effect of delivering them to
associated OS X or iOS devices for viewing. This is useful in
plumbing rules or to set as
.IR $browser
for applications that expect it.
.PP
.B Web
will write one or more
.IR url s
to
.B /mnt/term/tmp/open.fifo
if it exists, and if not call
.I $browser
if it is set or
.I lynx2txt
(described above) if not. The fifo file is typically provided by
a drawterm connection having executed something like this:
.EX
	mkfifo /tmp/open.fifo
	while () {open `{cat /tmp/open.fifo}}
.EE
or the local equivalent to get things opened by the calling
system. The effect is to make plumbed URLs open in the
default browser of the calling host.

.SH SOURCE
.B /n/sources/contrib/anothy/bin/rc/lynx2txt
.B /n/sources/contrib/anothy/bin/rc/sendurl
.B /n/sources/contrib/anothy/bin/rc/web

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].