07-17-2006
I think it depends on your web browser
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am looking for a way to get the last element of a cut command
ex.
$pwd
/remote/username/dir1/dir2/dir3
$pwd | cut -f3 -d/
username
I need to extract "dir3" (last one) no matter whichever position it is.
Thanks,
sskb (3 Replies)
Discussion started by: oldtrash
3 Replies
2. Solaris
I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details:
FTP Client has Sun SSH.
FTP Server has F-Secure.
I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error
scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies
3. Programming
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
4. Shell Programming and Scripting
@listip is a list of ips
my $PING = "/usr/sbin/ping";
for ($lindex = 0; $lindex <= $#listip; $lindex++) {
print $listip . "\n";
$PING $listip ;
} (1 Reply)
Discussion started by: popeye
1 Replies
5. Programming
Hi guys,
I'm in a job of converting a restful webservice to soap. Tool for convertation uses XQuery.
Now i need to convert a message like this:
{
"firstName": "John",
"midName": null,
"lastName": "Smith",
"married": false,
"address": {
"streetAddress": "21 2nd... (5 Replies)
Discussion started by: tien86
5 Replies
6. Shell Programming and Scripting
I want to check if every <Part> element has corresponding <Description> in this sample XML.
....<Lot Of XML>
<Inv lineNumber="2">
<Item>
... (4 Replies)
Discussion started by: kchinnam
4 Replies
7. Shell Programming and Scripting
Hi all
I have file with columns
F3 pathway CPS
F2
H2
H4
H5
H6 no pathway CMP
H7
H8
H9
H10
My expected output is
F3 pathway CPS
F2 pathway CPS (10 Replies)
Discussion started by: Priyanka Chopra
10 Replies
8. UNIX and Linux Applications
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies
9. UNIX for Advanced & Expert Users
This question is for someone that's more familiar with Array Element.
I need to know if the maximum array element that can be assigned is 1024 and if its so, Is there a workaround solution when the counter exceeded 1024?
param_array="$param_nam"
counter=$counter+1
#to avoid space... (3 Replies)
Discussion started by: cumeh1624
3 Replies
LEARN ABOUT MOJAVE
tk_nametowindow
Tk_Name(3) Tk Library Procedures Tk_Name(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_Name, Tk_PathName, Tk_NameToWindow - convert between names and window tokens
SYNOPSIS
#include <tk.h>
Tk_Uid
Tk_Name(tkwin)
char *
Tk_PathName(tkwin)
Tk_Window
Tk_NameToWindow(interp, pathName, tkwin)
ARGUMENTS
Tk_Window tkwin (in) Token for window.
Tcl_Interp *interp (out) Interpreter to use for error reporting.
const char *pathName (in) Character string containing path name of window.
_________________________________________________________________
DESCRIPTION
Each window managed by Tk has two names, a short name that identifies a window among children of the same parent, and a path name that
identifies the window uniquely among all the windows belonging to the same main window. The path name is used more often in Tk than the
short name; many commands, like bind, expect path names as arguments.
The Tk_Name macro returns a window's short name, which is the same as the name argument passed to Tk_CreateWindow when the window was cre-
ated. The value is returned as a Tk_Uid, which may be used just like a string pointer but also has the properties of a unique identifier
(see the manual entry for Tk_GetUid for details).
The Tk_PathName macro returns a hierarchical name for tkwin. Path names have a structure similar to file names in Unix but with dots
between elements instead of slashes: the main window for an application has the path name "."; its children have names like ".a" and ".b";
their children have names like ".a.aa" and ".b.bb"; and so on. A window is considered to be a child of another window for naming purposes
if the second window was named as the first window's parent when the first window was created. This is not always the same as the X window
hierarchy. For example, a pop-up is created as a child of the root window, but its logical parent will usually be a window within the
application.
The procedure Tk_NameToWindow returns the token for a window given its path name (the pathName argument) and another window belonging to
the same main window (tkwin). It normally returns a token for the named window, but if no such window exists Tk_NameToWindow leaves an
error message in interp->result and returns NULL. The tkwin argument to Tk_NameToWindow is needed because path names are only unique
within a single application hierarchy. If, for example, a single process has opened two main windows, each will have a separate naming
hierarchy and the same path name might appear in each of the hierarchies. Normally tkwin is the main window of the desired hierarchy, but
this need not be the case: any window in the desired hierarchy may be used.
KEYWORDS
name, path name, token, window
Tk Tk_Name(3)