Re: Windows only env + remote conf files

Diego Torres Milano <[email protected]>
Newsgroups gmane.linux.pxes.devel
Message-ID <1067318035.13471.7.camel@zebra>
On Mon, 2003-10-27 at 08:35, Wayne Love wrote:
    Diego,
    
    In the rcS file, when downloading the remote conf files, you use binary
    transfer mode instead of ascii.  Is there any particular reason for this?
No, I've already suffer from this, and it's removed in the next PXES
release.
    
    The reason that I ask is that we are running a Win2k boot server that also
    hosts the remote conf files.  If we edit the conf files with a windows
    editor (eg notepad) then it sticks in the dos LF/CR pair.  This then
    confuses the script when the (now dos formatted) file is transferred as the
    variables pickup the unexpected CR character.
    
    This can all be solved by using the ascii transfer mode.  Diff output below.
    
    Cheers
    Wayne
    
    380c380,384
    <               binary
    ---
    > # Wayne Love - 2003-10-23 - Change to ascii to accomodate conf files
    > # that have been edited using a dos/windows based edit (ie convert the
    > # CR/LF pairs in to LF only)
    > #             binary
    >               ascii
    
    
    -------------------------------------------------------
    This SF.net email is sponsored by: The SF.net Donation Program.
    Do you like what SourceForge.net is doing for the Open
    Source Community?  Make a contribution, and help us add new
    features and functionality. Click here: http://sourceforge.net/donate/
    _______________________________________________
    pxes-devel mailing list
    [email protected]
https://lists.sourceforge.net/lists/listinfo/pxes-devel
-- 
    ______  ________                                             
   /  /   \/  /___  )  I  N   T   E   G   R   A   C   I   O   N  
  /  /       /___  /   I  N   F   O   R   M   A   T   I   C   A  
 /__/__/\___/_____'    
 Diego Torres Milano   Maipu 42 Office 164  (1084) BA Argentina
 [email protected]      Tel: +5411 4331-2233      www.in3.com.ar



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.