From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sangmin Ryu" Newsgroups: gmane.emacs.help Subject: How to emacs input from stdin with pipe? Date: Tue, 7 Oct 2008 23:44:32 -0700 Message-ID: <3c9a1ada0810072344y4e664927u468ac435631afc4e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_65292_30233801.1223448272769" X-Trace: ger.gmane.org 1223480140 18425 80.91.229.12 (8 Oct 2008 15:35:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 15:35:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 17:36:34 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnayL-0007ib-FU for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 17:29:09 +0200 Original-Received: from localhost ([127.0.0.1]:47256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnaxH-0007M4-5u for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 11:28:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnSmi-0006HR-GS for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 02:44:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnSmh-0006GL-1Q for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 02:44:36 -0400 Original-Received: from [199.232.76.173] (port=57880 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnSmg-0006GE-Qa for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 02:44:34 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.174]:53944) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnSmg-0006Ws-JU for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 02:44:34 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so3786479wfc.24 for ; Tue, 07 Oct 2008 23:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=4D4OxMWYozFOFOt+KbJfw7r2i31Om7hlxu0dBiOt4iQ=; b=OAFrXHC3zPrHgE2aVv3BiExGXW7MX38MM7ZAWSCdoo/YtxjudN508H2eA6KV6jHx5E 5pXJs+HBi3Q5s2cF+btGMTD7Sik5a/szu/TPXn7Qq/oK3Mqfg54ACNbC4mbZh2C3M1GB Ecz4UVLxXWzgVg53tGaqcJg9qE50HYgPIjwW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=X8G3twgfOCSnMtDxycto9W3diWBb2zgup/aF3FMFR1tzFDS3tmKUYT7iziaQTUNyzS quswUCoWM3/x3T/dwh/y/c9EceXnXtvJxKlzeGzhE9vd/tmtxxJmuKDMirVW+PhPTHc6 hmidTVNmCFmm0UBoL3PIyPV7LDsKu1savSCNg= Original-Received: by 10.142.200.20 with SMTP id x20mr3239856wff.108.1223448272797; Tue, 07 Oct 2008 23:44:32 -0700 (PDT) Original-Received: by 10.142.111.18 with HTTP; Tue, 7 Oct 2008 23:44:32 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 08 Oct 2008 11:27:42 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58543 Archived-At: ------=_Part_65292_30233801.1223448272769 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I want below using ls | vim - now I think about -t option like that operation. But I fail in spite of many trying. -t file Use specified file as the terminal instead of using stdin/stdout. This must be the first argument specified in the command line. I want to use emacs in that situation. -- http://neocoin.net ------=_Part_65292_30233801.1223448272769 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I want below using

ls | vim -


now I think about -t option like that operation. But I fail in spite of many trying.

 -t file Use  specified  file  as  the terminal instead of using stdin/stdout.  This must be the first
         argument specified in the command line.

I want to use emacs in that situation.

--
http://neocoin.net
------=_Part_65292_30233801.1223448272769--