Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Don't drop acid, take it pass-fail!" -- Bryan Michael Wendt


devel / comp.lang.python / Re: Is npyscreen still alive?

SubjectAuthor
* Re: Is npyscreen still alive?Grant Edwards
`* Re: Is npyscreen still alive?Stefan Ram
 `- Re: Is npyscreen still alive?Tim Daneliuk

1
Re: Is npyscreen still alive?

<mailman.157.1682345066.20750.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23051&group=comp.lang.python#23051

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: Is npyscreen still alive?
Date: Mon, 24 Apr 2023 07:04:22 -0700 (PDT)
Lines: 34
Message-ID: <mailman.157.1682345066.20750.python-list@python.org>
References: <6442f8c9.050a0220.3ed35.17c6@mx.google.com>
<FF7D8DCA-73CB-461E-A885-23CC6D11965B@barrys-emacs.org>
<5ad249e5-5c11-a30d-106a-e4a5a21abbf4@gmail.com>
<64468c66.050a0220.c3e8f.372e@mx.google.com>
X-Trace: news.uni-berlin.de RSBFAipzutiAmDEBuBcvbw2kSp4u+Qnk8QNsMAGbHA/A==
Return-Path: <grant.b.edwards@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=kI5LZOjK;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'looks': 0.02; 'run.':
0.05; 'console,': 0.09; 'dependencies': 0.09; 'environment,':
0.09; 'fonts': 0.09; 'library,': 0.09; 'linux': 0.09; 'mechanism':
0.09; 'terminal': 0.09; '.py': 0.16; 'anything,': 0.16; 'barry':
0.16; 'command-line': 0.16; 'from:addr:grant.b.edwards': 0.16;
'from:name:grant edwards': 0.16; 'gui.': 0.16; 'subject:alive':
0.16; 'subject:still': 0.16; 'textual': 0.16; 'unicode': 0.16;
'windowed': 0.16; 'wrote:': 0.16; 'grant': 0.17; 'to:addr:python-
list': 0.20; 'machine': 0.22; 'maybe': 0.22; 'install': 0.23;
"i'd": 0.24; 'suspect': 0.26; 'local': 0.27; 'recently': 0.29;
'header:User-Agent:1': 0.30; 'program': 0.31; 'but': 0.32; "i'm":
0.33; 'windows': 0.34; 'requires': 0.34; 'received:google.com':
0.34; 'running': 0.34; 'complex': 0.35; 'definitely': 0.35;
'received:209.85.166': 0.35; 'from:addr:gmail.com': 0.35;
'target': 0.36; 'work,': 0.36; 'really': 0.37; 'using': 0.37;
'received:209.85': 0.37; 'file': 0.38; 'received:209': 0.39;
'quite': 0.39; 'single': 0.39; 'text': 0.39; 'this,': 0.39; 'use':
0.39; 'much.': 0.39; 'on.': 0.39; 'advantage': 0.40; 'consistent':
0.40; 'something': 0.40; 'michael': 0.60; 'color': 0.62; 'great':
0.63; 'copy': 0.63; 'full': 0.64; 'look': 0.65; 'well': 0.65;
'now,': 0.67; 'types': 0.67; 'mind.': 0.67; 'right': 0.68;
'article,': 0.69; 'days,': 0.69; 'older': 0.70; 'out.': 0.80;
'adopt': 0.84; 'observing': 0.84; 'mode.': 0.89
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1682345063; x=1684937063;
h=to:user-agent:references:subject:from:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=e0MNui26PRBxM/00zn1h/W2Rp7IzH6yT0sYdJK4Ph/w=;
b=kI5LZOjK6LoDQ+DMmWInsciZrvOMYc8lte5/SMfK/2mNNx002Y+q76uf4MrxfNLmJJ
h1qonPzvr7Pxt2DZhhVhYfaU3VQUE/MmEy3K/W+/dnSCMSH4rcKAS1iC04kbCy9ES8a/
xJT/I+62Ww2fg2ewmedmFge2Z31wpadv/c0syKfFj4uu3tMrKM/X5ZBh6FOWON5jmu0X
obcp9v0UxEuAOhKlkT+7M8l7XeGOzuEuRpQJAdRkj1HYIkRXlWaa8hdpaESM194n8tbh
vnhYgu+4GOX1DlPSgHpnuWFA5hivmOeJ2sYiioFJk8CHSJ53NdOeU6s7M5qu5yVVAtsH
P6bw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1682345063; x=1684937063;
h=to:user-agent:references:subject:from:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=e0MNui26PRBxM/00zn1h/W2Rp7IzH6yT0sYdJK4Ph/w=;
b=IcRIQtCZ6zIynq3Ib2aMpwIxry7hyX/uJtQOAnA+YdzOakDhQyk1mI7idVBShiiq5W
Qa2M6JO57aIQU/BbWprI5AnKXgssawaUlITexcmLiaTzbv6i7fdNfq8tyVeKHjJT5FtM
uqeNxd85JQm/iweEMYu+pICIbxTA+vH7ketsDshk28rjmzqLtT6FDoOOLRE4X1p2d/xf
AgKsjaXAnuji8I5fKDujt3297y9bXRW/FflIUbQs/rRlfp4RnkxXKtiZQ4ZsXvwfleS7
5bLoaWIVDwsVBiXSF2Gmlr/xzkACpzTKtoGNde/XWXkUDWOjro1nGg0mbZrMLMC0RjHs
M/Eg==
X-Gm-Message-State: AAQBX9cjfb135hCr2/KVdEDAztJl9u1qEa1RcMd6jGME39SAGe3Quedp
LqD1pDWVSZ0HVvbfNPaY1uqeeaAljWO4jg==
X-Google-Smtp-Source: AKy350Z0TPmOF+q6hzPnX7odFcLQJ7gcuX4QybOIWcRtFPRRsHCnGL7YRjnoerFfCGbHwd7elv3dvQ==
X-Received: by 2002:a05:6e02:4ca:b0:328:ba14:5b38 with SMTP id
f10-20020a056e0204ca00b00328ba145b38mr5943992ils.6.1682345063291;
Mon, 24 Apr 2023 07:04:23 -0700 (PDT)
User-Agent: slrn/1.0.3 (Linux)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <https://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: <64468c66.050a0220.c3e8f.372e@mx.google.com>
X-Mailman-Original-References: <6442f8c9.050a0220.3ed35.17c6@mx.google.com>
<FF7D8DCA-73CB-461E-A885-23CC6D11965B@barrys-emacs.org>
<5ad249e5-5c11-a30d-106a-e4a5a21abbf4@gmail.com>
 by: Grant Edwards - Mon, 24 Apr 2023 14:04 UTC

