Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #111336
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Random832 <random832@fastmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window |
| Date | Tue, 12 Jul 2016 09:39:42 -0400 |
| Lines | 11 |
| Message-ID | <mailman.17.1468330785.21009.python-list@python.org> (permalink) |
| References | <nm1nln$sku$1@dont-email.me> <57848dba$0$11093$c3e8da3@news.astraweb.com> <1468330782.481118.663973601.0478DF11@webmail.messagingengine.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de UOKYq1gGAhulk/sKxMfDwQ2FI0hESpRTJ47NcKGjAU6Q== |
| Return-Path | <random832@fastmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'portable': 0.09; 'received:internal': 0.09; '"in"': 0.16; '2016': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'subject:cat': 0.16; 'subject:send': 0.16; 'wrote:': 0.16; 'exists': 0.18; 'subject:need': 0.18; 'controlling': 0.22; 'header :In-Reply-To:1': 0.24; 'translated': 0.27; 'print': 0.30; 'run': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'tue,': 0.34; 'something': 0.35; "isn't": 0.35; '(i.e.': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'display': 0.37; '12,': 0.37; 'received:66': 0.38; 'why': 0.39; 'subject:the': 0.39; 'rather': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'header :Message-Id:1': 0.61; 'jul': 0.72; 'subject:have': 0.80; 'subject:, \n ': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=/fH+LSM1rrrlgMZnMcEnVEIrYtI=; b=KvTb/9 aJ5be6gWsq+Ufo8WwdU/q//0m3Jh5Uuw8juC50LzEDMYSNjp2qQ10lU870Xqjvqa pDPX+KcNbYzRtwyiXSu6A4AEExAeGKOudeXPUbs8QXCseK608OXjdKoOlSMkZj2Q zKFQi+3Bo+06IyyzUnI4OnRaJbPTOVgSaGGLk= |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=/fH+LSM1rrrlgMZ nMcEnVEIrYtI=; b=Sq7ysSPmYhNivSVgGevFahjck4jZoMBFFthAkpg+s2+IacZ WfNUl7eaQeegIWzVPvgeZHxfPeC+opoxMTGaBqm56RSAyYDFrfUrShwOIOTwfCvP 3f+6lcRlB5m8M2nyZphnT+9KDTh0iveqgd4vTmXZYf/Ndf+dp16JrVZ1xTE0= |
| X-Sasl-Enc | TgealWX+MODnM51lbAWL/9s8VsfMTH6cJN9GpDf7dimK 1468330782 |
| X-Mailer | MessagingEngine.com Webmail Interface - ajax-c65b75c9 |
| In-Reply-To | <57848dba$0$11093$c3e8da3@news.astraweb.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <1468330782.481118.663973601.0478DF11@webmail.messagingengine.com> |
| X-Mailman-Original-References | <nm1nln$sku$1@dont-email.me> <57848dba$0$11093$c3e8da3@news.astraweb.com> |
| Xref | csiph.com comp.lang.python:111336 |
Show key headers only | View raw
On Tue, Jul 12, 2016, at 02:27, Steven D'Aprano wrote: > On Tuesday 12 July 2016 13:20, Veek. M wrote: > > I then need to get it translated which also works and then display in > > XTerm using cat. > > Why not just print it? Why do you have to use cat? Well, displaying something in a new xterm (i.e. not one that already exists and is your controlling terminal) without a process to run "in" the terminal is rather esoteric and isn't portable to terminals other than xterm.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window "Veek. M" <vek.m1234@gmail.com> - 2016-07-12 08:50 +0530
Re: subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-07-12 16:27 +1000
Re: subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-07-12 16:28 +1000
Re: subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window Random832 <random832@fastmail.com> - 2016-07-12 09:39 -0400
Re: subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window "Veek. M" <vek.m1234@gmail.com> - 2016-07-12 19:43 +0530
Re: subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 18:42 -0700
csiph-web