Unix (?) text files display problem

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ymmv
Junior Member
Junior Member
Posts: 34
Joined: 2004-03-06, 12:22 UTC

Unix (?) text files display problem

Post by *ymmv »

I regularly get text files where a new line is indicated by 0D 0D 0A. When I view those files in a text editor like UltraEdit all is well, but when I view them with the Lister in TC every line is followed by an empty line.

I haven't been able to find an option in TC that will display these text correctly. Am I missing something obvious here??
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Line ends---

Post by *Clo »

2ymmv
:)   Hello !
• In UNIX texts, there is a single character only to show the line-end.

• Lister is designed for DOS / Win texts where there are two line-end characters (#10 and #13)
• This could explain the empty row following the full row...

• There is none option for UNIX text, thought the "Automatic" option could recognize it (that is done in another feature for FTP...).
• Whether isn't a small bug (?) it's worth to be added on the Author's wish-list. I attempted to display UNIX texts directly from servers, that works in Lister, but I couldn't reproduice exactly that you describe.
:mrgreen:  Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
ymmv
Junior Member
Junior Member
Posts: 34
Joined: 2004-03-06, 12:22 UTC

Post by *ymmv »

I've been googling on those ODODA line endings and they're certainly non-standard. They seem to occur with some MSDOS commands and when transfering text files thru FTP using the wrong settings. The funny thing is that not only UltraEdit seems to understand this convention and leave out the extraneous empty lines, Notepad does as well! I wonder if there are other text editors around that do this. If this is the case, perhaps TC's lister should as well.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply