----- Original Message ----
From: Tsunhin John Wong <tjw23(a)pitt.edu>
To: Robinows(a)aol.com
Cc: xemacs-nt(a)xemacs.org; xemacs-beta(a)xemacs.org
Sent: Monday, January 30, 2006 9:40:27 PM
Subject: Re: XEmacs 21.5.24 Cannot load project file to VS .NET
On Mon, 30 Jan 2006, Robinows(a)aol.com wrote:
>
> In a message dated 1/30/2006 4:50:23 A.M. Eastern Standard Time,
> rrankin1424-xemacs(a)yahoo.com writes:
>
>> I tried to load the .dsp (VC6 project file) cannot be load onto my VS .NET
>> Version 7.1.3088 with .NET Framework 1.1 Version 1.1.4322 SP1
>>
>> I was told that the .dsp was corrupted, but I look through it and find the
>> text file seems to be alright
>>
>> Any suggestion for me to solve this?
>
> I don't understand why you don't understand. There's a problem with a
file
> in the XEmacs distribution. Why would you ask on an MS list?
>
> In any case, the answer to the original poster's question:
> xemacs.dsp is missing the carriage returns required by Visual Studio.
> VS can compile source files with Unix line endings but the project files
> need to be DOSish.
> Convert the line endings and things should work fine.
>
>
>
I've tried that, but that's too complicated and I don't know how to write
a bash shell script to perform the LF -> CR LF conversion (in cygwin)
the script has to:
1. check every files in the compilation directory trees
a. to see if it is a text file or a binary file
(using "file"?)
2. if it is a text file, performance a LF -> CR LF conversion
(but by what program? "sed"?)
Since you appear to have Cygwin installed, have you tried cygwin's
unix2dos command? Type 'unix2dos --help' for more info. If it's not
installed, you can install it with Cygwin's setup program by installing
the cygutils package.
--Rick