[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defining "\r" Behavior in SSH Window
From: |
Matthew Flaschen |
Subject: |
Re: Defining "\r" Behavior in SSH Window |
Date: |
Fri, 09 Mar 2007 08:50:33 -0500 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070306) |
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