On 2023-04-24, Michael Torrie <torriem@gmail.com> wrote:
> On 4/21/23 15:57, Barry wrote:
>
>> Maybe this, recently lwn.net article,
>> https://textual.textualize.io/ I was planning to check it out.
>
> Textual definitely looks slick and modern. And with a modern
> terminal emulator it works quite well and is responsive. I'd
> definitely consider it for a TUI.
>
> But on the Linux console, or on an older terminal, not so much.
> Textual's really designed for smallish unicode fonts in a windowed
> environment, not any kind of real, old-school text mode. Just
> something to keep in mind. 99% of terminal users are using a modern
> terminal emulator these days, with full color and unicode, which is
> the target of textual.

Is putty running on Windows a "modern terminal emulator" in this
context? After observing some of the local IT types work, I suspect
that will be a common use-case for the app I'm working on.

> Curses-based programs don't look great on anything, but they do look
> consistent on more primitive terminals.

The other big advantage of an ncurses program is that since curses
support is in the std library, a curses app is simpler to distribute.
Right now, the application is a single .py file you just copy to the
destination machine and run. It supports command-line use and a Tk
GUI. I can add an ncurses "CUI" without having to either adopt a more
complex bundling mechanism that requires it to be "installed" or
require that users install dependencies via pip/apt/yum/whatever.

