07-04-2008
I tried your code on my linux box , but i didn't get the error message you said above
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a need to allow only certain IP addresses to access a machine running solaris 9. I am not sure how this can be accomplished.
Thanks in advance for your help.
Patch (2 Replies)
Discussion started by: patch
2 Replies
2. Programming
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10.
My code to marshal... (6 Replies)
Discussion started by: nj302
6 Replies
3. UNIX for Advanced & Expert Users
Can kernel process access user address space ? (2 Replies)
Discussion started by: subhotech
2 Replies
4. Solaris
Hi,
The following error message occured when I was trying to reboot my SUN machine:
Memory address not aligned
Its a Sun 280 R , Ultra SPARC III
What should I do.
Varma (3 Replies)
Discussion started by: gunnervarma
3 Replies
5. Linux
Hi All
i need to use RSH ( i can hear you all banging your head against a wall ) but i want to block a certain IP address from access my machine via RSH, is there way to do this
thanks
A (3 Replies)
Discussion started by: ab52
3 Replies
6. Cybersecurity
HI,
I'm doing a research on client/server connection. I need to run the server code to open socket connection with the client code. To make the test real, I need to run the server code from a a machine far away from the client over the Internet. IN ORDER TO RUN THE CODE, the client has to know the... (3 Replies)
Discussion started by: ENG_MOHD
3 Replies
7. Solaris
We want to disable graphical logins on our Solaris 10(64bit sparc )boxes, but I haven't found any information on how to do it via google. Most likely I am using the wrong search terms (i've been looking for "xdmcp" and "x11" "disable") .
While looking through the output of "svcs -a | grep... (3 Replies)
Discussion started by: the.gooch
3 Replies
8. What is on Your Mind?
Hello Everyone,
We plan to restrict all RSS news feed access soon based on IP address. This means that if you have a website or application that using our site RSS feeds, you can still do it; but your must register you site in this thread.
So please reply with your IP address of your server... (7 Replies)
Discussion started by: Neo
7 Replies
9. Post Here to Contact Site Administrators and Moderators
Hello Everyone,
We now (only) permit access to our RSS news feed access based on IP address. This means that if you have a website or application that using our site RSS feeds, you can still do it; but your must register you site in this thread.
So please reply with your IP address of your... (9 Replies)
Discussion started by: Neo
9 Replies
10. UNIX for Beginners Questions & Answers
How would I write a value to a physical memory address?
I was able to read a physical memory address (for example, 0x400) using this line:
dd if=/dev/mem count=4 bs=1 skip=$(( 0x400 ))
But I get an error:
dd: 'standard input': cannot skip to specified offset
when I try to write using... (1 Reply)
Discussion started by: rabrandt
1 Replies
LEARN ABOUT MOJAVE
tk_messagebox
tk_messageBox(n) Tk Built-In Commands tk_messageBox(n)
__________________________________________________________________________________________________________________________________________________
NAME
tk_messageBox - pops up a message window and waits for user response.
SYNOPSIS
tk_messageBox ?option value ...?
_________________________________________________________________
DESCRIPTION
This procedure creates and displays a message window with an application-specified message, an icon and a set of buttons. Each of the but-
tons in the message window is identified by a unique symbolic name (see the -type options). After the message window is popped up, tk_mes-
sageBox waits for the user to select one of the buttons. Then it returns the symbolic name of the selected button.
The following option-value pairs are supported:
-default name
Name gives the symbolic name of the default button for this message window ( "ok", "cancel", and so on). See -type for a list of the
symbolic names. If this option is not specified, the first button in the dialog will be made the default.
-detail string
Specifies an auxiliary message to the main message given by the -message option. Where supported by the underlying OS, the message |
detail will be presented in a less emphasized font than the main message.
-icon iconImage
Specifies an icon to display. IconImage must be one of the following: error, info, question or warning. If this option is not speci-
fied, then the info icon will be displayed.
-message string
Specifies the message to display in this message box.
-parent window
Makes window the logical parent of the message box. The message box is displayed on top of its parent window.
-title titleString
Specifies a string to display as the title of the message box. The default value is an empty string.
-type predefinedType
Arranges for a predefined set of buttons to be displayed. The following values are possible for predefinedType:
abortretryignore Displays three buttons whose symbolic names are abort, retry and ignore.
ok Displays one button whose symbolic name is ok.
okcancel Displays two buttons whose symbolic names are ok and cancel.
retrycancel Displays two buttons whose symbolic names are retry and cancel.
yesno Displays two buttons whose symbolic names are yes and no.
yesnocancel Displays three buttons whose symbolic names are yes, no and cancel.
EXAMPLE
set answer [tk_messageBox -message "Really quit?"
-icon question -type yesno
-detail "Select "Yes" to make the application exit"]
switch -- $answer {
yes exit
no {tk_messageBox -message "I know you like this application!"
-type ok}
}
KEYWORDS
message box
Tk 4.2 tk_messageBox(n)