From: Tobias Gruetzmacher <tobias@portfolio16.de>
To: zsh-users@sunsite.dk
Subject: Re: Vanishing files ?
Date: Tue, 30 May 2006 23:59:33 +0200 [thread overview]
Message-ID: <20060530215932.GA6744@portfolio16.de> (raw)
In-Reply-To: <20060529.105603.104038094.Meino.Cramer@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 888 bytes --]
Hi,
On Mon, May 29, 2006 at 10:56:03AM +0200, Meino Christian Cramer wrote:
> But the '^M' wasn't visible to me, since vim and Microemacs both
> recognized that file as to be "DOS-borne" and switches into DOS-mode
> internally. Vim and Microemacs have special modes to display
> all non-printable characters and would (as I thought in that moment)
> display a stray ^M if switched to that mode.
Vim shows the fileformat it used when opening or writing the file:
"myscript" [dos] 3L, 21C
And you can show and change that setting with ":set fileformat?" and
":set fileformat=unix"
BTW: Vim only asumes fileformat=dos if all lines end with CRLF.
Greetings Tobi
--
GPG-Key 0xE2BEA341 - signed/encrypted mail preferred
My, oh so small, homepage: http://portfolio16.de/
http://www.fli4l.de/ - ISDN- & DSL-Router on one disk!
Registered FLI4L-User #00000003
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2006-05-30 21:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-28 15:24 Meino Christian Cramer
2006-05-28 18:32 ` Bart Schaefer
2006-05-28 18:38 ` Meino Christian Cramer
2006-05-28 23:24 ` Bart Schaefer
2006-05-29 2:38 ` Meino Christian Cramer
2006-05-29 7:57 ` Anssi Saari
2006-05-29 15:32 ` Peter Stephenson
2006-05-29 17:51 ` Paul Lew
2006-05-29 18:16 ` De-script (Re: Vanishing files ?) Bart Schaefer
2006-05-28 18:37 ` Vanishing files ? DervishD
2006-05-28 18:44 ` Meino Christian Cramer
2006-05-29 6:11 ` DervishD
2006-05-29 8:56 ` Meino Christian Cramer
2006-05-29 8:58 ` DervishD
2006-05-30 21:59 ` Tobias Gruetzmacher [this message]
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=20060530215932.GA6744@portfolio16.de \
--to=tobias@portfolio16.de \
--cc=zsh-users@sunsite.dk \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).