Adjustment for joe
This commit is contained in:
parent
8a8b917527
commit
1180eff72c
@ -2824,6 +2824,7 @@ int Ext_Edit()
|
|||||||
fprintf(fd,"BBSFSEDKEYS='%d'\n",exitinfo.FSemacs);
|
fprintf(fd,"BBSFSEDKEYS='%d'\n",exitinfo.FSemacs);
|
||||||
fprintf(fd,"LINES='%d'\n",rows);
|
fprintf(fd,"LINES='%d'\n",rows);
|
||||||
fprintf(fd,"COLUMNS='80'\n");
|
fprintf(fd,"COLUMNS='80'\n");
|
||||||
|
fprintf(fd,"UTF-8='%s'\n",utf8?"Yes":"No");
|
||||||
fclose(fd);
|
fclose(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,11 @@ TIME=`head -n19 $HOME/door.sys |tail -n1 |tr -d "[:cntrl:]"`
|
|||||||
|
|
||||||
## Set preferred editor and parameters
|
## Set preferred editor and parameters
|
||||||
EDITOR=@joebin@/bbsjoe
|
EDITOR=@joebin@/bbsjoe
|
||||||
PARAM="$HOME/edit.msg"
|
if [ "$UTF-8" == "Yes" ]; then
|
||||||
|
PARAM="-guess_utf8 $HOME/edit.msg"
|
||||||
|
else
|
||||||
|
PARAM="$HOME/edit.msg"
|
||||||
|
fi
|
||||||
|
|
||||||
# Using joe with emacs keys:
|
# Using joe with emacs keys:
|
||||||
# You can make a bbsjmacsrc file with emacs keys and put it
|
# You can make a bbsjmacsrc file with emacs keys and put it
|
||||||
|
Reference in New Issue
Block a user