Problems with the startup script with Cygwin

Posted by Creeper386 on Sat 29 Jun 2002 11:07 PM — 12 posts, 40,690 views.

USA #0
Okay. I have Windows98, a newer version of Cygwin not sure which one exactly... But I am wondering how to get the startup script to work.

I've tried in cygwin from the src directory tcsh startup and csh startup and neither seem to work. Don't know whats wrong with it. Could any give me something alittle more deeper then just use tcsh or csh, or perhaps your know whats wrong?

I have also tried ./startup but it says something about /bin/csh The is no such directory or similar.


Creep

Thank you.
USA #1
First in /dist/src/ you have to type make, where it will compile the code, after that type cd ../area/ to get to the /dist/area/ directory, then type ../src/smaug and it should start up the MUD

-Mark Calloway
USA #2
Yes. I know you can do that. I have a batch file that I can do that with. What I'm trying to do is used the start up script, which lets everything restart without a batch file and everything. I'd just prefer using things that were made for using with smaug so if something isn't working I'd have a better chance of figuring out why.

Thanks for that bit though,

Creep
Australia Forum Administrator #3
Typing:


tcsh startup &


worked for me. If that doesn't work check you installed tcsh when you installed Cygwin.
USA #4
Okay. I downloaded tcsh now and so I have that command...

I've tried it by typing in tcsh startup & into the prompt in the src directory where the startup is and it returns with something about "limit" being a bad command or cannot find the command. Then consistantly after that windows pops up saying smaug has done an illegal function and must be closed.

Would you happen to know what going on because I'm fairly lost here on this. It isn't a greatly big deal as my batch file seems to work nicely but I just want to see if I can get it working while I have the time.


Creep
Thanks
USA #5
k im not sure about cygwin and if it will require this but i noticed that when i edited or opened the startup file it saved as a dos file, so i got a unix/dos converter, switched it over and worked fine. im not sure if be like that for cygwin though.. worth shot maybe though
USA #6
Well... I've tried replacing the startup file with the one from the distribution and that didn't work. Still the same problem. It seems to not like the part at the begining about limiting the stack. And I tried just to see what would happen and commented that out it ran but I'm still getting a problem with Smaug having an error and needing to be shut down. So...

Is there something I'm missing here? My smaug.exe runs without any problems otherwise...

Thanks for the help so far.

Creep
Australia Forum Administrator #7
I got the "limit" error too, and ignored it.

As for the smaug problem, you mean it runs OK when you do it manually but not from the startup script? Sounds strange, it is basically doing the same thing.
USA #8
I get the limit error and it continues loading everything in the background but I get an windows pop up of an internal error with Smaug.exe but I don't get that when running with it manually or with my own batch file, which I find really confusing... And going to go through again seeing if I missed anything obvious but if not I feel it's a utterly stupid problem within Windows...(I have to often remember the list of top reasons Windows is NOT a virus so as not too offend those who make the virus that do what they are supposed to do)

Creep

Thanks yet again.
Australia Forum Administrator #9
What is the internal error exactly?
USA #10
This is whats in the details box... Don't know if it would help because it seems to work otherwise...

SMAUG caused an invalid page fault in
module CYGWIN1.DLL at 0167:61060962.
Registers:
EAX=0000008c CS=0167 EIP=61060962 EFLGS=00010287
EBX=00000000 SS=016f ESP=009ef824 EBP=009ef83c
ECX=d0cae1d0 DS=016f ESI=00018b00 FS=5f67
EDX=00000003 ES=016f EDI=0000008b GS=0000
Bytes at CS:EIP:
8b 0c 98 85 c9 74 29 8b 51 34 83 c4 f4 0f bf 42
Stack dump:
00018b00 00000001 009ef85c 61004486 00000002 00000001 009ef85c 610044ad 00000000 00018b00 0000008b 6100f728 610a43f0 bffc9490 009ef88c 6100f773
Australia Forum Administrator #11
Check the startup script changes to the area directory.