01-30-2007
Quote:
Originally Posted by milhan
How do we do it for ^? then..?
Can't be done as far as I know
10 More Discussions You Might Find Interesting
1. HP-UX
hi
1).in the command "set" result, the 2nd line is
EDITOR=vi
is it means the vi editor is the default editor?
2). is "nedit"editor available in hpux 11iv2?
if no how to install or work in nedit in hpux 11i? (0 Replies)
Discussion started by: sekar sundaram
0 Replies
2. UNIX for Advanced & Expert Users
Is this a bug in ksh on HPUX 11i or is read impromperly documented?
INPUT
Thu Jan 18 09:14:52 PST : CIFS: Virus Detected - File ONTAP_ADMIN$\vol\vol0\DDD\Ventana\Strattoni\Race Stuff\Rumor.exe in share DDD accessed by client CLIENT (111.11.11.111) running as user USER is infected. The filer... (3 Replies)
Discussion started by: Jackaroe
3 Replies
3. HP-UX
As per the man page, pstat_getdisk() call returns the number of instances, which could be 0 upon successful completion, otherwise a value of -1 is returned.
Please have a look at this sample program ->
#include <stdio.h>
#include <sys/pstat.h>
int main()
{
int j = 0, ret;
struct... (2 Replies)
Discussion started by: sandiworld
2 Replies
4. UNIX for Dummies Questions & Answers
Hello, I am a UNIX newbie. With that out of that way..
In order to delete a mistyped character, I need to press control+h to move the cursor to the left, and then overwrite it. If I try hitting the backspace key, it just brings me to a new prompt.
Is there a way to change it so that my... (1 Reply)
Discussion started by: martinp973
1 Replies
5. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
6. HP-UX
I am new for HPUX OS and want to pursue my career in HPUX Administration.
I could not able to get following information from HP.com site, that why I need an assistance to know that - can I install HPUX 11i V3 OS on old HP B2000 & B1000 workstations (these workstation are 4 to 5 year old) or not,... (5 Replies)
Discussion started by: girish.batra
5 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I am using a script which is as follows: It reads a character.
I want to check if the character is a backspace character or some other character.
read -n 1 x
if ; then
echo "backspace detected"
else
echo "some other character"
fi
Thanks in advance. (1 Reply)
Discussion started by: anandkumar
1 Replies
8. UNIX Desktop Questions & Answers
Hi gurus, i use vi editor. when I want search something I Type / (or ? if i want search backward), that is OK.
But when i make mistake in searching string how can i delete character ?
I tried bacskpase but did not work (gives just strange characters).
Also tried shift+bacskspace but this only... (3 Replies)
Discussion started by: wakatana
3 Replies
9. Shell Programming and Scripting
Hello Forum:
I am trying to find a meaning to this echo escape character:
echo -e "\b"
Can someone tell me or give me examples of the effect that this has when used. I know that \b is the backspace, but I cannot visualise it use like any other escape such as:
echo -e "\n"
Thanks.
--Willie (10 Replies)
Discussion started by: willie
10 Replies
10. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
LEARN ABOUT OPENDARWIN
tcl_deleteassocdata
Tcl_SetAssocData(3) Tcl Library Procedures Tcl_SetAssocData(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_GetAssocData, Tcl_SetAssocData, Tcl_DeleteAssocData - manage associations of string keys and user specified data with Tcl interpreters.
SYNOPSIS
#include <tcl.h>
ClientData
Tcl_GetAssocData(interp, key, delProcPtr)
Tcl_SetAssocData(interp, key, delProc, clientData)
Tcl_DeleteAssocData(interp, key)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter in which to execute the specified command. |
CONST char *key (in) |
Key for association with which to store data or from which to delete or retrieve data. Typ-
ically the module prefix for a package.
Tcl_InterpDeleteProc *delProc (in) Procedure to call when interp is deleted.
Tcl_InterpDeleteProc **delProcPtr (in) Pointer to location in which to store address of current deletion procedure for association.
Ignored if NULL.
ClientData clientData (in) Arbitrary one-word value associated with the given key in this interpreter. This data is
owned by the caller.
_________________________________________________________________
DESCRIPTION
These procedures allow extensions to associate their own data with a Tcl interpreter. An association consists of a string key, typically
the name of the extension, and a one-word value, which is typically a pointer to a data structure holding data specific to the extension.
Tcl makes no interpretation of either the key or the value for an association.
Storage management is facilitated by storing with each association a procedure to call when the interpreter is deleted. This procedure can
dispose of the storage occupied by the client's data in any way it sees fit.
Tcl_SetAssocData creates an association between a string key and a user specified datum in the given interpreter. If there is already an
association with the given key, Tcl_SetAssocData overwrites it with the new information. It is up to callers to organize their use of
names to avoid conflicts, for example, by using package names as the keys. If the deleteProc argument is non-NULL it specifies the address
of a procedure to invoke if the interpreter is deleted before the association is deleted. DeleteProc should have arguments and result that
match the type Tcl_InterpDeleteProc:
typedef void Tcl_InterpDeleteProc(
ClientData clientData,
Tcl_Interp *interp);
When deleteProc is invoked the clientData and interp arguments will be the same as the corresponding arguments passed to Tcl_SetAssocData.
The deletion procedure will not be invoked if the association is deleted before the interpreter is deleted.
Tcl_GetAssocData returns the datum stored in the association with the specified key in the given interpreter, and if the delProcPtr field
is non-NULL, the address indicated by it gets the address of the delete procedure stored with this association. If no association with the
specified key exists in the given interpreter Tcl_GetAssocData returns NULL.
Tcl_DeleteAssocData deletes an association with a specified key in the given interpreter. Then it calls the deletion procedure.
KEYWORDS
association, data, deletion procedure, interpreter, key
Tcl 7.5 Tcl_SetAssocData(3)