Toggle navigation
Home
Forum
Files
MUDs
Paste
Wiki
Log in
MudBytes Community Forum
Rom
/
startup
Reply
First
1
Last
26 Apr, 2010,
mijutsai
wrote in the 1st comment:
Votes:
0
Got everything to compile, yet when I go to the area directory and its showing 'startup' in there. I go to do my './startup &' and its saying
-sh: ./startup: not found
I've not encountered this before. What can I do to fix this?
26 Apr, 2010,
Sandi
wrote in the 2nd comment:
Votes:
0
Mmmmm…. have you checked the permissions on the 'startup' file?
26 Apr, 2010,
mijutsai
wrote in the 3rd comment:
Votes:
0
Yup, and the permissions are actually chmoded to 777 so it should be fine, its strange
26 Apr, 2010,
Tyche
wrote in the 4th comment:
Votes:
0
mijutsai
said:
-sh: ./startup: not found
I'm guessing the startup script is a c-shell script. You need to make sure you have csh or tcsh installed.
A few commands to check come to mind:
$ which csh
/usr/bin/csh
$ cat /etc/shells
/bin/sh
/bin/bash
/bin/ksh
/bin/pdksh
/bin/tcsh
/bin/zsh
/usr/bin/sh
/usr/bin/bash
/usr/bin/ksh
/usr/bin/pdksh
/usr/bin/tcsh
/usr/bin/zsh
Also did you by any chance edit this startup script with Windows notepad, DOS edit, and upload it?
$ cat -v startup | head -1
#!/bin/csh^M
If you see an ^M there, then you've or someone else has done so.
If so, check out Linux utilities conv or dos2unix.
26 Apr, 2010,
Zeno
wrote in the 5th comment:
Votes:
0
I think Tyche is right.
See
http://gammon.com.au/forum/bbshowpost.ph...
26 Apr, 2010,
mijutsai
wrote in the 6th comment:
Votes:
0
yeah i got it rollin, not sure what it was but I wrote a whole new one using UltraEdit and it started right up.
26 Apr, 2010,
David Haley
wrote in the 7th comment:
Votes:
0
If you didn't install any packages, it sounds like it was the line ending problem and UltraEdit knew to do the "right thing".
26 Apr, 2010,
Tyche
wrote in the 8th comment:
Votes:
0
Oh yeah…I knew I wrote this up before:
TextFileConversion
Random Picks
Dark Rifts
DUMII
Lands of Aethar
Top
Jump to
Bottom
0.0
/
8