From: Maksim Otstavnov <maksim@otstavnov.com>
To: community@altlinux.ru
Subject: Re[2]: [Comm] [off] Cygwin crlfs
Date: Mon, 21 Jul 2003 07:55:01 +0400
Message-ID: <3462325148.20030721075501@otstavnov.com> (raw)
In-Reply-To: <20030721002235.4cd269af.dsa@bk.ru>
Hello Dmitry,
Monday, July 21, 2003, 12:22:35 AM, you wrote:
DA> Доброго времени суток.
DA> Mon, 21 Jul 2003 00:05:10 +0400 Dmitry Azhichakov писал(а):
>> Доброго времени суток.
>>
>> Sun, 20 Jul 2003 22:04:17 +0400 Maksim Otstavnov писал(а):
>> > Извините за вопрос не по теме, но кто-нибудь здесь наверняка (?)
>> > знает.
>> >
>> > Обнаружил, что в Cygwin cat записывает терминальный ввод в файл с
>> > <cr><lf>s вместо <cr>s. Vim также создает файлы с <cr><lf>s.
>> >
>> > bash такими файлами давится.
>> >
>> > Как-то это можно решить?
>>
>> Cygwin при установке спрашивает какие переводы строк использовать: DOS
>> или UNIX. Надо переустановить Cygwin не меняя списка пакетов и
>> выбрать, соответственно, DOS.
DA> Сорри, ошибся.
DA> Вообще-то конец строки <CR> - это Mac.
Пардон, сонный был.
DA> Cygwin так не умеет. Если же надо
DA> UNIX (т.е. <LF>), то выбрать при установке UNIX.
Ровно так и установлено.
PS: откатившись на родной сигуиновский vim 5, добился нормального
редактирования, но cat с терминала в файл все же добавляет мсдосовский
мусор.
next prev parent reply other threads:[~2003-07-21 3:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-20 18:04 Maksim Otstavnov
2003-07-20 20:05 ` Dmitry Azhichakov
2003-07-20 20:22 ` Dmitry Azhichakov
2003-07-21 3:55 ` Maksim Otstavnov [this message]
2003-07-22 8:14 ` Re[2]: " Dmitry Azhichakov
2003-07-22 16:23 ` Re[4]: " Maksim Otstavnov
2003-07-21 1:16 ` Alexander Kirey
2003-07-21 1:23 ` Alexander Kirey
2003-07-21 8:56 ` Re[2]: " Maksim Otstavnov
2003-07-23 5:32 ` Alexey Voinov
2003-07-23 10:01 ` Re[2]: " Maksim Otstavnov
2003-07-24 4:25 ` Alexey Voinov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3462325148.20030721075501@otstavnov.com \
--to=maksim@otstavnov.com \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git