I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Hi
On solaris, when I press Ctrl+S on an XTERM, the window normally freezes. But today on the same machine, the Ctrl+S key results in (i-search) !! I understand that it has got something to do with emacs (may be not). But I do not use emacs at all. Other specific keys including <backspace>,... (3 Replies)
Is it possible to create an alias wherein it will use a keystroke.
Like to clear the screen in bash i have to use CTRL + l.
I want to make an alias 'c' out of this.
Thanks. (6 Replies)
I'm going through "learning the bash shell" by newham and rosenblatt. I'm trying to ctro-O to execute and then go on to the next command in the history list, ctrl-o again, etc. (I'm just trying to get a feel for it in case I want to use it). But ctrl-o does nothing. Can someone help me out as to... (5 Replies)
H! I have written script where it need to invoke the perl script in background, then write the pid in temp file then bring back the job to foreground. whenever the Ctrl-C or Ctrl-Z is pressed in the script has to exit and prompt should be dispalyed. but this script causing exit from shell session... (2 Replies)
Hi,
while executing shell script, in the middle of the process, if we kill the shell script( ctrl+z or ctrl+c), script will be killed and the files which using for the script will be in the folder.
How to handle those scenarios. Is there any possibilities, if user breaks the script, I need to... (3 Replies)
Hi friends,
I am trying to add a newline char ('\n') between the query and the commit statement in the following shell script.
#! /bin/sh
echo "select * from tab; commit;" > data.sql
I have tried typing in "Ctrl-V + Ctrl-J" combination which has inserted ^@ (NUL) character but the commit... (1 Reply)
Hi..!
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..
So i'm trying to use command 'screen'. which is doing exactly what i wanted, But the problem is automation of the same.
i will have to press Ctrl+a and Ctrl+d for... (2 Replies)
ldns(3) Library Functions Manual ldns(3)NAME
ldns_rdf_size, ldns_rdf_get_type, ldns_rdf_data, ldns_rdf_compare
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
size_t ldns_rdf_size(const ldns_rdf *rd);
ldns_rdf_type ldns_rdf_get_type(const ldns_rdf *rd);
uint8_t* ldns_rdf_data(const ldns_rdf *rd);
int ldns_rdf_compare(const ldns_rdf *rd1, const ldns_rdf *rd2);
DESCRIPTION
ldns_rdf_size() returns the size of the rdf.
*rd: the rdf to read from
Returns uint16_t with the size
ldns_rdf_get_type() returns the type of the rdf. We need to insert _get_ here to prevent conflict the the rdf_type TYPE.
*rd: the rdf to read from
Returns ldns_rdf_type with the type
ldns_rdf_data() returns the data of the rdf.
*rd: the rdf to read from
Returns uint8_t* pointer to the rdf's data
ldns_rdf_compare() compares two rdf's on their wire formats. (To order dnames according to rfc4034, use ldns_dname_compare)
rd1: the first one
rd2: the second one
Returns 0 if equal
Returns -1 if rd1 comes before rd2
Returns +1 if rd2 comes before rd1
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_rdf. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.
30 May 2006 ldns(3)