05-31-2007
bumping reply
I'm new to using the unix forum - when I reply, I just click on the top reply button. Did I get that wrong? Click on the bottom button?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
I am trying to set up the .profile for a user I have just created. In trying to set up the shell variables, I want to make the shell be korn shell (default shell i believe is Borne shell), so, this is what I did:
SHELL=/usr/bin/ksh
export SHELL
Whenl executing the .profile,... (1 Reply)
Discussion started by: rachael
1 Replies
2. UNIX for Dummies Questions & Answers
How can I make my default shell to be bash?
I tried adding:
/bin/bash
to my .profile, but that had no effect. What did I do wrong?
Thanks! (3 Replies)
Discussion started by: FredSmith
3 Replies
3. Shell Programming and Scripting
Hi Guys,
Need help. I am using ISQL inside a shell script.
Is there a way to set the value of shell script variable from inside the ISQL code. I do not want to write the results from the SQL to an output file.
Please let me know.
Regards,
Tipsy. (3 Replies)
Discussion started by: tipsy
3 Replies
4. Shell Programming and Scripting
I have a question regarding shell settings. I have one Sun server with Solaris 9 and Oracle 10g R2 on it. DB is up running well. I created a script to start DB automatically when server reboot. It didn't work. I manually run dbstart under $ORACLE_HOME/bin, the server return message like:" dbstart:... (7 Replies)
Discussion started by: duke0001
7 Replies
5. Shell Programming and Scripting
Hey,
Does anyone know if it is possible to set a PHP Superglobal variable (in an Apache2 working environment) from the shell or command line?
I tried to set one like this by creating a file env.php with this:
<?php
$_ENV = 'YEAME';
?>
And I executed as root with:
php env.php
... (0 Replies)
Discussion started by: Neo
0 Replies
6. Shell Programming and Scripting
Hello all,
Sorry if the question if stupid but I have no big experience with programming.
I am trying to set a path to be used in a makefile.in, for installation of a Fortran code. The makefile.in contains the string
$(CODE_NAME)
Now, when I type in the bash shell
export... (6 Replies)
Discussion started by: laura74
6 Replies
7. Shell Programming and Scripting
Trying to put all command line arguments to the script in a variable msgst01
$* does not seem to work
set msgst01 = $* (2 Replies)
Discussion started by: kristinu
2 Replies
8. Red Hat
EDIT: Nevermind, figured it out! Forgot to put backslashes in my perl script to not process literals!
Hi everyone. I am trying to have this command pass silently. (no output)
chsh -s /bin/sh news
Currently it outputs.
I've tried....
&> /dev/null
1> /dev/null
2>&1 /dev/null
1>&2... (1 Reply)
Discussion started by: austinharris43
1 Replies
9. Shell Programming and Scripting
Hi All,
I have made a file file usercreate.sh & it has to run in tcsh env & needs some path to be set.
my script is as below.
##########################
#!/bin/csh
setenv PATH "/usr/lib/java/class"
setenv LD_LIBRARAY_PATH
###########################
but when i am ruuning my script... (1 Reply)
Discussion started by: ajaincv
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have written a shell script which calls a java program which reads properties from a configuration file and writes to a log file for each session.However the customer wants that the user should not be able to open/edit the configuration file or the log files meaning they should not... (4 Replies)
Discussion started by: jayadrath
4 Replies
LEARN ABOUT SUSE
tk_dialog
tk_dialog(n) Tk Built-In Commands tk_dialog(n)
__________________________________________________________________________________________________________________________________________________
NAME
tk_dialog - Create modal dialog and wait for response
SYNOPSIS
tk_dialog window title text bitmap default string string ...
_________________________________________________________________
DESCRIPTION
This procedure is part of the Tk script library. Its arguments describe a dialog box:
window Name of top-level window to use for dialog. Any existing window by this name is destroyed.
title Text to appear in the window manager's title bar for the dialog.
text Message to appear in the top portion of the dialog box.
bitmap If non-empty, specifies a bitmap to display in the top portion of the dialog, to the left of the text. If this is an empty string
then no bitmap is displayed in the dialog.
default
If this is an integer greater than or equal to zero, then it gives the index of the button that is to be the default button for the
dialog (0 for the leftmost button, and so on). If less than zero or an empty string then there will not be any default button.
string There will be one button for each of these arguments. Each string specifies text to display in a button, in order from left to
right.
After creating a dialog box, tk_dialog waits for the user to select one of the buttons either by clicking on the button with the mouse or
by typing return to invoke the default button (if any). Then it returns the index of the selected button: 0 for the leftmost button, 1
for the button next to it, and so on. If the dialog's window is destroyed before the user selects one of the buttons, then -1 is returned.
While waiting for the user to respond, tk_dialog sets a local grab. This prevents the user from interacting with the application in any
way except to invoke the dialog box.
EXAMPLE
set reply [tk_dialog .foo "The Title" "Do you want to say yes?"
questhead 0 Yes No "I'm not sure"]
SEE ALSO
tk_messageBox(n)
KEYWORDS
bitmap, dialog, modal
Tk 4.1 tk_dialog(n)