--
Grant

Re: Is npyscreen still alive?

<curses-20230424151328@ram.dialup.fu-berlin.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23052&group=comp.lang.python#23052

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram...@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: Is npyscreen still alive?
Date: 24 Apr 2023 14:14:02 GMT
Organization: Stefan Ram
Lines: 9
Expires: 1 Apr 2024 11:59:58 GMT
Message-ID: <curses-20230424151328@ram.dialup.fu-berlin.de>
References: <6442f8c9.050a0220.3ed35.17c6@mx.google.com> <FF7D8DCA-73CB-461E-A885-23CC6D11965B@barrys-emacs.org> <5ad249e5-5c11-a30d-106a-e4a5a21abbf4@gmail.com> <64468c66.050a0220.c3e8f.372e@mx.google.com> <mailman.157.1682345066.20750.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de vU+MlYrQWpdyYjzZLNrjGQH3P9v4n3fPZIJUTF7uTfwsUi
X-Copyright: (C) Copyright 2023 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE-1901, en-US, it, fr-FR
 by: Stefan Ram - Mon, 24 Apr 2023 14:14 UTC

Grant Edwards <grant.b.edwards@gmail.com> writes:
>The other big advantage of an ncurses program is that since curses
>support is in the std library, a curses app is simpler to distribute.

IIRC curses is not in the standard library /on Windows/. I miss
a platform independent (well, at least for Linux, Mac, and
Windows) package with curses features in the standard library.

Re: Is npyscreen still alive?

<0tejhj-9uq2.ln1@oceanview.tundraware.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23061&group=comp.lang.python#23061

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!tundraware.eternal-september.org!.POSTED!not-for-mail
From: inf...@tundraware.com (Tim Daneliuk)
Newsgroups: comp.lang.python
Subject: Re: Is npyscreen still alive?
Date: Mon, 24 Apr 2023 18:10:56 -0500
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <0tejhj-9uq2.ln1@oceanview.tundraware.com>
References: <6442f8c9.050a0220.3ed35.17c6@mx.google.com>
<FF7D8DCA-73CB-461E-A885-23CC6D11965B@barrys-emacs.org>
<5ad249e5-5c11-a30d-106a-e4a5a21abbf4@gmail.com>
<64468c66.050a0220.c3e8f.372e@mx.google.com>
<mailman.157.1682345066.20750.python-list@python.org>
<curses-20230424151328@ram.dialup.fu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: tundraware.eternal-september.org; posting-host="27c68737cc6f13960db583868dac3aba";
logging-data="570528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GwXGn9gl5HhSL4gectUUx3RDsB6/SA7g="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Cancel-Lock: sha1:5hmFD8Rj0jFZ3SRieGYW5VkZJuI=
Content-Language: en-US
In-Reply-To: <curses-20230424151328@ram.dialup.fu-berlin.de>
 by: Tim Daneliuk - Mon, 24 Apr 2023 23:10 UTC

On 4/24/23 09:14, Stefan Ram wrote:
> Grant Edwards <grant.b.edwards@gmail.com> writes:
>> The other big advantage of an ncurses program is that since curses
>> support is in the std library, a curses app is simpler to distribute.
>
> IIRC curses is not in the standard library /on Windows/. I miss
> a platform independent (well, at least for Linux, Mac, and
> Windows) package with curses features in the standard library.
>
>

That's correct (or was, last time I looked). For this reason, I
resorted to using tkinter for the twander file browser. While
it works, the code needs a complete rethink and to be written
to be Python3 compatible. Perhaps when/if that happens, something
like Textual need serious consideration.

tkinter works, but is showing its age. So a fresher look without
all the burden of X and or requiring a browser, while also giving
you that option is appealing.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor