Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Nolan Hamilton
Thanks I can use hget now, everything works fine.-Nolan Hamilton

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Uriel
Maybe those programmers should learn a bit more about the system they are working with before making such presumptions... but then, since the days of Berkeley kids mixing LSD with cat's flags, seems that all regard for the unix style has been forgotten in the race to add more 'features' and impleme

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Gorka Guardiola
On Sat, Nov 15, 2008 at 12:21 AM, Dave Eckhardt <[EMAIL PROTECTED]> wrote: >> hget is similar to almost all plan 9 programs >> and (not surprisingly) different from many >> modern unix programs in that, by default, >> it writes to standard output. > > This may seem idiosyncratic, but it has a big b

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 14, 2008, at 6:46 PM, Uriel wrote: I wonder why was stderr invented... uriel Oh yes, that's also something I can explain. Some programmers use the definitions literally: "stderr is not used for a progress bar, make stdprog." -BE

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Uriel
I wonder why was stderr invented... uriel On Sat, Nov 15, 2008 at 12:30 AM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Nov 14, 2008, at 6:21 PM, Dave Eckhardt wrote: > >> commentary > > This is because those programs use stdout for status

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 14, 2008, at 6:21 PM, Dave Eckhardt wrote: commentary This is because those programs use stdout for status indication, much like hget -v. Think of wget, which is forced to use a terminal in order to make a progress bar. The idea is si

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Dave Eckhardt
> hget is similar to almost all plan 9 programs > and (not surprisingly) different from many > modern unix programs in that, by default, > it writes to standard output. This may seem idiosyncratic, but it has a big benefit. On various machines I have wget, curl, fetch, etc., and each one has a di

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread ron minnich
On Fri, Nov 14, 2008 at 1:31 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Nov 14, 2008, at 4:26 PM, Russ Cox wrote: > >>> hget is different from most other programs of its kind. >> >> depends what you mean by "its kind". > > command line d

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 14, 2008, at 4:26 PM, Russ Cox wrote: hget is different from most other programs of its kind. depends what you mean by "its kind". command line download tool; I'm comparing it to programs like wget, curl, etc. -BEGIN PGP SIGNATURE

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Russ Cox
> hget is different from most other programs of its kind. depends what you mean by "its kind". hget is similar to almost all plan 9 programs and (not surprisingly) different from many modern unix programs in that, by default, it writes to standard output. russ

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 14, 2008, at 2:50 PM, Nolan Hamilton wrote: I just get a whole bunch of letters and numbers. tgz is a compression format that uses binary data. The conversion of binary to Unicode is why you see the numbers. -BEGIN PGP SIGNATURE

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Pietro Gagliardi
hget is different from most other programs of its kind. It writes the file you ask for on standard output, or the computer screen. If you want to download a file, use one of the following: hget -o planb4e.tgz http://lsub.org/ls/export/planb4e.tgz hget http://lsub.org/ls/export

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread Robert Raschke
hget -o $home/planb4e.tgz http://lsub.org/ls/export/planb4e.tgz The man pages with Plan 9 are really good. Well worth a read. Robby

Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread michael block
On Fri, Nov 14, 2008 at 13:50, Nolan Hamilton <[EMAIL PROTECTED]> wrote: > Hello, I am a newcomer to plan 9. I current have Plan9 installed on my > computer, and am trying to get Plan B. > I use "hget http://lsub.org/ls/export/planb4e.tgz"; > I just get a whole bunch of letters and numbers. > Is t

[9fans] Help downloading Plan B using hget

2008-11-14 Thread Nolan Hamilton
Hello, I am a newcomer to plan 9. I current have Plan9 installed on my computer, and am trying to get Plan B. I use "hget http://lsub.org/ls/export/planb4e.tgz"; I just get a whole bunch of letters and numbers. Is this OK, or is there a problem becouse it keeps on doing this for a very long time.