Jude DaShiell <[email protected]> wrote: > Is external menu in lynx.cfg too?
Yes. Some examples: # http EXTERNAL_MENU:http:Download YouTube video:youtube-dl -q --no-warnings %s &:TRUE EXTERNAL_MENU:http:Download YouTube audio:youtube-dl -x -q --no-warnings %s &:TRUE EXTERNAL_MENU:http:Open in graphical browser:open %s &:TRUE # ftp EXTERNAL_MENU:ftp:Download with curl:curl -O -L -s -f %s &:TRUE EXTERNAL_MENU:ftp:Copy ftp url:printf %s | pbcopy :TRUE # git EXTERNAL_MENU:git:Clone repo:git clone --quiet %s &:TRUE EXTERNAL_MENU:git:Copy repo url:printf %s | pbcopy :TRUE # mailto EXTERNAL_MENU:mailto:Compose message:mcom %s:TRUE EXTERNAL_MENU:mailto:Copy mailto link:printf %s | pbcopy:TRUE (I have found it more convenient to have at least two options for each protocol, otherwise lynx will just default to using a single one, if defined, and you might not always want that.) It's all quite well documented in lynx.cfg. > On Tue, 20 Feb 2018, Larry Hynes wrote: > > > Date: Tue, 20 Feb 2018 09:29:16 > > From: Larry Hynes <[email protected]> > > To: dan d. <[email protected]> > > Cc: [email protected] > > Subject: Re: [Lynx-dev] File download managers in Lynx > > > > "dan d." <[email protected]> wrote: > >> I would like to ask consideration be given to making the file download > >> agent a configuration item in the same way an alternative editor can > >> be used. > >> > >> One could use for exampl curl or wget with their particular options, > >> or in my intrest an agent which speeds download time by spliting the > >> file at its origin by multiple parallel requests and then reassembling > >> it locally. > >> > >> I use a mac and examples of the latter are axel or aria2 which have > >> many options as well as to how the download is done. > > > > Have you looked at the DOWNLOADER option in lynx.cfg? Something > > like the following might work for you: > > > > DOWNLOADER:curl:curl -O -L -f -s %s %s &:TRUE > > > > You can also explore something like: > > > > EXTERNAL_MENU:http:curl download:curl -O -L -s -f %s &:TRUE > > > > You can specify aria2c as well, or in addition to, if you please. > > > > _______________________________________________ > > Lynx-dev mailing list > > [email protected] > > https://lists.nongnu.org/mailman/listinfo/lynx-dev > > _______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
