Sponsored Content
Top Forums Shell Programming and Scripting expanding standard terminal size Post 302096220 by prkfriryce on Tuesday 14th of November 2006 12:04:33 PM
Old 11-14-2006
`find /* -name resize` did not return anything. I am running limited Solaris 9
 

9 More Discussions You Might Find Interesting

1. Red Hat

Standard Greeter font Size (RHEL 3)

In RHEL 3 is there a way to change the font size for the standard greeter text. Jeremy (1 Reply)
Discussion started by: morphous
1 Replies

2. AIX

expanding the size of vg

Hi, I have created the lun of 15gb and assigned to aix,but now I want to expand the size of lun 15gb to 30gb, I am having following queries. 1)wheather i have to umount that partition on aix side before increasing the size of lun on storage side or directly I can increase directly size... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

3. Shell Programming and Scripting

standard error to standard out question

Hi there how can i get the result of a command to not give me its error. For example, on certain systems the 'zfs' command below is not available, but this is fine becaues I am testing against $? so i dont want to see the message " command not found" Ive tried outputting to /dev/null 2>&1 to no... (5 Replies)
Discussion started by: hcclnoodles
5 Replies

4. Shell Programming and Scripting

size of the terminal window

Hi, I am programming a script that shows a figure on screen but I would be centered, so What I have to use command to get the size of the window? Thanks a lot, (2 Replies)
Discussion started by: Gengis-Kahn
2 Replies

5. UNIX for Dummies Questions & Answers

Redirect Standard output and standard error into spreadsheet

Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway? Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Discussion started by: killaram
6 Replies

6. Red Hat

terminal size

Is there an easy command to know the size of a terminal window from a command line command? (3 Replies)
Discussion started by: garethsays
3 Replies

7. UNIX for Dummies Questions & Answers

Resizing Terminal Size Upon Login?

Hello All, PC: CuBox-i OS: OpenSuSE 13.1 uname: Linux CuBox 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/Linux Shell: Bash So I was trying to see if there was a way to resize the terminal dynamically upon logging into a remote PC. How I login now is to use... (3 Replies)
Discussion started by: mrm5102
3 Replies

8. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies

9. Red Hat

Cannot set 'soft limits' for 'maximum stack size' for a standard user

Hi Guys, I'm trying to install Oracle Database on to Oracle Linux 7.6 but when the database install package checks the OS set-up, it keeps on failing on the soft limits for the stack. It's default value is 8192 but I'm trying to set it to 10240. This is what I added to... (2 Replies)
Discussion started by: ASGR
2 Replies
root_geometry_manager() 												   root_geometry_manager()

Name
  root_geometry_manager - Shell class method called to negotiate shell geometry requests with a window manager.

Synopsis
  typedef XtGeometryResult (*XtGeometryHandler)(Widget, XtWidgetGeometry *,
  XtWidgetGeometry *);
	   Widget w;
	   XtWidgetGeometry *request;
	   XtWidgetGeometry *geometry_return;

Inputs
  w	    Specifies the shell widget making the request.

  request   Specifies the requested geometry.

Outputs
  geometry_return
	    Specifies the reply geometry.

Returns
  The window manager's reply: XtGeometryYes, XtGeometryNo, XtGeometryAlmost, or XtGeometryDone.

Availability
  Release 4 and later.

Description
  The  root_geometry_manager() method is registered on the root_geometry_manager field of a ShellClassExtensionRec structure with record_type
  NULLQUARK, which is itself registered on the extension field of the Shell class part structure.  The root_geometry_manager() method will be
  called  when a shell widget calls XtMakeGeometryRequest() or XtMakeResizeRequest(), and should negotiate the requested size with the window
  manager.

  The arguments to this method are the same as those passed to the geometry_manager() method.  The root_geometry_manager() method should pass
  the  geometry  request on to the window manager.  If the window manager permits the new geometry, the root_geometry_manager() should return
  XtGeometryYes; if the window manager denies the geometry request or it does not change the window geometry  within  some  timeout  interval
  (the	XtNwmTimeout resource for WMShell, for example), the root_geometry_manager() should return XtGeometryNo.  If the window manager makes
  some alternative geometry change, the root_geometry_manager() method may either return XtGeometryNo  and  handle  the  new  geometry	as  a
  resize,  or  may return XtGeometryAlmost in anticipation that the shell will accept the compromise.  If the compromise is not accepted, the
  new size must then be handled as a resize.

  Communication with a window manager is an asynchronous process, but the root_geometry_manager()  procedure  must  return  its  answer  syn-
  chronously.  It will have to issue its request and then block until the reply arrives.

  The  root_geometry_manager()	method is not chained.	It can be inherited by specifying XtInheritRootGeometryManager in the Shell extension
  record.  If there is no Shell extension record with record_type equal to NULLQUARK, then the Intrinsics will behave as if an extension  was
  specified with XtInheritRootGeometryManager.

  See  the Inter-Client Communications Conventions Manual for information on communicating with window managers.  See geometry_manager(4) for
  a description of the structures and the possible return values of this method.

Usage
  The root_geometry_manager() method of the Shell class itself handles communication with  ICCCM-compliant  window  managers.	It  sets  the
  appropriate  properties  to  make the geometry request, then uses XCheckIfEvent() to block until an ConfigureNotify event arrives in reply.
  This method also uses private functions internal to the Intrinsics in order to correctly handle the events.  Because of the complexity  and
  implementation-specific  nature  of  this  method,  classes  that  want to define a custom root_geometry_manager() method should make their
  requests to the window manager, and then call their superclass's method to make additional requests, block, and get the response.

See Also
  XtMakeGeometryRequest(1), XtMakeResizeRequest(1),
  Shell(3),
  geometry_manager(4).

Xt - Intrinsics Methods 												   root_geometry_manager()
All times are GMT -4. The time now is 12:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy