TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JAMES HARRIS
from: CHARLIE GIBBS
date: 2017-04-05 21:37:00
subject: Re: 64Gbyte flash memory

On 2017-04-05, James Harris  wrote:

> On 05/04/2017 18:00, Charlie Gibbs wrote:
>
>> On 2017-04-05, Axel Berger  wrote:
>>
>>> Charlie Gibbs wrote:
>>>
>>>> and many programs (e.g. cat) assume a tab every 8 spaces.
>>>
>>> Are you seriously using an editor for actual work, that does not even
>>> have have a configurable tab length?
>>
>> Yes: vi on Linux, Notepad on Windows.  (I compile the same source code
>> for both systems, and edit it on whichever one is more appropriate at
>> the time.)
>
> Notepad uses CRLF line endings. AFAIK, vi uses LF only. How do you deal
> with that?

I zip files being transferred between machines.  This ensures that time
stamps are preserved (and, as a bonus, checksums the individual files).
Zip also has options to fix up the line endings when going from machine
to machine.

> When using Windows to edit Unix files I usually use Wordpad since it
> accepts existing files with LF line ends.

Interesting.  My way gives me native line endings on both machines, though.

--
/~\  cgibbs@kltpzyxm.invalid (Charlie Gibbs)
\ /  I'm really at ac.dekanfrus if you read it the right way.
 X   Top-posted messages will probably be ignored.  See RFC1855.
/ \  HTML will DEFINITELY be ignored.  Join the ASCII ribbon campaign!

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

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