Arachne at FreeLists---The Arachne Fan Club! On Mon, 13 Nov 2006 06:58:22 +1030, Greg Mayman wrote: > On Thu, 09 Nov 2006 17:51:57 +1000, Ron Clarke wrote: >>> If Alt-X and Alt-E are the same thing, the ways back into >>> Arachne should be interchangeable. >> No, they are not. :) > Well, I know that, which is why I prefaced my statement with the > word "If". But trying to convince some people is sure an uphill > battle! >>> If they aren't interchangeable, then why aren't they? >> Because Alt-X CLOSES Arachne, and drops back to the DOS prompt. >> and: >> Because Alt-E SHELLS out to a NEW DOS shell, over and above the >> original DOS shell - that is why "mem /c /p" will show two (2) instances >> of COMMAND.COM - one for each shell (one nested inside the other). > My question was rhetorical, in answer to a certain person's > assertion that Alt-E and Alt-X did the same thing. > I was hoping that person could explain why they weren't > interchangeable if (as he claims) they are indeed the same. In actuallity... the 2 are almost identical to each other. This is how they differ...... Alt+X memory stats for 'mem /c' Conventional memory: Name Size in Decimal Size in Hex DOS 91,040 ( 88K ) 163A0 QEMM386$ 768 ( 0K ) 300 COMMAND 1,536 ( 1K ) 600 FREE 643,456 ( 628K ) 9D180 Memory Type Total Bytes ( Kbytes ) Available For Programs Extended 15,728,640 ( 15,360K ) 0 ( 0K ) Extended via XMS -------- 6,804,480 ( 6,645K ) EMS 267,223,040 ( 260,960K ) 163,053,568 ( 159,232K ) Largest executable program: 643,440 ( 628K ) Total Free DOS memory: 741,712 ( 724K ) As we see... core.exe has been 'dumped' from memory upon exiting Arachne and we must type 'arachne.bat<enter>' to restart Arachne. ________________________________________ Alt+E memory stats for 'mem /c' Conventional memory: Name Size in Decimal Size in Hex DOS 91,040 ( 88K ) 163A0 QEMM386$ 768 ( 0K ) 300 COMMAND 2,160 ( 2K ) 870 COMMAND 7,136 ( 6K ) 1BE0 FREE 635,696 ( 620K ) 9B330 Memory Type Total Bytes ( Kbytes ) Available For Programs Extended 15,728,640 ( 15,360K ) 0 ( 0K ) Extended via XMS -------- 6,804,480 ( 6,645K ) EMS 267,223,040 ( 260,960K ) 163,053,568 ( 159,232K ) Largest executable program: 635,680 ( 621K ) Total Free DOS memory: 733,952 ( 717K ) As we see... core.exe has been 'dumped' from memory upon 'shelling-out' from Arachne but a second copy of command.com was loaded via $roura$.bat which 'calls' dosshell.bat --- $roura$.bat --- call l:\arachne\system\dgi\dosshell.bat l:\arachne\ arachne -r ____________________________________________________ --- dosshell.bat --- @echo off set oldpmt=%prompt% set prompt=Type EXIT to return to Arachne$_$p$g if exist ppp.log set prompt=You are still online$_Type EXIT to return to Arachne$_$p$g if (%COMSPEC%)==() goto nocomspec %COMSPEC% /E:1024 goto end :nocomspec COMMAND.COM /E:1024 :end set prompt=%oldpmt% set oldpmt= %1 cd %1system cd .. _____________________ Now we must type 'exit<enter>' to quit that 2nd copy of command.com and Arachne is restarted via the next line in $roura$.bat which runs arachne.bat automatically instead of requiring the user to restart her manually via 'arachne.bat<enter>' on the command line. ________________________________________ Try this and see what happens.... Alt+E to 'shell-out' Use a text editor to remove that 'arachne -r' from $roura$.bat located in the arachne.tmp subdirectory under your temp dir. --- mine is located here........ l:\temp\arachne.tmp\$roura$.bat ____________________ Save the altered file and quit your text editor. Now you're back at the DOS command prompt and typing 'exit<enter>' will quit that second copy of command.com but since the line for restarting Arachne automatically has been removed from $roura$.bat it will now be required to restart her manually by typing 'arachne.bat<enter>' at the command prompt. -- Glenn http://www.delorie.com/listserv/mime/ http://www.cisnet.com/glennmcc/ http://www.law.cornell.edu/constitution/constitution.table.html Arachne at FreeLists -- Arachne, The Premier GPL Web Browser/Suite for DOS --