7/4/02 1:14:25 PM, "[K][R][Y][P][T][O][N]" <[EMAIL PROTECTED]> 
wrote:

>Thanks ill will .. to tell you honestly i use VI as my default text editor
>in linux
>yun nga lang wala kase akong choice nun time na i have to make a 
config
>file, eh
>walang linbox so i decided to make it in notepad... hehehehe so when i
>overwrite the file
>thats the time that i realized i made a bubu... hehehehe.

Ganun din ako noon. I was running Counter-Strike 1.3 server on a 
Linbox. I went to the Windows machine to configure the Counter-strike 
client. Ang server.cfg sa Linbox nakashare sa mga windows client via 
Samba. Guess what? I edited the server.cfg on the Samba shared by the 
Linbox (read and write permission) with Notepad. After saving the file, di 
na mabasa ng CS Linux binary ang server.cfg. Hehehehe...

Opening up the file in StarOffice 5.2 later, I saw the offending codes. I 
removed this and everything was fine after that.

One lesson I learned. If I am booted to Linux, it's great to edit Windows 
batch files and other comparable text files in my Windows partition with 
StarOffice and Openoffice. Openoffice will immediately recognize these 
as Windows-type files and automatically apply Windows-like editing on 
this. Open and save. It's simple as that, no need to run dos2unix and 
similar commands.

By the way, I might try exploring dos2unix and other commands that will 
strip the file, just in case I don't have OpenOffice installed in a Linux box. 
Thanks to everyone, I learn from this mailing list everyday. If I had this 
mailing list way back in high school, baka di na ako nag-college. 
Hehehehe...I wonder how Steve Wozniak became a self-taught computer 
whiz.

mikol



_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to