Re: [9fans] detecting drawterm

2009-07-31 Thread Skip Tavakkolian
> i hadn't noticed the (apparently undocumented) secstore device. ditto.

Re: [9fans] detecting drawterm

2009-07-31 Thread roger peppe
2009/7/31 Steve Simon : > 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 >        

Re: [9fans] detecting drawterm

2009-07-31 Thread Noah Evans
/mnt/term/dev/hostdomain? AFAIK it's always drawterm.net. On Fri, Jul 31, 2009 at 12:31 PM, roger peppe wrote: > i'm probably being stupid here, but what's a good robust way > of detecting in $home/lib/profile that the remote connection > is from drawterm, so that i can start rio etc? > > current

Re: [9fans] detecting drawterm

2009-07-31 Thread Steve Simon
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/s