TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: `SAMMY MITCHELL`
date: 1998-02-10 02:30:00
subject: Re: Within a file what is 0D (Hex) ?????02:30:1002/10/98

From: "Sammy Mitchell" 
> 1)  WHAT IS   0D  (in HEX)
As someone else replied, this is the Carriage Return character.  Just for
your edification , The MS family of OS'es saves text files with each
line terminated by a 0dh 0ah (Carriage Return Line Feed) pair - I believe
that
this was a legacy from CP/M.  In the MAC world, 0dh only is used.  In the
UNIX world, 0ah only is used.  Many a programmer has often wished that the
UNIX approach had been used for MS-DOS and Windows.  Sure would make
scanning for eol much easier (and faster!)
> 2)   How come it can't be seen in  TSE32 (Hex mode).
Because TSE does not display the end-of-line characters unless you edit a
file in binary mode.
> 3)   How can it be removed using TSE32.
Load the file in binary mode (-b on the command line) and delete it, then
save the file.
You might also try the As-Loaded line termination option.  If the file in
question has a consistent end-of-line (each line ends in the same character,
not a mixture of end-of-line types), then using this option will allow a MS
style file to be loaded and saved as such, and a UNIX style file to be
loaded and saved as such.
Sammy Mitchell
SemWare Corp.
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

SOURCE: echomail via exec-pc

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™.