Sponsored Content
Full Discussion: Change Console Title
Top Forums UNIX for Dummies Questions & Answers Change Console Title Post 52058 by medmonson on Wednesday 9th of June 2004 06:03:56 AM
Old 06-09-2004
Thanks Zazzybob!!!

Sorry that you had to spell it out for me. I really appreciate your help though.

Cheers,

medmonson
 

8 More Discussions You Might Find Interesting

1. Solaris

Change Terminal Title

Is it possible to change the title of a Terminal window on Solaris? For example, for a MS Windows command window, one can simply type "title NameofWindow" to change the title for a command window. I was looking for similar functionality for terminal windows. Thanks. (8 Replies)
Discussion started by: here2learn
8 Replies

2. UNIX for Advanced & Expert Users

Change putty title window?

Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies

3. UNIX for Advanced & Expert Users

Change title of aixterm window online

Is there any way to change title of aixterm window online? Also is it possible to freeze first/last few lines online? (1 Reply)
Discussion started by: Soham
1 Replies

4. AIX

How to change cronjob title?

Once I type "mail" command, I got to see the mail like below: > 1 daemon Thu Aug 12 17:31 31/938 "Output from cron job " My question is, how to do change the default title "Output from cron job " to be more customized title? Thanks. (4 Replies)
Discussion started by: ngaisteve1
4 Replies

5. Shell Programming and Scripting

How to change the title bar of the terminal screen

Hi, How to change the value after the symbol '@' ? $ i.e. @mac1 I want to change it to @prod2 Also need to change the same in the title bar on the top when we open a new terminal. (3 Replies)
Discussion started by: milink
3 Replies

6. UNIX for Dummies Questions & Answers

Change putty title name

Hello all, I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com) Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)... now my question is when i do ssh and logon to... (20 Replies)
Discussion started by: abdul.irfan2
20 Replies

7. UNIX for Beginners Questions & Answers

Delete columns with a specific title XXX, where the position change in each file

Goodmorning, I know how to cut a string and a column, and how to find a word. I have a file with over 100 columns. All columns have a title in the first line. I have to delete all columns with the XXX title. I can't use cut -f because the position of XXX columns change in each file, and in... (14 Replies)
Discussion started by: echo manolis
14 Replies

8. Post Here to Contact Site Administrators and Moderators

Change title of a thread after it is created

hi, how do we change the title of a thread after it is created? Thanks (5 Replies)
Discussion started by: milhan
5 Replies
XSetInputFocus()														  XSetInputFocus()

Name
  XSetInputFocus - set the keyboard focus window.

Synopsis
  XSetInputFocus(display, focus, revert_to, time)
	Display *display;
	Window focus;
	int revert_to;
	Time time;

Arguments
  display  Specifies a connection to an X server; returned from XOpenDisplay().

  focus    Specifies the ID of the window you want to be the keyboard focus.  Pass the window ID, PointerRoot, or None.

  revert_to
	   Specifies  which  window  the  keyboard  focus  reverts to if the focus window becomes not viewable.  Pass one of these constants:
	   RevertToParent, RevertToPointerRoot, or RevertToNone.  Must not be a window ID.

  time	   Specifies the time when the focus change should take place.	Pass either a timestamp, expressed in milliseconds, or	the  constant
	   CurrentTime.  Also returns the time of the focus change when CurrentTime is specified.

Description
  XSetInputFocus() changes the keyboard focus and the last-focus-change time.  The function has no effect if time is earlier than the current
  last-focus-change time or later than the current X server time.  Otherwise, the last-focus-change time is set to the specified  time,  with
  CurrentTime replaced by the current X server time.

  XSetInputFocus() generates FocusIn and FocusOut events if focus is different from the current focus.

  XSetInputFocus() executes as follows, depending on what value you assign to the focus argument:

  o  If you assign None, all keyboard events are discarded until you set a new focus window.  In this case, revert_to is ignored.

  o  If  you  assign  a  window ID, it becomes the main keyboard's focus window.  If a generated keyboard event would normally be reported to
     this window or one of its inferiors, the event is reported normally; otherwise, the event is reported to the focus window.   The  speci-
     fied  focus window must be viewable at the time of the request (else a BadMatch error).  If the focus window later becomes not viewable,
     the focus window will change to the revert_to argument.

  o  If you assign PointerRoot, the focus window is dynamically taken to be the root window of whatever screen the pointer is on at each key-
     board event.  In this case, revert_to is ignored.	This is the default keyboard focus setting.

  If the focus window later becomes not viewable, XSetInputFocus() evaluates the revert_to argument to determine the new focus window:

  o  If  you  assign  RevertToParent,  the  focus reverts to the parent (or the closest viewable ancestor) automatically with a new revert_to
     argument of RevertToName.

  o  If you assign RevertToPointerRoot or RevertToNone, the focus reverts to that value automatically.	FocusIn and FocusOut events are  gen-
     erated when the focus reverts, but the last focus change time is not affected.

Errors
  BadMatch  focus window not viewable when XSetInputFocus() called.

  BadValue

  BadWindow

See Also
  XQLength(),	XAllowEvents(),   XCheckIfEvent(),   XCheckMaskEvent(),  XCheckTypedEvent(),  XCheckTypedWindowEvent(),  XCheckWindowEvent(),
  XEventsQueued(), XGetInputFocus(), XGetMotionEvents(), XIfEvent(), XMaskEvent(), XNextEvent(),  XPeekEvent(),  XPeekIfEvent(),  XPending(),
  XPutBackEvent(), XSelectInput(), XSendEvent(), XSynchronize(), XWindowEvent().

Xlib - Input Handling														  XSetInputFocus()
All times are GMT -4. The time now is 05:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy