unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Gordon <peter@pg-consultants.com>
To: help-gnu-emacs@gnu.org
Subject: emacs ssh cat dosfile
Date: Wed, 20 Jun 2007 17:20:22 +0300	[thread overview]
Message-ID: <1182349222.4004.12.camel@tigger> (raw)

Hi.

I have a file which is DOS format - \r\n - at the end of each line. 

I enter a shell and do "cat file", and it displays correctly.

I then do ssh (even to the same host) and do "cat file". I just see
blank lines. I think that what is happening is the something is seeing
the \r and tries to interpret it.

Is there any way of making this work? I know that there are other ways
to display files, but this is just an example. 

Thanks,

Peter

                 reply	other threads:[~2007-06-20 14:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1182349222.4004.12.camel@tigger \
    --to=peter@pg-consultants.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).