cdlscpmv <cdlsc...@gmail.com> wrote: > On 03/01, Daniel Carl wrote: > > What do you mean with the detaching from vimb. > > I thought that the external downloader would behave the same way as the :sh > command does. When I run something with :sh, vimb blocks itself entirely > until the child process exits. It's really annoying because I cannot > navigate within the page. For example, if I run a custom script for > watching youtube videos in mpv, vimb just "freezes" until I close the > player. I tried to background the job but with no success.
That's right the :sh command calls the command syncron, to allow to display the return value in input box. For the downloader that I started in the new branch, the call a asyncron so that vimb does not concern how long the task is running. I should make a notice in the man page about the :sh command. And to keep is usable we should have an asyncron shell command too. I looked through the vim help pages, but it seems that the vim :sh command is only available as syncron command. That means we have to find the command name or syntax for ourself. My suggestion would be ':sh[ellcmd]!' with a bang to make it asyncron. > > I'm still undecided which way we should go. I think I'll use the external > > script and look how it works for me and wait if some of the other users have > > some opinion about this. > > Maybe it's worth to leave webkit's built-in downloader in vimb? Then you > can toggle between it and an external downloader if you meet a "problem > page". You could even do it automatically with > > :au LoadUrlCommited example.com :set external-downloader=false > > How about it? I think we should use both ways for download, the actual webkit based download and the external tool, and set the default config to use the webkit based one. Daniel ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ vimb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vimb-users