From 36ebc8fff34fbebbaa4b5ecdf35c43a7f1cb378e Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Wed, 11 Aug 2004 14:18:31 +0000 Subject: [PATCH] Finished new doors method --- ChangeLog | 22 +++++++++++++++------- script/bbsdoor.sh | 5 ----- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 191adb8e..e9050069 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,8 +7,15 @@ v0.61.3 25-Jul-2004 To reinstall the corrected macro templates go into the examples directory and type "make macros". In mbsetup menu 1.7 check the new items 15, 16 and 17. - If you use dosemu 1.2.0 or later, copy in ~/bin bbsdoor.sh.new - over bbsdoor.sh + If you want to switch running doors as user instead of via sudo + then read doors.html and follow the instructions. + In the english txtfiles and menus the doors menu and screens + are updated for the newer doors setup, you might want to + upgrade or use them as examples. + + general: + With the newer versions of dosemu running doors as user finally + works. To migrate you need to read doors.html. libmbse.a: Removed the fdn parameter from the attach and un_attach @@ -56,12 +63,13 @@ v0.61.3 25-Jul-2004 all languages. script: - Changed bbsdoor.sh so that it works for dosemu 1.2.0 and later. - Created new runvirtual.sh so that we have door scripts with and - without virual comport support. + Changed bbsdoor.sh, it now hase a variable pointing to the dos + directory. + Created runvirtual.sh, this replaces rundoor.sh for old systems + that run doors using the obsoleted sudo method. + Rewrote rundoor.sh for running dosemu with user privileges. Changed all locations for dosemu so that we run in the mbse - environment with dropped privileges of the user running the - door. + environment with privileges of the user running the door. lang: Added language prompts 26 and 27. diff --git a/script/bbsdoor.sh b/script/bbsdoor.sh index 02695b5f..2ccf80ee 100644 --- a/script/bbsdoor.sh +++ b/script/bbsdoor.sh @@ -7,7 +7,6 @@ # $2 = the nodenumber for this session # # by Redy Rodriguez, 22-Oct-2001 -# Revised for dosemu 1.2.0 by Michiel Broek. DOSDRIVE=/opt/mbse/var/dosemu/c @@ -28,9 +27,5 @@ if [ "$1" != "" ]; then if [ ! -f $HOME/.dosemu/disclaimer ]; then touch $HOME/.dosemu/disclaimer fi - # For dosemu 1.2.0 and later, create a link to the drive -# if [ ! -f $HOME/.dosemu/drives/c ]; then -# ln -s $DOSDRIVE $HOME/.dosemu/drives -# fi fi fi