TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: All
from: Frank Haber
date: 2006-07-30 10:00:58
subject: Text Flavors in xxNIX

From: "Frank Haber" 

The question: What trouble can a modern Linux/BSD user get into with line
endings, config files and ASCII/UNICODE flavor?

The back story: I remember, from pre-history, these:

o ^Z EOFs completely bollix old MS linkers. o Mac CR EOLs are poison in
UNIX config files.  PC CRLFs just make the parsers stop cold.

Recently, on the NT board:

I find that XP notepad handles big-endian UTF-16 fine, and WordPad does
not, or possibly interprets as some Asian alphabet.  I'm not about to try
REGEDIT import.

So the questions are, I guess:

1. What kind of trouble can I get into on modern Linux....blah, blah (see
first line).

2. I have a couple of dragondrop utils on NT that can fix line endings.
Drop a file thereon; follow prompts to strip CRs, convert to Mac, etc. 
Ever seen a similar filter for Linux?  One that knows about Unicode 8/16
and byte order? And one for Win that knows Unicode?\

3. My UltraEdit 12 on Win can output any of the above, and more.  Is there
a Pico-ish editor for UNIX that can do the same?  Vi and Emacs need not
apply.

-joe user

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.