bug-ncurses
[Top][All Lists]
Advanced

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

Re: Change terminal attributes


From: Francesco Esposito
Subject: Re: Change terminal attributes
Date: Mon, 14 May 2007 11:43:14 +0200

Dear Bryan,
I would like to write some characters with different size(ex. Big) on application n-curses/CDK window.
Do you have any suggestion?

 
2007/5/11, Bryan Christ <address@hidden>:
I'm not sure I understand your question--it sounds like you want to
handle resizing the terminal.

When the terminal is resized the signal SIGWINCH is delivered to your
program.  If you are using ncurses, this signal is caught by a default
handler and you will get a value of KEY_RESIZE when you make the next
call to getch().

If you are running other process or writing your own terminal emulator,
it is likely you will then want to deliver SIGWINCH to the foreground
job and (possibly) issue the TIOCSWINSZ ioctl to the pty.

For more information, take a look at the man pages for resizeterm() and
tty_ioctl().

Francesco Esposito wrote:
> Hi all,
> I would like to install a new action in my software that will consist to
> resize terminal attributes(size, font,...) at run time.
> My software is ncurses-based.
>
> Do you have any suggestion?
>
> Thanks,
> Francesco
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-ncurses


reply via email to

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