From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.help Subject: Re: Editing a file as root Date: 19 Dec 2003 12:16:15 +0100 Organization: Dept of Computer Science, Utrecht University, The Netherlands Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87u13zb9sb.fsf@emptyhost.emptydomain.de> <3FE1E3D1.9030809@yahoo.com> <877k0uq8tb.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071851672 14605 80.91.224.253 (19 Dec 2003 16:34:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2003 16:34:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 19 17:34:27 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 1AXNa7-0006E4-00 for ; Fri, 19 Dec 2003 17:34:27 +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 1AXOTQ-0003ku-Cg for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Dec 2003 12:31:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsfeed.bit.nl!newsfeed.bit.nl!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!humbolt.nl.linux.org!news.nl.linux.org!phil.uu.nl!ruu.nl!cs.uu.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: modena.cs.uu.nl Original-X-Trace: june.cs.uu.nl 1071832570 20221 131.211.80.35 (19 Dec 2003 11:16:10 GMT) Original-X-Complaints-To: news@cs.uu.nl Original-NNTP-Posting-Date: Fri, 19 Dec 2003 11:16:10 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:119514 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:15458 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15458 >>>>> Kai Grossjohann (KG) wrote: KG> Kevin Rodgers writes: >> Does tramp provide a hook where Se'bastien could do >> >> (set (make-local-variable 'process-connection-type) t) KG> Hm. Since it is used when start-process is called, then maybe I KG> should just provide a tramp-process-connection-type variable to KG> tweak... Does anybody here want to submit a patch? ;-) I think inside tramp process-connection-type should always be set to t (or 'pty) I have advised tramp myself to get this: (defadvice tramp-maybe-open-connection (around set-process-connection-type) "Set process-connection-type to pty." (let ((process-connection-type 'pty)) ad-do-it)) (ad-activate 'tramp-maybe-open-connection) -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.van.Oostrum@hccnet.nl