Sponsored Content
Top Forums Shell Programming and Scripting pop out screen with user input Post 302138913 by venerayan on Wednesday 3rd of October 2007 08:43:54 PM
Old 10-03-2007
Bug

no, the message broadcast is on windows xp not x-windows. of course, they're not using one unix workstation each. they're connected to one aix server thru XP/telnet.

when they all agree, i'll send a script from windows 2003 to unix to execute the EOD and backup.

thanks
 

10 More Discussions You Might Find Interesting

1. Programming

get input whithout inputs echoing in screen

I want to write a functionz(work on command line mode) which require user input password , but I do not want the passwd echo in screen , then I should not use scanf() . Which function should I use ? Thank you for helping me (1 Reply)
Discussion started by: chenhao_no1
1 Replies

2. UNIX for Advanced & Expert Users

user prompt doesn't pop up with rsh command

Hello All, I'm trying to run some script on other host by using rsh command. This script asking for user id which follows by password requisition. The problem which I faced is that the user requisition prompt never appear. It look like the script is running and wait for the user id to be... (1 Reply)
Discussion started by: ronenalalush
1 Replies

3. UNIX and Linux Applications

how to block imap/pop user's login

Is this possible to block particular user's email-client configuration on basis of pop/imap settings in linux ,dovecot.conf or anywhere ?As you know when acl is defined in /etc/squid/squid.conf file according to its http_access users are able to access internet. Before (1 Reply)
Discussion started by: sandeepvson
1 Replies

4. Shell Programming and Scripting

Needing to wait for a line on screen and then give input repeatedly

So I have a weird question for my unix shell script. I wrote a shell script that does several things, but one of the things it does is call an executable. The executable then proceeds to start asking me questions, which it won't proceed until an input is entered. The answer to the questions is... (4 Replies)
Discussion started by: HelpMeProgram
4 Replies

5. UNIX for Dummies Questions & Answers

Pop the users one by one in sudo cat /etc/security/user

Hi Everyone, When I runthe query in ssh shell sudo cat /etc/security/user , I see half of the users cut down from the display screen. what I want to do is using the somthing like "pop" that when I hit the enter key every time the screen should move to the next user? does some one has any idea how... (4 Replies)
Discussion started by: starter2011
4 Replies

6. Shell Programming and Scripting

How to get the user input recursively until the user provides valid input

Hi, echo "Enter file name of input file list along with absolute path : " read inputFileList if then for string in `cat inputFileList` do echo $string done else echo " file does not exist" fi From the above code, if the user enters a invalid file... (1 Reply)
Discussion started by: i.srini89
1 Replies

7. Shell Programming and Scripting

Script interacts with user , based on user input it operates

i have a script which takes input from user, if user gives either Y/y then it should continue, else it should quit by displaying user cancelled. #!/bin/sh echo " Enter your choice to continue y/Y OR n/N to quit " read A if then echo " user requested to continue " ##some commands... (7 Replies)
Discussion started by: only4satish
7 Replies

8. Shell Programming and Scripting

View on screen text file and enter input

Is the below correct syntax for if the user enters something other than "GJB2 or MECP2, or PHOX2B", then they are shown on the screen format.txt and allowed to enter in one of those formats? Thank you :). Basically, the user can see which formats are allowed and enter a variant while viewing... (7 Replies)
Discussion started by: cmccabe
7 Replies

9. Shell Programming and Scripting

Update Statement User menu input screen

Hi Guys, Any good reference for me to perform user database update statement on table which has quite number of fields could be updated depend on user specified column name and the value to assign. All the approaches are welcome and appreciated. Thanks. (1 Reply)
Discussion started by: ckwan123
1 Replies

10. Shell Programming and Scripting

User input and run awk using the input

I am trying to allow a user to enter in text and then store that text in a variable $gene to run in an awk command in which those values are used to run some calculations. I am getting syntax errors however, when I try. Thank you :). The awk runs great if it is a pre-defined file that is used,... (7 Replies)
Discussion started by: cmccabe
7 Replies
XtPopdown(3Xt)															    XtPopdown(3Xt)

NAME
XtPopdown, XtCallbackPopdown - unmap a pop-up SYNOPSIS
void XtPopdown(popup_shell) Widget popup_shell; void XtCallbackPopdown(w, client_data, call_data) Widget w; XtPointer client_data; XtPointer call_data; void MenuPopdown(shell_name) String shell_name; ARGUMENTS
Specifies the callback data, which is not used by this procedure. Specifies a pointer to the XtPopdownID structure. Specifies the widget shell to pop down. Specifies the name of the widget shell to pop down. Specifies the widget. DESCRIPTION
The XtPopdown function performs the following: Calls XtCheckSubclass to ensure popup_shell is a subclass of Shell. Checks that popup_shell is currently popped_up; otherwise, it generates an error. Unmaps popup_shell's window. If popup_shell's grab_kind is either XtGrabNonex- clusive or XtGrabExclusive, it calls XtRemoveGrab. Sets pop-up shell's popped_up field to False. Calls the callback procedures on the shell's popdown_callback list. The XtCallbackPopdown function casts the client data parameter to an XtPopdownID pointer: typedef struct { Widget shell_widget; Widget enable_widget; } XtPopdownIDRec, *XtPopdownID; The shell_widget is the pop-up shell to pop down, and the enable_widget is the widget that was used to pop it up. XtCallbackPopdown calls XtPopdown with the specified shell_widget and then calls XtSetSensitive to resensitize the enable_widget. If a shell name is not given, MenuPopdown calls XtPopdown with the widget for which the translation is specified. If a shell_name is spec- ified in the translation table, MenuPopdown tries to find the shell by looking up the widget tree starting at the parent of the widget in which it is invoked. If it finds a shell with the specified name in the pop-up children of that parent, it pops down the shell; otherwise, it moves up the parent chain as needed. If MenuPopdown gets to the application top-level shell widget and cannot find a matching shell, it generates an error. SEE ALSO
XtCreatePopupShell(3Xt), XtPopup(3Xt) X Toolkit Intrinsics -- C Language Interface Xlib -- C Language X Interface XtPopdown(3Xt)
All times are GMT -4. The time now is 07:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy