Sponsored Content
Full Discussion: How to scan and capture
Top Forums Shell Programming and Scripting How to scan and capture Post 302155672 by srage on Saturday 5th of January 2008 02:37:18 AM
Old 01-05-2008
Is the file multiple lines or single line?

How does each line look like?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

IP Name scan

Hi. how to search a range of IP:s for their registed IP names? Like nslookup or host for all IPs 130.xxx.xxx.1 to 130.xxx.xxx.254 //nicke (2 Replies)
Discussion started by: nicke30
2 Replies

2. Shell Programming and Scripting

File Scan

Hi everyone , i m working on Sun solaris and i have a file "smsapp.cur" which has information like this paragraph given below , there are millions of such paragraphs From:923212802736 To:923222326807 logMessage: 07-04-08 17:34:29 Getting message topup from code page default in language English... (2 Replies)
Discussion started by: Dastard
2 Replies

3. UNIX for Advanced & Expert Users

Please let me know Regarding Port Scan

Can any one please let me know below ones 1) How to Perform the Port Scan in Solaris Environment and how to block the unwanted Ports. 2) How to know whether particular Port is listning the requests or not? Thanks Ramkumar.B (7 Replies)
Discussion started by: myramkumar
7 Replies

4. Shell Programming and Scripting

scan direcotries

Hi I am new to this forum, and glad to be a part of it here after. I have an intersting issue for which I need suggestions of you great minds. I am in process a building a shell script which should scan a directory for a specified amount of time and prepare a list of all the files that were... (1 Reply)
Discussion started by: nagrcm
1 Replies

5. AIX

Scan Rates

Dear Gurus, Can any one advice about the normal limits for the Page scanning rates on the AIX platforms, i am having enormous values for the scan rate along the hour it may reache 3000 pages/sec. Regards, Negm (2 Replies)
Discussion started by: Negm
2 Replies

6. Shell Programming and Scripting

scan compressed

Hello all I want to help I have some compressed files on the system When you want to unzip these files Delete any file which symlink "ln -s" {{ I need script is necessary Script contain: Any operation to decompress the system is doing to delete any symlink... (0 Replies)
Discussion started by: x-zer0
0 Replies

7. Red Hat

Scan For new LUNS

In Solaris the administrator has to update /kernel/drv/sd.conf file to tell the sd driver to scan for a broader range of scsi devices. Can someone please tell me what file needs to be update in Redhat Linux 5 for the same. Second part of the question is WWN for HBA's can be found (atleast in my... (1 Reply)
Discussion started by: Tirmazi
1 Replies

8. AIX

Scan Rate

Hello, How can i tell ifthe ratio between fr and sr is ok? is fr/sr ratio of 0.9 acceptable? thanks. (1 Reply)
Discussion started by: LiorAmitai
1 Replies

9. UNIX for Dummies Questions & Answers

best way to scan?

i want to scan all open and closed ports on a server. how can i do this. i intend on using nmap, but if there are better ways to do it, please let me know. i understand there are a total of 6335 allowable ports on a server. so out of that 6335, i want to know which is open or closed. id... (1 Reply)
Discussion started by: SkySmart
1 Replies
XDrawLines()															      XDrawLines()

Name
  XDrawLines - draw multiple connected lines.

Synopsis
  XDrawLines(display, drawable, gc, points, npoints, mode)
	Display *display;
	Drawable drawable;
	GC gc;
	XPoint *points;
	int npoints;
	int mode;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  drawable  Specifies the drawable.

  gc	    Specifies the graphics context.

  points    Specifies a pointer to an array of points.

  npoints   Specifies the number of points in the array.

  mode	    Specifies the coordinate mode.  Pass either CoordModeOrigin or CoordModePrevious.

Description
  XDrawLines() draws a series of lines joined end-to-end.

  It  draws lines connecting each point in the list (points array) to the next point in the list.  The lines are drawn in the order listed in
  the points array.  For any given line, no pixel is drawn more than once.  If thin (zero line width) lines intersect, pixels will  be	drawn
  multiple  times.  If the first and last points coincide, the first and last lines will join correctly.  If wide lines intersect, the inter-
  secting pixels are drawn only once, as though the entire multiline request were a single filled shape.

  There is a limit to the number of lines that can be drawn in a single call, which varies according to the server.  To  determine  how  many
  lines  you  can  draw  in a single call, find out your server's maximum request size using XMaxRequestSize().  Subtract three and divide by
  two, and this is the maximum number of lines you can draw in a single XDrawLines() call.

  The mode argument may have two values:

  o  CoordModeOrigin indicates that all points are relative to the drawable's origin.

  o  CoordModePrevious indicates that all points after the first are relative to the previous point.  (The first point is always relative  to
     the drawable's origin.)

  XDrawLines()	uses  the  following components of the specified graphics context to draw multiple connected lines in the specified drawable:
  function, plane_mask, line_width, line_style,  cap_style,  join_style,  fill_style,  subwindow_mode,	clip_x_origin,	clip_y_  origin,  and
  clip_mask.   This function also uses these graphics context mode-dependent components:  foreground, background, tile, stipple, ts_x_origin,
  ts_y_origin, dash_offset, and dashes.

  For more information, see Volume One, Chapter 6, Drawing Graphics and Text, and Chapter 5, The Graphics Context.

Structures
     typedef struct {
	 short x, y;
     } XPoint;

Errors
  BadDrawable
	    Specified drawable is invalid.

  BadGC     Specified GC is invalid, or does not match the depth of drawable.

  BadMatch  Specified drawable is an InputOnly window.

  BadValue  Invalid coordinate_mode.

See Also
  XClearArea(), XClearWindow(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawFilled(), XDrawLine(),	XDrawPoint(),  XDraw-
  Points(),  XDrawRectangle(),	XDrawRectangles(),  XDrawSegments(),  XFillArc(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectan-
  gles().

Xlib - Drawing Primitives													      XDrawLines()
All times are GMT -4. The time now is 09:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy