| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DOOR32.SYS |
24 Oct 15 16:03, you wrote to me:
DA> Let me know if you can achieve this.
i have been able to do this and perform limited testing on a vista box... i
do not have RA installed on winwhatever... i do not have telsrv or gamesrv
installed, either... the testing was done by taking the resulting d32sys
file generated by RA and the .bat file over to the vista machine... then i
simply ran the .bat in a command prompt window to generate the door32.sys
file...
i had to change the way i can do it on OS/2 with 4DOS... instead it has to
be done in a very ugly way which requires changes the RAT file... as noted
previously, SOCKHAND should be set in NF.BAT using the modified gamesrv
command line and the modified NF.BAT i posted in a previous message...
the menu command line in RA is
*c /c c:\ra\d32sys.bat *r *m
this menu option should be limited to only ANSI users and only those
connected to the com ports used for telnet... users on dialup modem
comports and without ANSI enabled should not see this menu option...
the RAT file is...
==== Begin "d32sys.rat" ====
LINE01=2
LINE02=%SOCKHAND
LINE03=^Kr
LINE04=RemoteAccess 2.62
LINE05=%RECNUMB
LINE06=^Fa
LINE07=^F3
LINE08=^Fo
LINE09=^F_
LINE10=1
LINE11=^Kw
==== End "d32sys.rat" ====
^F and ^K are the actual characters... generally they are entered in DOS
editors via CTRL-P CTRL-F and CTRL-P CTRL-K...
the BAT file is...
==== Begin "d32sys.bat" ====
{at}echo off
SETLOCAL
echo D32SYS.RAT Testing...
if not exist DOOR32.SYS then goto jump
echo deleting DOOR32.SYS
del /q door32.sys
:jump
REM SOCKHAND should already be set by NF.BAT before loading RA!
echo SOCKHAND=%SOCKHAND%
set RECNUMB=%1
echo RECNUMB=%RECNUMB%
echo:
REM doing this for windows is really nasty :(
for /f "delims=" %%x in (D32SYS.) do set %%x
echo %LINE01% >> DOOR32.SYS
echo %SOCKHAND% >> DOOR32.SYS
echo %LINE03% >> DOOR32.SYS
echo %LINE04% >> DOOR32.SYS
echo %RECNUMB% >> DOOR32.SYS
echo %LINE06% >> DOOR32.SYS
echo %LINE07% >> DOOR32.SYS
echo %LINE08% >> DOOR32.SYS
echo %LINE09% >> DOOR32.SYS
echo %LINE10% >> DOOR32.SYS
echo %LINE11% >> DOOR32.SYS
type DOOR32.SYS
echo:
echo Returning to RemoteAccess...
ENDLOCAL
==== End "d32sys.bat" ====
only three items need to be hardcoded for this to work properly...
everything else is set in the RAT file so that the values are correct for
each individual user...
one possible problem may be the user's security level being passed... some
systems only allow for security levels 0 thru 255 while others, like RA,
allow for 0 through 64000... if this does cause a problem, the only
suggestion i have is to adjust one's security levels in RA to be within 0
through 255...
the d32sys.bat can be named anything... i would continue to use the
d32sys.rat file, though... the only change in d32sys.bat would be to change
the "type door32.sys" line to execute the door needing
door32.sys...
eg:
RA menu line
*c /c c:\ra\d32sys.bat *r lord *m
and in d32sys.bat replace the one line "type door32.sys" with
something like "c:\bbslink\bbslink.exe %2"...
if bbslink.exe needs the socket handle, pass it using %SOCKHAND% as in
c:\bbslink\bbslink.exe %2 %SOCKHAND%
now i wait for someone else to test it all together and report success or
not ;) O:)
FWIW: if someone wants to run door32.sys doors with dialup modem nodes,
some more changes will be required to fix the first line of the door32.sys
file from the hardcoded value of 2 for telnet... i won't do that for now
but it will take some additional .BAT magic similar to how we set SOCKHAND
before starting RA ;)
)\/(ark
... I generally avoid temptation unless I can't resist it.
---
* Origin: (1:3634/12.73)SEEN-BY: 19/33 75 34/999 90/1 116/18 120/331 123/500 128/187 140/1 218/700 SEEN-BY: 222/2 226/0 160 230/150 240/1120 261/38 100 266/404 267/155 280/1027 SEEN-BY: 282/1031 1056 292/907 908 320/119 219 340/400 396/45 633/267 640/384 SEEN-BY: 712/620 848 770/1 801/161 @PATH: 3634/12 123/500 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.