× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On 22/03/2006, at 12:31 AM, rob@xxxxxxxxx wrote:

Basically, like it has a CRLF or some such animal.
However, when I either use iNav to drag it to a folder on my pc, or use
ftp in ascii mode, either way looks like no CRLF.
Wait!  When I pasted the results from Notepad to here it looks good.
What's going on? I'll open it in Wordpad instead of Notepad. That looks
ok now.

It probably has an EOL character that is not recognised by Notepad. In EDTF press F15 and it will show you what it thinks the line ending character is (are).

There are four possible EOL character(s);
        1) CRLF - Common on PC
        2) LF   - Common on Unix
        3) CR   - Common on pre-OS X macs
        4) LFCR - Rarely if ever used

I expect that Notepad only supports CRLF while Wordpad is a little more open-minded.

Use DSPF and view the data in Hex and you'll be able to see what sort of EOL character is in the data. Given that this is a Domino log file which likely means Unix-weenies wrote it then it is probably using LF.

I have some vague idea that you can get FTP to convert LF or CR into CRLF pairs. Hmm ... have to check. However there are plenty of free programs that will convert EOL characters and you could probably use the tr shell command to accomplish this.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.