* [Edbrowse-dev] &
@ 2015-01-06 22:27 Karl Dahlke
2015-01-07 8:27 ` Adam Thompson
0 siblings, 1 reply; 7+ messages in thread
From: Karl Dahlke @ 2015-01-06 22:27 UTC (permalink / raw)
To: Edbrowse-dev
> I've been thinking about the possibility of having a different command
I would really rather not clutter the space with more commands.
We already have too many as it is.
And more will come if we work on imap.
Besides this, I don't always know what I want until I am there.
Particularly when traversing an ftp file system
or clicking on a link.
Is it the actual download, or is it another html page
that is full of legal crap that I have to agree to?
I just can't know in advance what to do.
On an ftp link I hit g for go and if it turns out to be a directory I want to
see that page, download into memory.
If it turns out to be a file I want to be presented with the file name,
which can be very long, but relevant, with version numbers in it
and the proper suffix for compression and archive type etc,
so I want it to offer me that file name and I just hit return if I like it,
and don't have to type it all in again perfectly,
and retain the option of typing in something else,
but I don't usually know what I want until I am presented with the file name.
And maybe another optional character like & if I want to differentiate between
foreground download and background download,
which I really think is a good idea, the more I think about it,
to give people the options.
It's only one more character to type to put it it in the background.
I know you don't use mail client but this is consistent with how mail works,
so people will be use to that.
When you get mail it prints the default name of the attachment, which once
again could be long, with version numbers and suffixes etc,
and could be important, where you wouldn't want to type it all in again,
so you just hit return and accept it, or type in a new file name
for the attachment if you want to.
I want to make this download feature the same way,
having a common interface.
Karl Dahlke
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Edbrowse-dev] &
2015-01-06 22:27 [Edbrowse-dev] & Karl Dahlke
@ 2015-01-07 8:27 ` Adam Thompson
0 siblings, 0 replies; 7+ messages in thread
From: Adam Thompson @ 2015-01-07 8:27 UTC (permalink / raw)
To: Karl Dahlke; +Cc: Edbrowse-dev
[-- Attachment #1: Type: text/plain, Size: 2246 bytes --]
On Tue, Jan 06, 2015 at 05:27:49PM -0500, Karl Dahlke wrote:
> > I've been thinking about the possibility of having a different command
>
> I would really rather not clutter the space with more commands.
> We already have too many as it is.
> And more will come if we work on imap.
>
> Besides this, I don't always know what I want until I am there.
> Particularly when traversing an ftp file system
> or clicking on a link.
> Is it the actual download, or is it another html page
> that is full of legal crap that I have to agree to?
> I just can't know in advance what to do.
> On an ftp link I hit g for go and if it turns out to be a directory I want to
> see that page, download into memory.
> If it turns out to be a file I want to be presented with the file name,
> which can be very long, but relevant, with version numbers in it
> and the proper suffix for compression and archive type etc,
> so I want it to offer me that file name and I just hit return if I like it,
> and don't have to type it all in again perfectly,
> and retain the option of typing in something else,
> but I don't usually know what I want until I am presented with the file name.
> And maybe another optional character like & if I want to differentiate between
> foreground download and background download,
> which I really think is a good idea, the more I think about it,
> to give people the options.
> It's only one more character to type to put it it in the background.
Yeah, as I said, I wasn't entirely sure about this idea.
I'm trying to avoid having to fork mid-download and all the issues that causes.
> I know you don't use mail client but this is consistent with how mail works,
> so people will be use to that.
> When you get mail it prints the default name of the attachment, which once
> again could be long, with version numbers and suffixes etc,
> and could be important, where you wouldn't want to type it all in again,
> so you just hit return and accept it, or type in a new file name
> for the attachment if you want to.
> I want to make this download feature the same way,
> having a common interface.
Fair enough, as you say I don't use the mail client so was unaware of this.
Cheers,
Adam.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Edbrowse-dev] ==
@ 2018-01-27 5:20 Kevin Carhart
0 siblings, 0 replies; 7+ messages in thread
From: Kevin Carhart @ 2018-01-27 5:20 UTC (permalink / raw)
To: Edbrowse-dev
> A time (to illustrate) when we want == and not === is startwindow.js
line 1156.
Thanks for this, by the way. That's helpful to know.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Edbrowse-dev] ?
@ 2015-08-31 1:10 Kevin Carhart
0 siblings, 0 replies; 7+ messages in thread
From: Kevin Carhart @ 2015-08-31 1:10 UTC (permalink / raw)
To: Edbrowse-dev
Here's something:
I couldn't tell when I had a message with extra lines with just
a literal question mark, since I mistook it for an edbrowse ?
Kevin
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Edbrowse-dev] &
@ 2015-01-07 8:49 Karl Dahlke
0 siblings, 0 replies; 7+ messages in thread
From: Karl Dahlke @ 2015-01-07 8:49 UTC (permalink / raw)
To: Edbrowse-dev
> I'm trying to avoid having to fork mid-download and all the issues that causes.
Right. I'm going to let Chris have a look and see what he thinks.
May well be that we just stop the download, set some flags, fork the child,
and restart the download there.
For as rare as this is, I wouldn't have a problem with that.
Karl Dahlke
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Edbrowse-dev] &
2015-01-06 2:19 Karl Dahlke
@ 2015-01-06 21:29 ` Adam Thompson
0 siblings, 0 replies; 7+ messages in thread
From: Adam Thompson @ 2015-01-06 21:29 UTC (permalink / raw)
To: Karl Dahlke; +Cc: Edbrowse-dev
[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]
On Mon, Jan 05, 2015 at 09:19:26PM -0500, Karl Dahlke wrote:
> A possible compromise for download of large files to disk is:
>
> space pulls into memory like now.
> default file name or entered file name downloads to disk
> with progress dots in foreground.
> file name with & at the end downloads in background, no dots,
> for those who want it and for when it works.
> Like the shell, command &
> & by itself downloads default filename in background.
I'm not sure about this. I've been thinking about the possibility of having a
different command to download in the background rather than a download prompt
like we currently have. For example (I'm using 2 letter commands because I think they're a bit clearer than capitalised versions of existing commands)
something like:
g - downloads the link normally into memory
gd - downloads the link in the foreground to disk (optionally followed by a filename)
gb - same as gd but in the background
This isn't perfect since it doesn't handle if you end up with a file when you're not expecting it, but this shouldn't happen, and you can always hit ^c and try again anyway.
This way we avoid forking mid-download and all the weirdness involved in that.
Any thoughts?
Cheers,
Adam.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Edbrowse-dev] &
@ 2015-01-06 2:19 Karl Dahlke
2015-01-06 21:29 ` Adam Thompson
0 siblings, 1 reply; 7+ messages in thread
From: Karl Dahlke @ 2015-01-06 2:19 UTC (permalink / raw)
To: Edbrowse-dev
A possible compromise for download of large files to disk is:
space pulls into memory like now.
default file name or entered file name downloads to disk
with progress dots in foreground.
file name with & at the end downloads in background, no dots,
for those who want it and for when it works.
Like the shell, command &
& by itself downloads default filename in background.
Karl Dahlke
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-01-27 5:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-06 22:27 [Edbrowse-dev] & Karl Dahlke
2015-01-07 8:27 ` Adam Thompson
-- strict thread matches above, loose matches on Subject: below --
2018-01-27 5:20 [Edbrowse-dev] == Kevin Carhart
2015-08-31 1:10 [Edbrowse-dev] ? Kevin Carhart
2015-01-07 8:49 [Edbrowse-dev] & Karl Dahlke
2015-01-06 2:19 Karl Dahlke
2015-01-06 21:29 ` Adam Thompson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).