06-20-2007
Oops,
You did run functions in background in your earlier post.
Sorry for not noticing that.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i have a problem with turning a job into backgrund.
When i enter this at the shell:
spice -b darlington.cir -r output.raw > screenout.tmp &
and then let me show the currently running jobs, i get the following output:
+ Suspended (tty output) spice -b darlington.cir -r output.raw >... (4 Replies)
Discussion started by: qsi
4 Replies
2. UNIX for Dummies Questions & Answers
Ok, so I'm comfortable backgrounding jobs in the shell, starting and stopping them, and bringing them to the fg and bg. What I can't figure out is how to monitor those background jobs from another shell (remote, or local).
Example:
- On a local console for MYHOST, I su to root
- I then update... (3 Replies)
Discussion started by: vikingshelmut
3 Replies
3. Programming
Hi there,
I'm quite new to UNIX for programming. I have a script that does this:
Shows on screen real-time results taken from phone calls and logs them in a file.
However, when I start my script, I want my script to start logging in the file in the background, so I can continue working on... (1 Reply)
Discussion started by: Jeremiorama
1 Replies
4. UNIX for Dummies Questions & Answers
In my last job someone gave me the command to put in my .profile that let me know when a job I had running in the background finished. It was a word about 5 char long. I can't remember it! (4 Replies)
Discussion started by: nkeller
4 Replies
5. Shell Programming and Scripting
i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help.
$cat run_job.ksh
#!/usr/bin/ksh
####################################
typeset -u SCHEMA_NAME=$1
... (1 Reply)
Discussion started by: GrepMe
1 Replies
6. UNIX for Dummies Questions & Answers
If I run a job in the background and logoff. Will the job continue to run or will my processes be killed ? (1 Reply)
Discussion started by: jxh461
1 Replies
7. Shell Programming and Scripting
We had a generic process where the jobs are scheduled to run sequentially and in background. We are noticing the problems with the background jobs.
Error Message:
/bin/ksh: /home/suren/bin/GenericReportScript.sh: cannot execute
The same script is existing in bin and it had enough... (2 Replies)
Discussion started by: sureng
2 Replies
8. Shell Programming and Scripting
Hi All,
Can someone help me in knowing the exact difference between nohup and &.
The definition is quite clear but i only want to know if i run my job using & and in between i hung up my terminal. (10 Replies)
Discussion started by: Uinx_addic
10 Replies
9. Red Hat
I have used shc utillity to convert a shell script to it's compiled version.Inside this script i have called another shell script which is also in compled version.
Example:-
Main script:- main.sh.x
child script:- child.sh.x (this is called inside main.sh.x)
This child script will run in... (2 Replies)
Discussion started by: millan
2 Replies
10. AIX
Hello,
Please advise use of screen in running jobs in nohup background and how to use this
Best regards,
Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies
LEARN ABOUT OSX
tk_setpalette
tk_setPalette(n) Tk Built-In Commands tk_setPalette(n)
__________________________________________________________________________________________________________________________________________________
NAME
tk_setPalette, tk_bisque - Modify the Tk color palette
SYNOPSIS
tk_setPalette background
tk_setPalette name value ?name value ...?
tk_bisque
_________________________________________________________________
DESCRIPTION
The tk_setPalette procedure changes the color scheme for Tk. It does this by modifying the colors of existing widgets and by changing the
option database so that future widgets will use the new color scheme. If tk_setPalette is invoked with a single argument, the argument is
the name of a color to use as the normal background color; tk_setPalette will compute a complete color palette from this background color.
Alternatively, the arguments to tk_setPalette may consist of any number of name-value pairs, where the first argument of the pair is the
name of an option in the Tk option database and the second argument is the new value to use for that option. The following database names
are currently supported: activeBackground foregroundselectColor activeForeground highlightBackgroundselectBack-
ground background highlightColor selectForeground disabledForeground insertBackgroundtroughColor tk_setPalette tries to
compute reasonable defaults for any options that you do not specify. You can specify options other than the above ones and Tk will change
those options on widgets as well. This feature may be useful if you are using custom widgets with additional color options.
Once it has computed the new value to use for each of the color options, tk_setPalette scans the widget hierarchy to modify the options of
all existing widgets. For each widget, it checks to see if any of the above options is defined for the widget. If so, and if the option's
current value is the default, then the value is changed; if the option has a value other than the default, tk_setPalette will not change
it. The default for an option is the one provided by the widget ([lindex [$w configure $option] 3]) unless tk_setPalette has been run pre-
viously, in which case it is the value specified in the previous invocation of tk_setPalette.
After modifying all the widgets in the application, tk_setPalette adds options to the option database to change the defaults for widgets
created in the future. The new options are added at priority widgetDefault, so they will be overridden by options from the .Xdefaults file
or options specified on the command-line that creates a widget.
The procedure tk_bisque is provided for backward compatibility: it restores the application's colors to the light brown ("bisque") color
scheme used in Tk 3.6 and earlier versions.
KEYWORDS
bisque, color, palette
Tk 4.0 tk_setPalette(n)