DAMASK_EICMD/installation/Marc_Mentat2010_mods/Mentat_bin/edit_window

12 lines
283 B
Bash

#!/bin/sh
# This script opens a window running an editor. The default window is an
# xterm, and the default editor is vi. These may be customized.
if [ "`uname`" = "SunOS" ]; then
dir=/usr/openwin/bin
else
dir=/usr/bin/X11
fi
# $dir/xterm -T "vi $*" -n "vi $*" -e vi $*
kwrite $*