unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Matthew Flaschen <matthew.flaschen@gatech.edu>
To: emacs <help-gnu-emacs@gnu.org>
Subject: Re: Defining "\r" Behavior in SSH Window
Date: Fri, 09 Mar 2007 08:50:33 -0500	[thread overview]
Message-ID: <45F16629.10001@gatech.edu> (raw)
In-Reply-To: <1173445045.120776.193280@n33g2000cwc.googlegroups.com>

gamename wrote:
> Hi,
> 
> I have a C application that does "printf("<text>\r").  The result in a
> shell window is to produce a newline.  But in an ssh window, a newline
> is not created.  So, the output in a shell window looks like this:
> 
> yadda
> yadda
> yadda
> 
> while the ssh window's output looks like this:
> 
> yaddayaddayadda
> 
> Now can I make the ssh window behave the same way as the shell buffer?

Fix your program. :)  Use:

printf("<text>\n");

I verified that it works over ssh (and in a local, normal, shell).

Not sure what this has to do with emacs, though...

Matthew Flaschen

  reply	other threads:[~2007-03-09 13:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-09 12:57 Defining "\r" Behavior in SSH Window gamename
2007-03-09 13:50 ` Matthew Flaschen [this message]
     [not found] ` <mailman.716.1173448288.7795.help-gnu-emacs@gnu.org>
2007-03-09 18:20   ` gamename
2007-03-10 10:35 ` Colin S. Miller

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=45F16629.10001@gatech.edu \
    --to=matthew.flaschen@gatech.edu \
    --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).