Fix for terminfo database
This commit is contained in:
parent
4ec5216952
commit
30bcc67e1f
@ -69,6 +69,10 @@ v0.91.5 18-Feb-2007
|
||||
lang:
|
||||
Language prompts 44, 75 and 76 are obsolete.
|
||||
|
||||
script:
|
||||
Adjusted editor script to use nansi.sys if ansi.sys is not
|
||||
available in the terminfo database.
|
||||
|
||||
examples:
|
||||
Upgraded the html macro templates to produce UTF-8 web pages.
|
||||
|
||||
|
@ -2824,7 +2824,6 @@ int Ext_Edit()
|
||||
fprintf(fd,"BBSFSEDKEYS='%d'\n",exitinfo.FSemacs);
|
||||
fprintf(fd,"LINES='%d'\n",rows);
|
||||
fprintf(fd,"COLUMNS='80'\n");
|
||||
fprintf(fd,"UTF8='%s'\n",utf8?"Yes":"No");
|
||||
fclose(fd);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,11 @@ function alarma
|
||||
}
|
||||
|
||||
## Set term environmment
|
||||
export JOETERM=nansi.sys
|
||||
if [ -f /usr/share/terminfo/a/ansi.sys ]; then
|
||||
export JOETERM=ansi.sys
|
||||
else
|
||||
export JOETERM=nansi.sys
|
||||
fi
|
||||
|
||||
## Read variables from data.msg
|
||||
. $HOME/data.msg
|
||||
@ -23,11 +27,7 @@ TIME=`head -n19 $HOME/door.sys |tail -n1 |tr -d "[:cntrl:]"`
|
||||
|
||||
## Set preferred editor and parameters
|
||||
EDITOR=@joebin@/bbsjoe
|
||||
if [ "$UTF8" == "Yes" ]; then
|
||||
PARAM="-guess_utf8 $HOME/edit.msg"
|
||||
else
|
||||
PARAM="$HOME/edit.msg"
|
||||
fi
|
||||
PARAM="$HOME/edit.msg"
|
||||
|
||||
# Using joe with emacs keys:
|
||||
# You can make a bbsjmacsrc file with emacs keys and put it
|
||||
@ -91,7 +91,7 @@ alarma $TIME $EDITOR &
|
||||
|
||||
## Draw header and call editor
|
||||
echo -e "[2J[1;1H[0m[1;44m "
|
||||
echo -e "[1;1H[0m[1;44m$LANGAREA: [31m$AREANUM[37m [33m$AREA $UTF8 $TERM $JOETERM"
|
||||
echo -e "[1;1H[0m[1;44m$LANGAREA: [31m$AREANUM[37m [33m$AREA"
|
||||
echo -e "[2;1H[0m[1;33m$LANGFROM: [32m$MSGFROM [36m$MSGFROMADDR"
|
||||
echo -e "[3;1H[0m[1;33m$LANGTO: [0;32m$MSGTO [36m$MSGTOADDR"
|
||||
echo -e "[4;1H[0m[1;33m$LANGRE: [0;32m$MSGSUBJECT"
|
||||
|
Reference in New Issue
Block a user