473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Resize a terminal window (linux/Xwindows)

101 100+
I've been working with ncurses for my user output. But, I've reached a limitation. I'd like to resize the window, but ncurses doesn't have the power to do that. It has the option, but I think gnome nerfs some of the self-management properties of the terminal.

In any case, is there any real good way to do this? I'm leaning towards gtkmm, but I want to be sure there wasn't anything more xwindows/terminal specific before I try my hand at something as broad as gtkmm.

Thanks all for any help.
Mar 7 '08 #1
2 3828
Parul Bagadia
188 100+
I've been working with ncurses for my user output. But, I've reached a limitation. I'd like to resize the window, but ncurses doesn't have the power to do that. It has the option, but I think gnome nerfs some of the self-management properties of the terminal.

In any case, is there any real good way to do this? I'm leaning towards gtkmm, but I want to be sure there wasn't anything more xwindows/terminal specific before I try my hand at something as broad as gtkmm.

Thanks all for any help.
Can you please tell first of all ; what is ncurses?
Mar 7 '08 #2
zensunni
101 100+
ncurses is a c++ library for manipulating a linux terminal. It lets you take control of a linux terminal's input/output. Also, gtkmm is a c++ library for working with linux gnome desktop system.
Mar 7 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Achraf | last post by:
Hi all, I have a c program under linux, while running, it opens a new terminal windows using a system call. I would like to display messages on both windows. But I can't find a way to specify...
5
by: Cc | last post by:
hi, is there a way to get form state before resize?
20
by: Joel Hedlund | last post by:
Hi all! I use python for writing terminal applications and I have been bothered by how hard it seems to be to determine the terminal size. What is the best way of doing this? At the end I've...
4
by: fivestars | last post by:
Hi there. I'm computer science student at the end of my degree. I'm new about python. I've a question for all of you. Do you know how to write, from python code, on a unix(linux) terminal...
69
by: RC | last post by:
I know how to do this in JavaScript by window.open("newFile.html", "newTarget", "scrollbars=no,resizable=0,width=200,height=200"); The browser will open a new window size 200x200, not allow...
16
by: John Salerno | last post by:
Here's my new project: I want to write a little script that I can type at the terminal like this: $ scriptname package1 where scriptname is my module name and any subsequent arguments are the...
0
by: hce | last post by:
Hi, I am running Python and a script on XP DOS terminal, the script build.py printed out messages on the Terminal, then asked for an input of numbers. But, I pressed a key, nothing came in DOS...
0
by: Gabriel Genellina | last post by:
En Fri, 09 May 2008 01:42:21 -0300, hce <webmail.hce@gmail.comescribió: Next time try with Ctrl-Break. It's hard to say what's wrong without seeing the script. -- Gabriel Genellina
4
by: gaurav kashyap | last post by:
Dear all, I am using Microsoft Windows XP.Using putty.exe,I connected to LINUX server and a terminal window gets opened.Here i logeed in as root. What i want to do is open another terminal...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.