From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Tramp prompt (?) issue Date: Thu, 03 Sep 2020 05:02:28 +0200 Message-ID: <87tuwf7ebf.fsf@ebih.ebihd> References: <87bljz5fvl.fsf@ebih.ebihd> <87lfj1z08o.fsf@ebih.ebihd> <87mu3gdfyx.fsf@gmx.de> <871rkrxxsd.fsf@ebih.ebihd> <878seyzp0q.fsf@gmx.de> <87d04awv7w.fsf@ebih.ebihd> <878seywuow.fsf@ebih.ebihd> <87zh7exm24.fsf@gmx.de> <87o8ntq7vl.fsf@ebih.ebihd> <87ime0ozzk.fsf@ebih.ebihd> <87ft93yfvw.fsf@gmx.de> <87a6zbpuy5.fsf@ebih.ebihd> <87mu3bo8bl.fsf@gmx.de> <87eeona2k0.fsf@ebih.ebihd> <87imdyoq0s.fsf@gmx.de> <87d03q6q89.fsf@ebih.ebihd> <87wo1xjyv0.fsf@gmx.de> <87d03px7nx.fsf@ebih.ebihd> <87sgckjpmr.fsf@gmx.de> <87o8n7ubck.fsf@ebih.ebihd> <87zh6rj13k.fsf@gmx.de> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2949"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:tuIA2Rac26OTj7PBlGi0e+U72EU= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 03 05:02:58 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDfWc-0000fA-1d for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 05:02:58 +0200 Original-Received: from localhost ([::1]:55808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDfWb-0006VP-3x for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Sep 2020 23:02:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDfWH-0006VH-RE for help-gnu-emacs@gnu.org; Wed, 02 Sep 2020 23:02:37 -0400 Original-Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:36774 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDfWG-0002fx-3v for help-gnu-emacs@gnu.org; Wed, 02 Sep 2020 23:02:37 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kDfWD-0000Dc-AT for help-gnu-emacs@gnu.org; Thu, 03 Sep 2020 05:02:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/02 22:41:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123916 Archived-At: Michael Albinus wrote: >> That's it! >> >> (setq tramp-histfile-override nil) >> >> and now it works! > > Hooray! > > Have you used the (existing) "sshx" method, or one of > the "my*" approaches? Sorry for the delay. Everything in time... At the SunOS system, with no files there whatsoever, and $ ps -p $$ # indicates bash, these settings and the command last works: ;;; -*- lexical-binding: t -*- ;;; ;;; this file: ;;; http://user.it.uu.se/~embe8573/emacs-init/tramp-my.el ;;; https://dataswamp.org/~incal/emacs-init/tramp-my.el (require 'tramp) (setq tramp-default-method "ssh") (setq tramp-histfile-override nil) (setq tramp-verbose 10) (add-to-list 'tramp-methods '("myssh" (tramp-login-program "ssh") (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("-t" "-t") ("%h") ("\"/bin/sh -i\"") )) (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")) )) ;; (find-file "/myssh:embe8573@polhem.it.uu.se:darn.txt") -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal