Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Curses.pm and newterm

by BUU (Prior)
on Dec 12, 2005 at 19:28 UTC ( [id://516118]=note: print w/replies, xml ) Need Help??


in reply to Re: Curses.pm and newterm
in thread Curses.pm and newterm

Well, that's interesting. Now it doesn't segfault, but none of the display functions seem to do anything, even if I call refresh().

Replies are listed 'Best First'.
Re^3: Curses.pm and newterm
by BrowserUk (Patriarch) on Dec 12, 2005 at 23:25 UTC

    I cannot even try any of this stuff here, but I did lookup newwin() on the net, and every reference I found lists 4 parameters for the call?

    The thing that intrigues me about your C version in the OP, is that you get a SCREEN *s returned from newwin(), but you make no use of it in your calls to addch() and the rest.

    If you had created two SCREENs, how would those other calls know which of them they were supposed to be affecting?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      addch is a macro that works on 'stdscr', newterm sets stdscr to be the latest created screen. Or something fairly close to that.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://516118]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-24 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found