bug-ncurses
[Top][All Lists]
Advanced

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

Re: overwrite possible ?


From: songbird
Subject: Re: overwrite possible ?
Date: Sat, 15 Nov 2014 13:05:03 -0500
User-agent: slrn/1.0.2 (Linux)

Patrick wrote:
> Hi Everyone
>
> Strange question....
>
> I have never seen this done, is it possible to overwrite a cell in a 
> terminal while preserving what was there?
>
> So for instance if I had the word "FOO" with a red background and green 
> text is there anyway to add a blue underline and still have green and red ?
>
> Thanks-Patrick

  i hope you don't get offended when i point you at 
the man pages for answers to these sorts of 
questions.  :)

  man attr (see attron).

  more generally please reread the results of

man ncurses

and see the various other man pages listed there
under:

...
   Routine Name Index
       The  following table lists each curses routine and the name of the man‐
       ual page on which it is  described.   Routines  flagged  with  `*'  are
       ncurses-specific, not described by XPG4 or present in SVr4.

                  curses Routine Name     Manual Page Name
                  ──────────────────────────────────────────────────
                  COLOR_PAIR              color(3NCURSES)
                  PAIR_NUMBER             attr(3NCURSES)
...


an auto generated list (similar to what is at the end of
the other man pages would help (c.f. man attr below))?


----- from tail of man attr
SEE ALSO
       ncurses(3NCURSES), addch(3NCURSES),  addstr(3NCURSES),  bkgd(3NCURSES),
       printw(3NCURSES), curses_variables(3NCURSES)  ...
-----


  songbird




reply via email to

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