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

On 05/04/2017 22:37, Charlie Gibbs wrote:
> 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.

Ah, OK. Moving files is more work than I had in mind but I take your
point about using zip options.

I have my Unix systems present Windows shares so that I can edit files
on a Unix box just as if they were on my Windows machines. No file
transfers needed.

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

On Unix there are various ways to adjust the line endings. On Windows,
you can replace LF with CRLF by copy from Wordpad and paste to Notepad.

--
James Harris

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