From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2099 invoked from network); 29 Jun 2006 01:46:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Jun 2006 01:46:45 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 47524 invoked from network); 29 Jun 2006 01:46:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Jun 2006 01:46:36 -0000 Received: (qmail 3120 invoked by alias); 29 Jun 2006 01:46:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10453 Received: (qmail 6242 invoked from network); 24 Jun 2006 11:31:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 24 Jun 2006 11:31:25 -0000 Received: (qmail 66212 invoked from network); 24 Jun 2006 11:31:24 -0000 Received: from castle.ran.pp.ru (213.134.196.14) by a.mx.sunsite.dk with SMTP; 24 Jun 2006 11:31:24 -0000 Received: from localhost (localhost [127.0.0.1]) by castle.ran.pp.ru (Postfix) with ESMTP id 89EA3231BA for ; Sat, 24 Jun 2006 15:31:23 +0400 (MSD) Received: from castle.ran.pp.ru ([127.0.0.1]) by localhost (castle [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04878-01-2 for ; Sat, 24 Jun 2006 15:31:21 +0400 (MSD) Received: by castle.ran.pp.ru (Postfix, from userid 10) id 947B0231B8; Sat, 24 Jun 2006 15:31:21 +0400 (MSD) Received: by wizzle.ran.pp.ru (Postfix, from userid 1000) id CD44861137; Sat, 24 Jun 2006 15:24:44 +0400 (MSD) To: zsh-users@sunsite.dk Subject: insert a partial command into the command line From: Artem Chuprina Date: Sat, 24 Jun 2006 15:24:44 +0400 Message-ID: <04667443@wizzle.ran.pp.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ran.pp.ru Hello. I want the following trick: to invoke from the menu of my window manager an xterm where to run one command with completion (preferrably - in disowned state) and exit just after run. I can run xterm -e zsh -i -t and it will do the most valuable thing of this - allow me to write a command with completion and then exit. But I need to write all the command and manually add '&' to detach it. I could not find a way to supply to this shell a partial command (say, "dict " or "ssh some.host.name ") or to say it that it should automatically run the command in disowned state (&!). Could you help me? -- Artem Chuprina RFC2822: Jabber: ran@jabber.ran.pp.ru