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...