Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

What the world *really* needs is a good Automatic Bicycle Sharpener.


devel / comp.lang.python / Has anone seen or know of a CFFI wrapper for PDCurses?

SubjectAuthor
o Has anone seen or know of a CFFI wrapper for PDCurses?<pjfarley3

1
Has anone seen or know of a CFFI wrapper for PDCurses?

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: <pjfarley3@earthlink.net>
Newsgroups: comp.lang.python
Subject: Has anone seen or know of a CFFI wrapper for PDCurses?
Date: Sun, 13 Jun 2021 03:49:10 -0400
Lines: 31
Message-ID: <mailman.24.1623570567.4164.python-list@python.org>
References: <000f01d76028$98ea4fd0$cabeef70$@earthlink.net>
Mime-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de y9tqwQ4cbCg1iQKQzfGgTw9GikByACvKA97enjA/W3CA==
Return-Path: <pjfarley3@earthlink.net>
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=earthlink.net header.i=@earthlink.net header.b=NUso+X9b;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.062
X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'knows': 0.04; 'yet.':
0.04; "hasn't": 0.09; 'looks': 0.11; 'dll': 0.16; 'library;':
0.16; 'wen': 0.16; 'instead': 0.17; 'api': 0.18; 'all,': 0.19;
'interface': 0.23; 'anyone': 0.23; 'to:addr:python-list': 0.23;
'list,': 0.23; 'header': 0.24; 'seems': 0.26; 'tried': 0.26;
'asked': 0.27; 'else': 0.27; 'bit': 0.28; 'mailing': 0.30;
'there': 0.31; 'think': 0.31; 'but': 0.31; 'question': 0.32;
'gotten': 0.32; 'using': 0.33; 'subject:for': 0.33; 'windows':
0.36; 'path': 0.37; 'way': 0.37; '(or': 0.37; 'ago': 0.40; 'copy':
0.61; 'here': 0.62; 'lot': 0.62; 'down': 0.62; 'worked': 0.63;
'years': 0.67; 'shows': 0.70; 'charset:iso-8859-1': 0.74; 'age.':
0.77; 'received:51': 0.77; 'subject:Has': 0.84; '2010,': 0.93;
'offer.': 0.96
DKIM-Signature: v=1; a=rsa-sha256; bh=dvzrZE6q3m1I+QV4oYpX/Hx42R2mdeHXMU2UWo
UcyAc=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject:
date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to:
references:list-id:list-help:list-unsubscribe:list-subscribe:list-post:
list-owner:list-archive; q=dns/txt; s=dk12062016; t=1623570550;
x=1624175350; b=NUso+X9bwnBu2Kd3Da1mGj3jLHKuTR3pH4rdAwfhuycn7m8PRVZCxlv
c9ezcF9WFENg/6+fGZUXcMnF7DD6TUDi0KcUoJYPi4jB9qqqSgv2R5FbWn18iPxKRphDEnQ
KNeCNXg30q9H1Sbb34DeJDOmMDn6FDW2MT71KGrJRHNKkxggRUo0gdS8xCb7bD50tZcqWyL
x+xOjcd8PMypak3FtCRHVhAY7R/FOTKsOVvlldDJ2/TevToO+NuaEbP9VtTqOFY8rLSnl8E
spgUiGwTx85I4WVMRyHCXPadE6aGRK9U852Gp4BAovQHTqFJKI8Ib6kypmHAa2GoZX8K67k
Jgw==
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AddgKB/4zXFFKpCPTxOAgHjFoT+zKg==
Content-Language: en-us
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <000f01d76028$98ea4fd0$cabeef70$@earthlink.net>
 by: <pjfarley3@earthlink.net> - Sun, 13 Jun 2021 07:49 UTC

Hi All,

I have been investigating the possibility of wrapping the PDCurses DLL on
Windows (or even better the PDCursesMod fork) using cffi instead of ctypes. 
The unicurses project tried this using ctypes 11 years ago but unicurses
hasn't been worked on since 2010, and it shows its age.

I think I have figured out a reasonably clean way to do it using the cffi
ABI interface with a "cleaned up" copy of the provided "curses.h" header
(using the API interface looks to me like it would be quite a bit more work
for this library; not impossible, but a lot more work).

Before I go down this path I wanted to ask here if anyone else has already
been down that way, or knows of a project that wen that way, and if so what
roadblocks and/or successes were seen?

I also asked this question on the cffi mailing list, but that seems to be a
low-traffic list. In any case, I haven't gotten any response there yet.

TIA for any references or advice you can offer.

Peter


devel / comp.lang.python / Has anone seen or know of a CFFI wrapper for PDCurses?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor