/usr/share/GNUstep/vi.app/vi is in gworkspace-apps-wrappers 0.9.4-1build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #!/bin/sh
# Usage: vi [ -GSFilePath file ]
# simple GNUstep launch script for emacs/xemacs
#
#
#--FUNCTIONS
#
usage()
{
echo Usage: `basename $0` '[ -GSFilePath file ]'
exit 2
}
#-- MAIN
#
# -- establish name of file to be opened
#
if [ $# -eq 2 ] ; then
if [ "$1" = "-GSFilePath" ] ; then
file="$2"
else
usage
fi
elif [ $# -eq 0 ] ; then
file=
else
usage
fi
# -- run vi
xterm -e vi "$file" &
# -- you may want to echo 2>/dev/console if permissioned for it
|