From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Re: Defining "\r" Behavior in SSH Window Date: Fri, 09 Mar 2007 08:50:33 -0500 Message-ID: <45F16629.10001@gatech.edu> 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 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173448289 17629 80.91.229.12 (9 Mar 2007 13:51:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2007 13:51:29 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 09 14:51:21 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 1HPfVA-0003oZ-Lx for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2007 14:51:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPfVS-0002gF-WD for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2007 08:51:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPfVH-0002gA-0C for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:51:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPfVE-0002fy-KJ for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:51:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPfVE-0002fv-Dx for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:51:24 -0500 Original-Received: from deliverator4.gatech.edu ([130.207.165.164]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HPfUt-0006Dm-VG for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:51:04 -0500 Original-Received: from deliverator4.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B4C5AA4D6 for ; Fri, 9 Mar 2007 08:51:02 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx3.gatech.edu (mailprx3.prism.gatech.edu [130.207.171.17]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator4.gatech.edu (Postfix) with ESMTP id 215E0A488 for ; Fri, 9 Mar 2007 08:50:34 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [128.61.73.81] (r73h81.res.gatech.edu [128.61.73.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx3.gatech.edu, sender=n/a) by mailprx3.gatech.edu (Postfix) with ESMTP id D3BBD21F5 for ; Fri, 9 Mar 2007 08:50:33 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.10 (X11/20070306) In-Reply-To: <1173445045.120776.193280@n33g2000cwc.googlegroups.com> X-Enigmail-Version: 0.94.3.0 X-detected-kernel: Solaris 9 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:41829 Archived-At: 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: 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