home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 463 
 Dennis Ayala to mark lewis 
 DOOR32.SYS 
 24 Oct 15 16:03:34 
 
   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)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca