Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-24-2011, 02:26 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 7

Rep: Reputation: Disabled
[ncurses] How to duplicate a window and how to handle 'x window' resize?

In ncurses, how to duplicate a window to another process?
I know I can use dupwin in same process, but how to duplicate to another process?

And how to hanndle 'x window' resize event?(putty window max,resize...)

Old 10-24-2011, 11:43 PM   #2
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 2,648

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
Could you please explain this inter-process window-duplicating?
Regarding resize: if it doesn't work in putty, then you cannot fix it from your program. Note: It works in dtelnet: in bash: eval $(resize -s 25 80)

Last edited by NevemTeve; 10-25-2011 at 03:41 AM. Reason: examaple resize added


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Awesome Window manager ~ resize window key bindings do not work. bubnoff Linux - Desktop 0 12-23-2010 02:08 PM
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 10:15 AM
scrolling window in ncurses mayank_linux Programming 1 10-19-2006 07:03 PM
ncurses, how to scroll window nazir Programming 1 08-05-2005 12:32 PM
ncurses window and keypad vegpl Programming 2 11-01-2004 03:00 AM

All times are GMT -5. The time now is 01:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration