From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas Newsgroups: gmane.emacs.help Subject: Re: How to get eshell to do what I used to do with shell Date: Sun, 11 Aug 2024 15:19:39 +0530 Message-ID: <86jzgnie30.fsf@outlook.com> References: <86cymgytwm.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33902"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Help-gnu-emacs@gnu.org" To: "KARR, DAVID" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 11 11:50:34 2024 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 1sd5Dd-0008jj-To for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Aug 2024 11:50:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sd5Cz-0001Nj-Sp; Sun, 11 Aug 2024 05:49:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sd5Cy-0001NZ-8K for Help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 05:49:52 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sd5Cw-00063p-63 for Help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 05:49:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723369784; x=1723974584; i=jimjoe@gmx.net; bh=mQ57TT/ukaxyHMNfLVchOcAqfc2XpgFem4Z7maoOJvM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=LGCi0joKwWVfAZXQTeclw0IneUO7Xu5eWe5Hzb+4tEUWJWbBLt6OwS2dQ+yHQ6BL 7/OGFD+sXQLM2eQX0NNb6neTsDTfa5A7U32Vs+fVIIJHN4hDBmtLmUeZzwaRFiPOR U8EgtXGtshQc9jxNlOHxg1XXnqSFE3f+mPNTPOPPyDOYs6n/xHYSzJW6Thu6Mlf8x LcqKT/g0NUQABze7i9CTlUDefM48+c4boUgFetDZ20h+evhMGVJxzhFq/HuzyKqZr iLFWJG67ej0Wf0adSNiCt7xab9LV7L85aBS0is7JYd1CbZZ9UuhUdt5qQQg7+9uQX VTl+pvjwDwRbmJXHSw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([59.182.117.237]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MTzfG-1smXP32nVi-00SEp3; Sun, 11 Aug 2024 11:49:44 +0200 In-Reply-To: (DAVID KARR's message of "Sat, 10 Aug 2024 21:06:03 +0000") X-Provags-ID: V03:K1:NncDwhIjEwwfhDStzx9ygFvmw4BBr4DMe5pTuF48hZrq/ofzK8X oGZozKil5dgzg+2ANNdwgKCfm4VeBo/P2luT0cCcl8nhmDU5Fmy1VUmZZjFXVI33Rx+Hpp3 2mBNlAsaDpyUaqrgqJEOecBzLa9qKjQJNEiUxh7x/9j6epJKbCdD1t3hC0FTkhDhvmv6k1q wbLAmGqXL9owBJf+HyL4Q== UI-OutboundReport: notjunk:1;M01:P0:G4ak5JfcGhQ=;q3R48VAIyAMrPrIJ6BSZCwvW2Nd 9riju0k9Nkr9zbcvQmbjIza/6/ytFey4Qdq0vTP1i+6noSB4klxg96nhctGNILLB7TrWRyVUo j6/V+sREcHdurpwrE9zwiFI9kxHpSkPevXDg03ghUyv1B8PZF5p04Kuco1A7DnxCLz8gNPNt/ OzOGy9G6aQNaHIDsxP6Dueup/5y9owGY7VD28F/KHKcnX3mUBu+2ITYMIsyCqXPC91yLPtE3j +wmUwRVmLLa64quKwdZ3kdqF45J2TUKZG0k+bQVuif9L3uL5nEtTA8Jf+wzqxuu9niCMQFky7 ew6o3ktphgSF74ypx/OcS1LMS6PACvg/IBUgVeI5tF7UEkRuoqzLM5yGqLuA8G7HYMaLyn7me Z6QM+lJYCCxyxcVH9dnOUvUHLk0hYZxN5LmZfm4wy41c3WtIzlNV6rPhAOtgW0zjcBC3qdgZO yZLMyEnSexkOzH9HJIzqkZbsNkWG6rKf0wbfHSCN0blQqGdmT/wGjq62zEEvTkTNiAhlf/Dra mtciFppNyj9SboWAfMjhbPKpAXGw90RSxvavFELi3TBILYqqwp9/SyM0zswFIrnudnWZzV7HS WUrKvcEjkoLihwVZK5acRsOu+kSzKwqn2zOX4Rezva/9P0WFoWDqY06RgG5cmUwPvC4U2VTMf PtiW+jGOs9jWoK6cN4oJYOySbi6VsBwbAm209m+R8d7qWPs8ghEg8H7udJ4xn4LoTd9nP/I3z OOW/ZQxjaoihKwZdGk2xs05iZKWTJ0vDPawlTTWYl1gVQZAZ+tICylijQYPNJdhCyftyd/Ej Received-SPF: pass client-ip=212.227.17.21; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147601 Archived-At: KARR, DAVID wrote: > By "different remotes", do you mean different hosts? I wouldn't be > doing that at all. All right. But this should be applicable even then: > I don't understand that. I will be performing different tasks in > different directories, and the output for tasks in one directory need > to kept separate from the output for tasks in other directories. For e.g. you could add something like this to eshell-pre-command-hook: (lambda () (eshell-set-output-handle 1 'insert (eshell-get-buffer (concat "output-" (eshell/pwd))))) ...if you don't want to do (info "(eshell) Redirection") manually. Eshell is not that well documented, though. I don't know it well either. Regards, James