From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "gamename" Newsgroups: gmane.emacs.help Subject: Re: Defining "\r" Behavior in SSH Window Date: 9 Mar 2007 10:20:13 -0800 Organization: http://groups.google.com Message-ID: <1173464413.273490.246290@64g2000cwx.googlegroups.com> References: <1173445045.120776.193280@n33g2000cwc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1173465611 25260 80.91.229.12 (9 Mar 2007 18:40:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2007 18:40:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 09 19:40:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HPk0b-0004nJ-Ll for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2007 19:40:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPk0u-00039Z-TE for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2007 13:40:24 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!64g2000cwx.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 67.110.226.222 Original-X-Trace: posting.google.com 1173464419 27729 127.0.0.1 (9 Mar 2007 18:20:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 9 Mar 2007 18:20:19 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 64g2000cwx.googlegroups.com; posting-host=67.110.226.222; posting-account=l5OKnQ0AAADrHOPMVhCpAmIoocOY27KZ Original-Xref: shelby.stanford.edu gnu.emacs.help:146234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41838 Archived-At: On Mar 9, 5:50 am, Matthew Flaschen wrote: > gamename wrote: > > Hi, > > > I have a C application that does "printf("\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: Can't. :) I would if I could. The app is outside my control. > > printf("\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