9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Downloading from the web
Date: Mon, 11 Nov 2002 16:22:51 +0000	[thread overview]
Message-ID: <660a673d8f91d6c1ce14841874773b94@vitanuova.com> (raw)

> Well, there's always hget, but that's extraordinarily inconvenient for
> most things (like when you get some *really huge* URL that you have to
> try and transfer to a command line somewhere).

there is a simple fix for this, at least:

start emu with the -G flag (allow access to the external filesystem)..

before doing anything,

	bind '#U*' /n/local

(i.e. the local plan 9 filesystem is accessible in /n/local).

in $home/lib/wmsetup (under the inferno root),
add this line:

	bind /n/local/dev/snarf /chan/snarf

then cut and paste will work transparently between plan 9
and inferno. ^C and ^V can be used in charon to
cut and paste URLs, the contents of text entry boxes, etc.

i usually start emu with the following script, which i call wm:

#!/bin/rc
rfork n
echo scroll > /dev/wctl
echo -n emucons $pid > /dev/label
exec emu -G -g1200x900 $* /dis/sh.dis -c '{
		bind -c ''#U*'' /n/local
		wm/logon -u `{cat /dev/user}
		sh -i
}'

hope this helps,

  cheers,
    rog.



             reply	other threads:[~2002-11-11 16:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-11 16:22 rog [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-14  3:22 Andrey S. Kukhar
2002-11-13 20:30 ` Dan Cross
2002-11-13 22:13   ` Chris Hollis-Locke
2002-11-13  2:27 Andrey S. Kukhar
2002-11-13 17:31 ` Dan Cross
2002-11-12  3:47 Andrey S. Kukhar
2002-11-11 22:40 ` Dan Cross
2002-11-11  0:34 Russ Cox
2002-11-11  0:33 athiele
2002-11-11  0:47 ` Dan Cross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=660a673d8f91d6c1ce14841874773b94@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).