> > the advantage of open("http://www.site.org"); vs open_http("www.site.org");
> > is the possiblity of the existing code -without- modification. all
> > the current tools would work as is.
> >
> > example: cat http://www.site.org/index.html | less
> This is exactly what I was thinking. I know there are current userspace
> solutions to this...but this is the sort of thing that would be
> interesting to do....Don't forget other goodies like
>
> cp ftp://ftp.bz2.us.kernel.org/pub/linux/kernel/v2.3/linux-2.3.x.tar.bz2 /usr/src
Actually, why not
cp -a /#ftp:ftp.bz2.us.kernel.org/pub/linux/kernel/v2.3/linux-2.3.x.tar.bz2#utar /usr/src
so you don't have to untar it manually? I'd do it if I have internet
connectivity just now.
This is on almost-unmodified 2.3.6 but it works equally well with
vanilla 2.2.10. Take a look at podfuk,
http://atrey.karlin.mff.cuni.cz/~pavel/podfuk/podfuk.html.
[transcription of _real_ _session_]
Script started on Fri Jun 25 11:33:20 1999
pavel@bug:~$ ls -al[Kcp /#ftp:elf/etc/ /tmp/d etc.elf
cp: /#ftp:elf/etc: omitting directory
pavel@bug:~$ cp /#ftp:elf/etc/ /tmp/etc.elfpavel@bug:~$ cp [4h [4l[4h-[4l[4ha[4l
cp: /#ftp:elf/etc/#XF86Config#: No such file or directory
...
cp: /#ftp:elf/etc/wtmplock: Permission denied
pavel@bug:~$ ls /tmp/etc.elf/
DIR_COLORS dosemu.conf.mine issue.short ppc386.cfg
dosemu.conf.console issue.old phonebook~
pavel@bug:~$ ls /tmp/etc.elf/á[Kpavel@bug:~$ ls [4h [4l[4h-[4l[4ha[4l[4hl[4l
total 1450
drwxr-xr-x 29 pavel users 3072 Jun 25 11:33 ./
drwxrwxrwt 28 root root 30720 Jun 25 11:35 ../
-rw-r--r-- 1 pavel users 1840 Nov 5 1996 DIR_COLORS
-rw-r--r-- 1 pavel users 11 Jun 25 1999 HOSTNAME
-rw-r--r-- 1 pavel users 687 Dec 20 1998 Muttrc
...
-rw-r--r-- 1 pavel users 62320 Dec 13 1996 termcap.old
drwxr-xr-x 2 pavel users 1024 Jun 25 11:33 terminfo/
pavel@bug:~$ Use "exit" to leave the shell.
pavel@bug:~$ exit
Script done on Fri Jun 25 11:35:40 1999
So yes, podfuk actually works.
Pavel
-- I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel Hi! I'm a .signature virus! Copy me into your ~/.signature, please!- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/