#!/bin/bash
[ -z "$1" ] && echo "usage: $0 <termname>" && exit 1
export TERM=vt100
exec emacsclient -t -e "(my-tty \"$1\")"
