bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using ncurses only for terminfo (no I/O)


From: Grant Edwards
Subject: Re: Using ncurses only for terminfo (no I/O)
Date: Sat, 16 Jan 2021 02:16:51 -0000 (UTC)
User-agent: slrn/1.0.3 (Linux)

On 2021-01-16, Thomas Dickey <dickey@his.com> wrote:
> On Fri, Jan 15, 2021 at 11:22:33PM -0000, Grant Edwards wrote:
>> I've recently been working with ncurses from Python, and would like to
>> use ncurses only for terminfo purposes. I can call tigetstr() and then
>> tparm() if needed, and write the result using Python's normal output
>> stream.  Everything works as expected using urxvt, but what sort of
>> failure modes I should be expecting because I'm not using tputs() or
>> putp() as specified in the man page?
>
> man ncurses:
>
>    NCURSES_NO_PADDING
>        Most of the terminal descriptions in the terminfo database are  written
>        for  real  "hardware"  terminals.

Thanks!

So i infer that the lack of inserted padding is the only problem with
"skipping" tputs/putp and writing to the file descriptor?

--
Grant







reply via email to

[Prev in Thread] Current Thread [Next in Thread]