Sponsored Content
Operating Systems Solaris How to open and arrange terminal windows automatically under CDE? Post 302346243 by aixlover on Friday 21st of August 2009 10:07:38 AM
Old 08-21-2009
How to open and arrange terminal windows automatically under CDE?

Hi, Is there a way to open and arrange terminal windows automatically under CDE? For example, I want to open and arrange terminal windows like this:

Code:
|------------|
| TW TW TW   |
| TW TW TW   |
| TW TW TW   |
|------------|

Thank you in advanced!

Last edited by DukeNuke2; 08-21-2009 at 05:23 PM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CDE login vs. X-windows

Hi, I'm new to the whole X-windows environment. Need help please.. Believe it or not- I have a licensed "Reflection". I use the XDMCP host, and I can see 4 servers there. 2 of the servers are aix servers: one is ver 4.3, the other one is ver 5. When I open a session to the aix4.3 a large... (2 Replies)
Discussion started by: sunbird
2 Replies

2. Shell Programming and Scripting

automatically open

Hi I am trying to write a script to automatically use a predefined program to open a file according to its extension... But I don't know how to pass "programeta" ... :confused: while ]; do case $1 in -pdf ) programeta="kpdf" shift 1 ;; ... (1 Reply)
Discussion started by: pau
1 Replies

3. HP-UX

CDE is not getting open

Hi , I have installed HP-UX OS installation, it remains in command prompt screen.I need to move to CDE for my work to be done. Can anybody help me reg this?? I am using HP-UX 11i V2. Also, how to disable the mail daemon option, bcoz its taking too much time while rebooting. ... (1 Reply)
Discussion started by: Jagadeesh BR
1 Replies

4. Red Hat

How to open terminal automatically.

hi, I am using red hat .I want that when ever the user login in GUI interface the terminal windows automatically open and then the user want to logout it 1st close the terminal and then login. There is a file in #ls -a i.e .bashrc and .bash_logout I does not know how to add my... (0 Replies)
Discussion started by: mypass
0 Replies

5. Linux

How to open a gnome-terminal in specific workspace and run script within it automatically upon login

OK this is a bit messy. I run Fedora with gnome on a compiz desktop, I have a script (userstart) that opens my 'standard' environment for all my machines when I login. userstart flips to a specific workspace and then opens the required applications in that workspace then flips to the next... (2 Replies)
Discussion started by: Bashingaway
2 Replies

6. Shell Programming and Scripting

Open gnome-terminal with multi tabs and automatically run a script in each tab

Hi All , i am trying to create an alias to open a new gnome-terminal and run some commands in each tab & to have a specific name for each tab i am using csh , tried this command gnome-terminal --tab -t "s1" --tab -t "s2" --tab -t "s3" --tab -t "s4" it opened 4 tabs but the title didn't... (0 Replies)
Discussion started by: Assem
0 Replies

7. UNIX for Beginners Questions & Answers

Vim help.txt automatically open every time I open vi

Hi Friends, Every I try to open a vi window vim help.txt automatically opens evertime. After doing ZZ or :q! also the same page opens automatically. How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue. Thanks... (1 Reply)
Discussion started by: sudiptabhaskar
1 Replies

8. Shell Programming and Scripting

Vim help.txt automatically open every time I open vi

Hi Friends, Every I try to open a vi window, vim help.txt automatically opens evertime. After doing ZZ or :q! also the same page opens automatically. How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue. Thanks... (3 Replies)
Discussion started by: sudiptabhaskar
3 Replies
resizeterm(3X)															    resizeterm(3X)

NAME
is_term_resized, resize_term, resizeterm - change the curses terminal size SYNOPSIS
#include <curses.h> bool is_term_resized(int lines, int columns); int resize_term(int lines, int columns); int resizeterm(int lines, int columns); DESCRIPTION
This is an extension to the curses library. It provides callers with a hook into the ncurses data to resize windows, primarily for use by programs running in an X Window terminal (e.g., xterm). The function resizeterm resizes the standard and current windows to the specified dimensions, and adjusts other bookkeeping data used by the ncurses library that record the window dimensions. Most of the work is done by the inner function resize_term. The outer function resizeterm adds bookkeeping for the SIGWINCH handler. When resizing the windows, resize_term blank-fills the areas that are extended. The calling application should fill in these areas with appro- priate data. The resize_term function attempts to resize all windows. However, due to the calling convention of pads, it is not possible to resize these without additional interaction with the application. A support function is_term_resized is provided so that applications can check if the resize_term function would modify the window struc- tures. It returns TRUE if the windows would be modified, and FALSE otherwise. RETURN VALUE
Except as notes, these function return the integer ERR upon failure and OK on success. They will fail if either of the dimensions are less than or equal to zero, or if an error occurs while (re)allocating memory for the windows. NOTES
While these functions are intended to be used to support a signal handler (i.e., for SIGWINCH), care should be taken to avoid invoking them in a context where malloc or realloc may have been interrupted, since it uses those functions. If ncurses is configured to supply its own SIGWINCH handler, the resizeterm function ungetch's a KEY_RESIZE which will be read on the next call to getch. This is used to alert an application that the screen size has changed, and that it should repaint special features such as pads that cannot be done automatically. SEE ALSO
wresize(3X). AUTHOR
Thomas Dickey (from an equivalent function written in 1988 for BSD curses). resizeterm(3X)

Featured Tech Videos

All times are GMT -4. The time now is 10:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy