DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • September 20, 2018, 12:36:32 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Problem With Inn-2.4 and InnRangers  (Read 3455 times)
0 Members and 1 Guest are viewing this topic.
DarkKnightRadick
Guest
« on: April 15, 2004, 08:15:39 PM »

The files were made using some program that saves the data in noeol format and while I can open the files, it's one single line with a bunch of ^M that indicate a line break. I've tried dos2unix to fix the file (with a dos created file (or one created in notepad on Windows) all the ^M would be translated into line breaks and the file would display with the correct formating) but that didn't change anything. I don't believe its WinZip doing it either as I've edited other zip files w/o this problem.

So while this problem is annoying, it's not unworkable (although I went through the innrangers file to fix it and have it display correctly but the next t ime I opened it the file had the same problems).

Is there anyway to fix this w/o veiwing the source and copy and pasting this rather large script into a new file?
Logged
markneill
Guest
« Reply #1 on: April 16, 2004, 08:31:56 AM »

Wordpad views the file correctly.  However, upon converting it to a UNIX-viewable format, it stops working on my server.

So, I'm just leaving it as it is.
Logged
DarkKnightRadick
Guest
« Reply #2 on: April 16, 2004, 11:41:21 AM »

I discovered the same problem and upon further investigation found that it's not the format that caused it to stop working but the permissions because the tool used to convert it, for some reason, sets the permissions to be very restrictive.

I guess I'll just view the source and copy into a new file. Thanks anyways.
Logged
markneill
Guest
« Reply #3 on: April 16, 2004, 12:05:55 PM »

It's nott he permissions on my side, if I convert it, even manually, it stops working, even if I then assign it mode 777 permissions so everything has full access to it.

I just chalk it up to the Rangers hating me.
Logged
bobloblian
Guest
« Reply #4 on: April 17, 2004, 07:45:43 PM »

you can use vi to fix this problem on a linux box.  the command is :
%s/ctrl-v-Enter/ctrl-v-Enter/g
Logged
bobloblian
Guest
« Reply #5 on: April 17, 2004, 07:47:06 PM »

whoops, not quite right, needs to start with a colon
:%s/cntl-v-Enter/cntl-v-Enter/g
Logged
strider
Guest
« Reply #6 on: April 18, 2004, 09:53:06 PM »

Sorry guys, I'm running OSX and I forget that permissions get passed through to those of you actually on Unix.

The VI patch posted above is the best way to go.

Any more problems and I'll try to keep an eye out for it.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
41 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search