TIP: Click on subject to list as thread! ANSI
echo: ra_support
to: mark lewis
from: Dennis Ayala
date: 2015-10-24 16:03:34
subject: DOOR32.SYS

Hello mark!

23 Oct 15 16:02, you wrote to me:


 ml> i found *R will emit the user's record number to the .bat file...

This and the handle. Thats all we need to get as parameters. The rest of
the data can be hardcoded on the batchfile to create when the DOOR32.SYS is
created.


 ml> see above... i found that we can get the user number on the command
 ml> line but figuring out how to drop it into the D32SYS or final
 ml> DOOR32.SYS file is another problem... looks like we might have to pass
 ml> the speed and BBS name and version as parameters to the BAT file so we
 ml> can get the user number in there... that'll change the RAT file, the
 ml> menu line and the MYDOOR.BAT file...






 ml> we rarely do anything with user numbers... getting that out and into
 ml> the door32.sys file is going to be tough...

Not really as you can receive cooand line parameters on the batch file that
executes the door and from there create the temporary DOOR32.SYS.
For example, if you invoke:

C:\BBS\BBSLINK.BAT *H *R *N lord

from within the batch file you need to create the DOOR32.SYS before
invoking BBSLINK.EXE like:

REM ##########################
REM # CREATE DOOR32.SYS
REM ##########################
TYPE "1" > DOOR32.SYS                                  
<--- Line 1 : Comm type (0=local, 1=serial, 2=telnet)
TYPE %1 >> DOOR32.SYS                                   <--- Line
2 : Comm or socket handle
TYPE 57600 >> DOOR32.SYS                                <--- Line
3 : Baud rate
TYPE "Remote Access 2.62" >> DOOR32.SYS                
<--- Line 4 : BBSID (software name and version)
TYPE %2 >> DOOR32.SYS                                   <--- Line
5 : User record position (1-based)
TYPE "Joe User" >> DOOR32.SYS                          
<--- Line 6 : User's real name
TYPE "Joe Handle" >> DOOR32.SYS                        
<--- Line 7 : User's handle/alias
TYPE "10" >> DOOR32.SYS                                
<--- Line 8 : User's security level
TYPE "500" >> DOOR32.SYS                               
<--- Line 9 : User's time left (in minutes)
TYPE "1" >> DOOR32.SYS                                 
<--- Line 10: Emulation (0 = ASCII, 1 = ANSI, 2 = AVATAR, 3 = RIP)
TYPE %3 >> NDOOR32.SYS                                 <--- Line
11: Current node number

REM #########################
REM # INVOKE BBSLINK
REM #########################
BBS.LINK.EXE %4 %2

Something like this....

Let me know if you can achieve this.

Dennis


--- GoldED+/LNX 1.1.5-b20150715
* Origin: The Wall Caribbean & Central American Hub (1:135/301)
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: 135/301 300 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™.