[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing a file as root
From: |
Piet van Oostrum |
Subject: |
Re: Editing a file as root |
Date: |
19 Dec 2003 12:16:15 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> Kai Grossjohann <kai@emptydomain.de> (KG) wrote:
KG> Kevin Rodgers <ihs_4664@yahoo.com> 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 <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum@hccnet.nl
- Re: Editing a file as root, (continued)
- Message not available
- Re: Editing a file as root, Kai Grossjohann, 2003/12/17
- Re: Editing a file as root, Sébastien Kirche, 2003/12/15
- Re: Editing a file as root, gebser, 2003/12/15
- Re: Editing a file as root, Piet van Oostrum, 2003/12/17
- Re: Editing a file as root, Kai Grossjohann, 2003/12/17
- Re: Editing a file as root, Kevin Rodgers, 2003/12/18
- Re: Editing a file as root, Kai Grossjohann, 2003/12/18
- Re: Editing a file as root,
Piet van Oostrum <=
- Re: Editing a file as root, Kai Grossjohann, 2003/12/21
Re: Editing a file as root, Sébastien Kirche, 2003/12/15
Re: Editing a file as root, kgold, 2003/12/15
Re: Editing a file as root, Sébastien Kirche, 2003/12/17