|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Alexey Shaposhnikov 2:5092/1 20 Jan 2002 13:02:02 To : Zahar Kiselev Subject : Re: lynx? -------------------------------------------------------------------------------- >>>>> "ZK" == Zahar Kiselev writes: ZK> Можно ли lynx заставить запускать внешнюю программу и передавать ей ZK> URL? Хотелось бы wget прикрутить для закачки в фоновом режиме. А то ZK> пока оно качает - приходится сидеть и смотреть на циферки. .h2 EXTERNAL # External application support. This feature allows Lynx to pass a given # URL to an external program. It was written for three reasons. # # 1) To overcome the deficiency of Lynx_386 not supporting ftp and news. # External programs can be used instead by passing the URL. # # 2) To allow for background transfers in multitasking systems. I use wget # for http and ftp transfers via the external command. # # 3) To allow for new URLs to be used through Lynx. # URLs can be made up such as mymail: to spawn desired applications # via the external command. # # Restrictions can be imposed using -restrictions=externals at the Lynx # command line. This will disallow all EXTERNAL lines in lynx.cfg that # have FALSE in the 3rd field (not counting the name of the setting). TRUE # lines will still function. # # The lynx.cfg line is as follows: # # EXTERNAL:<url>:<command> %s:<norestriction>:<allow_for_activate> # # <url> Any given URL. This can be normal ones like ftp or http or it can # be one made up like mymail. # # <command> The command to run with %s being the URL that will be passed. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for # downloading http and ftp files in the background. In Win95 I use "start # ncftp %s" to spawn ncftp in a new window. # # <norestriction> This complements the -restrictions=externals feature to # allow for certain externals to be enabled while restricting others. TRUE # means a command will still function while Lynx is restricted. WB # # <allow_for_activate> Setting this to TRUE allows the use of this command # not only when EXTERN key is pressed, but also when ACTIVATE command is # invoked (i.e activating the link with the given prefix will be equivalent # to pressing EXTERN key on it). If this component of the line is absent, # then FALSE is assumed. # # For invoking the command use the EXTERN key. By default it is mapped to # '.' (if the feature is enabled), see the KEYMAP section above. # #EXTERNAL:ftp:wget %s &:TRUE P.S. Есть что-нибудь для _автоматической_ разводки плат под эхотаг? -- С уважением, поганый атеист, недобитый коммуняка и поклонник эсэсовца Геральта --- Алексей Шапошников. Вторая Сурвивалгайдская дивизия готовится к ядерной зиме. (Галерея герцога с "Бофорсом". Цикл "Хроники SURVIVAL.GUIDE") --- Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp (candidate 1)) * Origin: TSS <<Warrrawoona>> (2:5092/1.0) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/69156add8f382.html, оценка из 5, голосов 10
|