From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: implementing a heartbeat for tramp Date: Thu, 30 Oct 2003 21:22:21 +0000 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87r80umnea.fsf@emptyhost.emptydomain.de> References: <877k2vpqjz.fsf@killr.ath.cx> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067551607 28075 80.91.224.253 (30 Oct 2003 22:06:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 22:06:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 30 23:06:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFKwG-0006dB-00 for ; Thu, 30 Oct 2003 23:06:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFKhb-00031e-RV for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2003 16:51:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!213-203-244-156.kunde.vdserver.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de (213.203.244.156) Original-X-Trace: news.uni-berlin.de 1067548954 38032107 213.203.244.156 (16 [73968]) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:FDny7DpoSvTU4Du/ZDTicx4vnGs= Original-Xref: shelby.stanford.edu gnu.emacs.help:117731 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13670 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13670 Matthew Kennedy writes: > My idea was to create a timer, which walked all emacs buffers looking > for tramp buffers. When it found one, it would (maybe) > `tramp-send-command' to send a heart-beat (I guess some kind of null > operation... touch /dev/null??? -- or maybe the command itself > suffices) I think "echo heart-beat" would do fine :-) Or maybe "echo hello", that's used in Tramp for other purposes already, I think. But maybe someone can come up with a really KEWL command that goes well with the name Tramp? Are you going to contribute your code? That would be just great. Hm. Hmmm... Isn't there a keep-alive option for ssh? Just a thought. Kai