From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Fri, 31 Jul 2009 11:31:22 +0100 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [9fans] detecting drawterm Topicbox-Message-UUID: 335d641e-ead5-11e9-9d60-3106f5b1d025 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? currently the best i've got is to check /mnt/term/sysname, but that falls down the moment i connect from a different host...