05-18-2017
Hi xbin...
I looked all over and not a reference like that could I find. Perhaps it is my searching method that needs polishing... ;o)
However thank you for enhancing my knowledge further.
Both methods are equally useful for my needs...
EDIT:
The '-g' switch was needed for my application to place it into the background and keep focus on the original terminal...
Thanks.
Last edited by wisecracker; 05-18-2017 at 12:49 PM..
Reason: Added -g switch...
This User Gave Thanks to wisecracker For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine.
then last week i wrote capture.sh and it... (2 Replies)
Discussion started by: danpaluska
2 Replies
2. OS X (Apple)
For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying.
The problem was the same both locally or using the terminal and going ssh somewhere.
... (1 Reply)
Discussion started by: Neo
1 Replies
3. Shell Programming and Scripting
Hello,
I am trying to learn how to pass something more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
______________________________________________
${0##*/}
run... (0 Replies)
Discussion started by: Narnie
0 Replies
4. UNIX for Dummies Questions & Answers
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection dropped... (1 Reply)
Discussion started by: dperro01
1 Replies
5. OS X (Apple)
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection... (1 Reply)
Discussion started by: dperro01
1 Replies
6. OS X (Apple)
I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in.
Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies
7. UNIX for Dummies Questions & Answers
I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
Discussion started by: SmokeyJoe
1 Replies
8. OS X (Apple)
hi all,
first off thesis my first post so if i am not in the right forum, i apologize.
i'm an absolute newbie to unix. i've been reading my books and studying my crib sheets etc. but... :/
i want to accomplish two things.
1. search and remove duplicate files i.e.. audio, doc alias etc.... (1 Reply)
Discussion started by: monkeyhateclean
1 Replies
9. OS X (Apple)
Hi everyone...
I don't know if this is the correct forum but it is Apple OSX specific.
It is a proper pseudo-man page for the sparse official one...
This is as thorough as experimentation can get...
Command line afplay, August 2016.
---------------------------------
afplay -h
... (0 Replies)
Discussion started by: wisecracker
0 Replies
10. OS X (Apple)
I was looking for a method of clearing the buffer of the vertical scroll back slider and came across this little Terminal escape snippet I had never seen before:
printf "%b" "\033
SO...
printf "%b" "\033c\033
Performs a terminal reset, buffer clearance, clear the window, set back to default... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT HPUX
xtcallacceptfocus
XtCallAcceptFocus() XtCallAcceptFocus()
Name
XtCallAcceptFocus - offer the input focus to a child widget.
Synopsis
Boolean XtCallAcceptFocus(w, time)
Widget w;
Time *time;
Inputs
w Specifies the widget; must be of class Core or any subclass thereof.
time Specifies the X time of the event that is causing the accept focus.
Returns
True if w took the input focus; False if w did not take the input focus.
Description
XtCallAcceptFocus() calls the specified widget's Core class accept_focus() method, passing it the specified widget and time, and True if
the widget took the input focus, or False otherwise. If the accept_focus() method is NULL, XtCallAcceptFocus() returns False.
Usage
Generally, only widgets should call XtCallAcceptFocus(), and generally only on their descendants.
Note that calling a widget's accept_focus() method does not automatically assign the input focus, and does not mean that the widget will
necessarily take the input focus. The accept_focus() method must decide whether or not to take the focus and then take it with XSetInput-
Focus() or XtSetKeyboardFocus().
Background
Widgets that need the input focus can call XSetInputFocus() explicitly, pursuant to the restrictions of the Inter-Client Communications
Convention Manual. To allow outside agents, such as the parent, to cause a widget to take the input focus, every widget exports an
accept_focus() method. The widget returns a value indicating whether it actually took the focus or not, so that the parent can give the
focus to another widget. Widgets that need to know when they lose the input focus must use the Xlib focus notification mechanism explic-
itly (typically by specifying translations for FocusIn and FocusOut events). Widget classes that never want the input focus should set the
accept_focus() method to NULL.
See Also
XtSetKeyboardFocus(1),
accept_focus(4).
Xt - Keyboard Handling XtCallAcceptFocus()