9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@9fans.net
Subject: Re: [9fans] detecting drawterm
Date: Fri, 31 Jul 2009 11:48:28 +0100	[thread overview]
Message-ID: <6dc27e43907a4107328b6b5b2d60cbb9@quintile.net> (raw)
In-Reply-To: <df49a7370907310331g1d963e9xae025c36ca209e7b@mail.gmail.com>

Drawterm connects with service=cpu

In the cpu clause I do this:

 	if (! test -e /mnt/term/mnt/wsys) {	# dt2k
		# cpu call from drawterm
		if (test -e /mnt/term/dev/secstore){
			auth/factotum -n
			cat /mnt/term/dev/secstore | read -m > /mnt/factotum/ctl
			echo > /mnt/term/dev/secstore
		}
		if not {			# old drawterm
			auth/factotum
		}
		webfs
		plumber
		webcookies
		upas/fs
		exec rio -s -i startup
	}

note the secstore device created by drawterm which I push into
my new factotum and then clean out (just in case).

-Steve



  reply	other threads:[~2009-07-31 10:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-31 10:31 roger peppe
2009-07-31 10:48 ` Steve Simon [this message]
2009-07-31 11:04   ` roger peppe
2009-07-31 19:31     ` Skip Tavakkolian
2009-07-31 10:54 ` Noah Evans

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=6dc27e43907a4107328b6b5b2d60cbb9@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.net \
    /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).