Can someone tell me exactly what this code is doing?
#
# gnutest
#
# Test launch of ghostscript (gs) from a script
#
rm gnutest.ps
#
# ------- calculation that would generate file(s) to
# be plotted with gnuplot would be placed here -----------
#
gnuplot << \E-o-f2
set... (1 Reply)
Sorry if this been posted before.
At the moment I'm having problem with the iscntrl() function. I need it to run a check on code entered into a Text Box, however I also need to allow the "Ö, ö" Swedish characters. The iscntrl() function seems to pick up the characters above as part of the... (0 Replies)
Someone give me info on this script. I put all the parts I do not understand in BOLD. Please someone explain what the parts in BOLD does/mean. Thanks!
#!/bin/bash
#Usage: cmdArgs.sh arg1 arg2 arg3
printf "The number of command line args is: $#\n"
declare -i counter #Not strictly... (7 Replies)
I am reading the SANS security policy--.I want to translate the to Chinese.But I don`t understand a paragraph of the.
It is :"Where SNMP is used, the community strings must be defined as something other than the standard defaults of "public," "private" and "system" and must be different from... (1 Reply)
I have been looking up the allocated space, free space and the contents (raw, jfs, paging) of the logical volumes in AIX servers. I have been using lsvg and lsvg -l (server name). What is the HP-UX equivalent to that? I was given this command also so I would not have to type in each volume group... (2 Replies)
Hello,
Any help or advice on this would be greatly appreciated. I have a site-to-site VPN, across which data is synced between two CRM systems.
The opposing side of this tunnel is a flat network (lets call it 201.200.156.xx/24)
My internal network is a 192.168.0.xx/24 network, however before... (2 Replies)
How would one approach the problem of determining the NAT tables of a router without knowing the userid and password. The only password holder died.
I know the internal ip address of the router is 192.168.2.1, and also ports 80 or 8080 and 3389 are open. (5 Replies)
Discussion started by: jgt
5 Replies
LEARN ABOUT OSF1
xmtextreplacewcs
XmTextReplaceWcs(3X)XmTextReplaceWcs(3X)NAME
XmTextReplaceWcs - A Text function that replaces part of a wide character string in a Text widget
SYNOPSIS
#include <Xm/Text.h>
void XmTextReplaceWcs (widget, from_pos, to_pos, wcstring)
Widget widget;
XmTextPosition from_pos;
XmTextPosition to_pos;
wchar_t *wcstring;
DESCRIPTION
XmTextReplaceWcs replaces part of the wide character string in the Text widget. The character positions begin at zero and are numbered
sequentially from the beginning of the text.
An example text replacement would be to replace the second and third characters in the text string. To accomplish this, the from_pos
parameter must be 1 and the to_pos parameter must be 3. To insert a string after the fourth character, both the from_pos and to_pos param-
eters must be 4.
This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall-
backWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed
first and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. Specifies the Text widget ID Specifies the start posi-
tion of the text to be replaced Specifies the end position of the text to be replaced Specifies the wide character string value to be added
to the Text widget
For a complete definition of Text and its associated resources, see XmText(3X).
SEE ALSO XmText(3X), XmTextReplace(3X)XmTextReplaceWcs(3X)