#!/bin/sh -u # # As with t, v and x, edit a file. # - Cameron Simpson 04may2002 # : ${dirname:=${PWD:-`pwd`}} : ${HOST:=`hostname | sed 's/\\.//'`} asyncopt= if [ $# -gt 0 ] && [ "x$1" = x+a ] then asyncopt=+a shift fi exec \ term $asyncopt \ -window \ -g M \ -n "E [$dirname]@$HOST $*" \ -e edit ${1+"$@"}