Hi,
I have got an application through which an user will submit an address like "c:\tuser\abc".
This application calls a script and passes the address to the scripts positional parameter say $1.
So $1 should contain "c:\tuser\abc", but when $1 is echoed the "\t" and "\a" are interpreted to... (4 Replies)
Hi,
Is it possible to view the escape sequence in the ascii file. That is I want to see the newlinw character,tab ........ etc
Thanks
Sweta (4 Replies)
I couldn't seem to make 'HOME' key work on my remote windows ssh client to a Fedora Core3 server (the home key works perfectly when i'm physically on site.)
To my surprise, using control+V it seems that both my home and insert key send the same escape sequence ^So it must be my windows SSH client... (0 Replies)
Hi all,
I have a requirement where the variable name starts with $, like
$Amd=/home/student/test/
How to work wit it? can some one help me, am in gr8 confusion:confused: (5 Replies)
Hi All,
I have added the script command to user profile so that to record the on-screen data.But when i i checked the O/P i could see lot of escape sequence is there way to remove it. (2 Replies)
I ran the following grep and sed command.
grep "\t" emp.txt
sed -n '/\t/p' emp.txt
grep treated the '\' as to escape t and took the pattern as literal t whereas sed took the pattern as tab.
That means , grep doesn't understand escape sequence!!!!!!
what to do to make grep... (8 Replies)
Friends,
In the file i am having more then 100 lines like,
File1 had the values like this:
#Example East.server_01=EAST.SERVER_01
East.server_01=EAST.SERVER_01
West.server_01=WEST.SERVER_01
File2 had the values like this:
#Example EAST.SERVER_01=http://yahoo.com... (3 Replies)
Hello,
I am running Solaris 8. When issuing the command "stty lcase" all text which is output to the terminal are capitalized. Letters that are supposed to be capitals are preceded by a backslash during output. All text which is input is converted to lower case. This is the expected behaviour... (5 Replies)
Hi
I am try to use sed to remove decleration information from an XML file however their are special characters in the string and sed is not able to parse it . I am using the following commond.
sed -e "s/xmlns=http://www.abc.com/integration/services/testtemplate1//g" Orginal.xml... (3 Replies)
Having a doubt on how Function keys are mapped.
1. In my HPUX box my infocmp shows that kf1 (F1 key mapping) is not mapped. But somehow I am able to use an Informix form which requires navigation using F1 keys.
vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
bce, bw, ccc,... (3 Replies)
Discussion started by: clemansy
3 Replies
LEARN ABOUT HPUX
xtparsetranslationtable
XtParseTranslationTable() XtParseTranslationTable()
Name
XtParseTranslationTable - compile a translation table into its internal representation.
Synopsis
XtTranslations XtParseTranslationTable(table)
String table;
Inputs
table Specifies the translation table to compile.
Returns
The compiled form of table.
Description
XtParseTranslationTable() compiles table into its opaque internal representation of type XtTranslations. This compiled form can then be
set as the value of a widget's XtNtranslations resource, or merged with a widget's existing translation table with XtAugmentTranslations()
or XtOverrideTranslations().
The syntax of the string representation of a translation table is documented in Appendix F.
If an empty translation table is required for any purpose, one can be obtained by calling XtParseTranslationTable() and passing an empty
string.
Usage
This function is generally only needed by application writers. When writing a widget, you specify a default translation table as a string,
which the Intrinsics automatically parse.
You only need to use this function when you want to set translation values from C code; translation tables specified in resource files are
automatically compiled by a resource converter.
It is also possible to set a translation table with the XtVaTypedArg feature of XtVaCreateWidget() and XtVaSetValues(). This allows you to
specify the translation table in string form, and have the appropriate resource converter automatically invoked to compile it.
The string table passed to XtParseTranslationTable can be freed after the call if there are no more explicit references to it.
See AlsoXtAugmentTranslations(1), XtOverrideTranslations(1), XtUninstallTranslations(1).
Xt - Translations and Actions XtParseTranslationTable()