Looking for a source code that will compile with little to no errors so i can use it to practice coding and implamenting things without having to know enough to build a full mud…if anyone knows where i can get a source that will compile easily please let me know what it is and where to find it…i've looked in the code repository but most of the ones in there i have tried are so stripped down i don't even have basic commands which is making me start on a much bigger task then i want to jump into…so yeah…if you know where let me know or if you have a basic code that will start and i could use to further my learning you can send it to me at
chmod u+x startup will modify the permissions on the startup file for the User to be able to eXecute the file. Once you have that done just type "./startup &" and hit enter. I'm sure you already changed the startup file to the port you're running this on.
[edit to fix a typo and add emphasis to the U and X]
#!/bin/sh # # /bin/sh replacement for startup, by Spectrum #
# grab the port number port=9500 if [ "$1" != "" ]; then port=$1; fi
/*so when i start i should connect using localhost port 9500 but its not connecting its showing i don't have permission still even with emphasis on the U X but this is right im sure of it*/
chmod 'u'+'x' startup ./startup &
its comming back saying its started basicly…
$ ./startup & [1] 3876
$ ./startup: line 5: $'\r': command not found ./startup: line 7: port: command not found ./startup: line 61: syntax error: unexpected end of file
/* what i think is its not connecting cuz its not setting a port, what do you all think?*/
16 Sep, 2009, David Haley wrote in the 7th comment:
Votes: 0
You need to make sure that the startup file is in Unix file format, not DOS. How are you editing this file?
If you're on Cygwin, try installing the "dos2unix" or "unix2dos" or "tofrodos" package – I'm not sure which it is – and then running "dos2unix startup".
If you're on Cygwin, try installing the "dos2unix" or "unix2dos" or "tofrodos" package – I'm not sure which it is – and then running "dos2unix startup".
16 Sep, 2009, David Haley wrote in the 10th comment:
Votes: 0
My bad, the package is called 'cygutils'. See also this link. (Googling would have worked, too) Anyhow, dos2unix will do this for you. Easier & safer than invoking perl by yourself.
I am using cygwin and crimson editor and i have the cygutils downloaded….there is a drop down screen for perl and theres many different things for packages would it help to get an answer if i listed my options for downloads of perl?
There are instructions for text file conversion on that page for perl, sed, vi, cygutils or ruby. If you've figured out how to install cygutils then you don't need to install perl. Nevertheless you install perl the same way you installed cygutils or gcc. The setup is documented at http://cygwin.com/cygwin-ug-net/setup-ne...
ok well with the cygutils all i did was pick the packages and kinda expected it to auto install because it auto installs everything else that i picked as packages looked over that cyg setup site and it says some things have to be manual install but i don't quiet understand how to install the cygutils…looked up an down the site but imma no the brightest light bulb in the pack so if you could point me in the right direction or give me directions that would be great.
Ok i found a bit more information in the release folder…i do for sure have cygutils…i extracted the files and i got a setup file…when i opened it the file explained that it should auto start…well automaticly generate so i am looking at the website it refered me to in this file but any additional help would be nice!…..ok this site offered little…to well no help so yeah im gunna look around in google…..sry for posting all this rigamarole…ill only edit again if i resolve the problem or one of you respond
Ok i found a bit more information in the release folder…i do for sure have cygutils…i extracted the files and i got a setup file…when i opened it the file explained that it should auto start…well automaticly generate so i am looking at the website it refered me to in this file but any additional help would be nice!…..ok this site offered little…to well no help so yeah im gunna look around in google…..sry for posting all this rigamarole…ill only edit again if i resolve the problem or one of you respond
The link I provided is the documentation for running cygwin's setup and installing Cygwin packages like cygutils. The GNUwin32 project is not Cygwin. Sorry I can't help you.
darrylkp1990@aol.com