Allow user override of -title option (#1026)
This commit is contained in:
@@ -41,6 +41,7 @@ pass=""
|
||||
mem="-m 256"
|
||||
scroll=22
|
||||
noscroll=""
|
||||
title="Medley Interlisp"
|
||||
|
||||
if [ -z "$LDEDESTSYSOUT" ] ; then
|
||||
if [ -z "$LOGINDIR" ] ; then
|
||||
@@ -112,6 +113,10 @@ while [ "$#" -ne 0 ]; do
|
||||
mem="-m $2 "
|
||||
shift
|
||||
;;
|
||||
-title)
|
||||
title="$2"
|
||||
shift
|
||||
;;
|
||||
-vmem | --vmem | -vmfile)
|
||||
export LDEDESTSYSOUT="$2"
|
||||
shift
|
||||
@@ -192,10 +197,10 @@ if ! command -v "$prog" > /dev/null 2>&1; then
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "running: $prog $noscroll $geometry $screensize $mem $pass $LDESRCESYSOUT"
|
||||
echo "running: $prog $noscroll $geometry $screensize -title \"$title\" $mem $pass $LDESRCESYSOUT"
|
||||
echo "greet: $LDEINIT"
|
||||
|
||||
export INMEDLEY=1
|
||||
|
||||
"$prog" $noscroll $geometry $screensize $mem -title "Medley Interlisp" $pass "$LDESRCESYSOUT"
|
||||
"$prog" $noscroll $geometry $screensize $mem -title "$title" $pass "$LDESRCESYSOUT"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user