10-06-2006
Regarding #ident macro
Hi,
In my application I have some number c files. In each of the file the following line will be the first statement.
#ident "@(#) set.c 14.1.2.2 05/15/01 17:06:32"
I would like to know what is the use of the above statement.
Thanks
Sarwan
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm having a problem with a macro i put in my .exrc file.
Here's what I put: map #I ^[
^ [ is control-v and the escape key.
It places a # a the beginning of a line by simply hitting the # on the keyboard. Problem is, now when I hit "o" or "O" to move up or down a line, it places a # at... (1 Reply)
Discussion started by: Atama
1 Replies
2. Programming
Can i define a macro for a function of 10 LOC. (9 Replies)
Discussion started by: bankpro
9 Replies
3. Programming
what is the usage of #ident
I found the following statemant in begining of the shell scirpt ...
#ident "@(#) get.sh 6.12.1 09/30/97"
and I found the following statement in C file
#ident "@(#) getinp.h 5.1.2.1 07/11/97"
Thanks
Sarwan (1 Reply)
Discussion started by: sarwan
1 Replies
4. AIX
I have an application which was originally compiled for AIX 4.3.3 which I am trying to compile with xlc 8 on aix 5.2. This app defines a macro called IDENT. Unfortunately, /usr/include/curses.h checks if IDENT is defined and if so, then defines #ident. Since #ident is apparently not supported by... (2 Replies)
Discussion started by: erick00
2 Replies
5. UNIX and Linux Applications
In ircII, how do I change the username and real name that shows up in the /whois ? (1 Reply)
Discussion started by: guitarscn
1 Replies
6. Programming
I think there is no problem to use any macro in a new macro definishion, but I have a problem with that.
I can not understand why?
I have a *.mak file that inludes file with many definitions and rules.
##############################################
include dstndflt.mak
...
One of the... (2 Replies)
Discussion started by: alex_5161
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have a problem sending mail to a host which seems to have sendmail configured to use Ident port (113) to check back on the mail sender.
My problem is that this port is not enabled on the firewalls between sender and receiver so the ident checking and hence the mail is failing and... (0 Replies)
Discussion started by: Jublio
0 Replies
8. Shell Programming and Scripting
Hi,
I just opened one old RH box and found number of "macros" in there, that how they called in how-to doc, let say you type <rx> and this does a lot of stuff.
I can't figure out how it work, how I can edit/display these macros? Can anybody point to the right directions? I have some academic... (3 Replies)
Discussion started by: trento17
3 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone,
What I am trying to do is assign a F-key a macro to save a file in vi and display said file in firefox. The details are as follows:
I am using a Win 7 laptop with and ssh program to log into a unix system.
What I am trying to do is figure out how to bring up the firefox... (1 Reply)
Discussion started by: csharp100
1 Replies
10. UNIX for Dummies Questions & Answers
Can I create a macro in UNIX? If so where do I find out how? (1 Reply)
Discussion started by: JD_Sal
1 Replies
ident(n) Identification protocol client ident(n)
__________________________________________________________________________________________________________________________________________________
NAME
ident - Ident protocol client
SYNOPSIS
package require Tcl 8.3
package require ident ?0.42?
::ident::query socket ?callback?
_________________________________________________________________
DESCRIPTION
The ident package provides a client implementation of the ident protocol as defined in RFC 1413 (http://www.rfc-edi-
tor.org/rfc/rfc1413.txt).
::ident::query socket ?callback?
This command queries the ident daemon on the remote side of the given socket, and returns the result of the query as a dictionary.
Interpreting the dictionary as list the first key will always be resp-type, and can have one of the values USERID, ERROR, and FATAL.
These response types have the following meanings:
USERID This indicates a successful response. Two more keys and associated values are returned, opsys, and user-id.
ERROR This means the ident server has returned an error. A second key named error is present whose value contains the error-type
field from the server response.
FATAL Fatal errors happen when no ident server is listening on the remote side, or when the ident server gives a response that does
not conform to the RFC. A detailed error message is returned under the error key.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ident of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
ident, identification, rfc 1413
CATEGORY
Networking
COPYRIGHT
Copyright (c) 2004 Reinhard Max <max@tclers.tk>
ident 0.42 ident(n)