Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Display result one page at a time Post 39962 by nelamvr6 on Saturday 6th of September 2003 12:02:04 AM
Old 09-06-2003
Try piping to more.

Example:

ls -l | more

will give the results of an ls -l comand one screen at a time.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

display result from user input

how can i only display the result according to user input? For example: i have a data file(in the attachement), when the user enter "1" it will only display whole records with pid from the data file matches to the users entered. (13 Replies)
Discussion started by: thms_sum
13 Replies

2. UNIX for Dummies Questions & Answers

display the result of wc -l with words before and after the result

hello showrev -p | wc -l returns: 381 What to do in case I want to have this output: number of lines returned by showrev -p is: 381 thx (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

3. Shell Programming and Scripting

csh script to search for files and display result

Hello all. I'm a long time browser, first time poster...Be gentle :-) I don't use csh much, but have been asked to make a small script for our HP-UX systems to search for a report file(s) or summary file and display the result (I was using vuepad, but this probably is just complicating... (4 Replies)
Discussion started by: neillsm
4 Replies

4. UNIX for Dummies Questions & Answers

display command output page per page

Good afternoon, I wonder how i could use unix commands to ease the reading of long command result output ? like the "php -i" or any other command that returns a long answer. I could not find the right terms to Google it or search the forum. Therefore I bother you with this question. ... (3 Replies)
Discussion started by: Mat_k
3 Replies

5. Web Development

Page load time- local page

Hi Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally. Any ideas? Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies

6. Shell Programming and Scripting

Bash script to display result in table

My script gives the following result. Is it possible to display the same in table format ? 1. rex_best Latest feeds are not avaialable. The last feed was generated on 2012-05-17 File Name = ekb_best_20120517_010949_665.tar.gz The Number of entry elements = 4209539 2. rex_genre Latest... (2 Replies)
Discussion started by: kishorekumar87
2 Replies

7. Shell Programming and Scripting

awk to parse file and display result based on text

I am trying using awk to open an input file and check a column 2/field $2 and if there is a warning then that is displayed (variantchecker): G not found at position 459, found A instead. The attached Sample1.txt is that file. If in that column/field there is a black space, then the text after... (6 Replies)
Discussion started by: cmccabe
6 Replies

8. Shell Programming and Scripting

Execute command and show result in web page

Hi everyone, I have two question 1- I want to execute command in shell and after execution result show in a web server. (kind of making UI ) e.g. in shell root ~: show list item1 item2 item(n)in web server in a page draw a table and show those items in itno | name... (1 Reply)
Discussion started by: indeed_1
1 Replies
XDefault()																XDefault()

Name
  XDefaultColormap,  XDefaultColormapOfScreen, XDefaultDepth, XDefaultDepthOfScreen, XDefaultGC, XDefaultGCOfScreen, XDefaultRootWindow, XDe-
  faultScreen,	XDefaultScreenOfDisplay,  XDefaultVisual,  XDefaultVisualOfScreen,  DefaultColormap,  DefaultColormapOfScreen,	DefaultDepth,
  DefaultDepthOfScreen,  DefaultGC,  DefaultGCOfScreen, DefaultRootWindow, DefaultScreen, DefaultScreenOfDisplay, DefaultVisual, DefaultVisu-
  alOfScreen - get information on server defaults.

Synopsis
  Colormap XDefaultColormap(display, screen_number)
	   Display *display;
	   int screen_number;
  Colormap XDefaultColormapOfScreen(screen)
	   Screen *screen;
  int XDefaultDepth(display, screen_number)
	   Display *display;
	   int screen_number;
  int XDefaultDepthOfScreen(screen)
	   Screen *screen;
  GC XDefaultGC(display, screen_number)
	   Display *display;
	   int screen_number;
  GC XDefaultGCOfScreen(screen)
	   Screen *screen;
  Window XDefaultRootWindow(display)
	   Display *display;
  int XDefaultScreen(display)
	   Display *display;
  Screen *XDefaultScreenOfDisplay(display)
	   Display *display;
  Visual *XDefaultVisual(display, screen_number)
	   Display *display;
	   int screen_number;
  Visual *XDefaultVisualOfScreen(screen)
	   Screen *screen;

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

  screen_number
	    Specifies the appropriate screen number on the host server.

  screen    Specifies the appropriate Screen structure.

Description
  This page describes several pairs of functions such as such as XDefaultColormap() and XDefaultColormapOfScreen().  The only  difference  is
  the arguments: one takes a Display pointer and integer screen number, while the other takes a Screen pointer.

  XDefaultScreen()  returns  the default screen number referenced by the XOpenDisplay() function.  XDefaultScreenOfDisplay() return a pointer
  to the Screen structure of the default screen.

  XDefaultColormap() and XDefaultColormapOfScreen() return the default colormap ID on the specified  screen.   Most  routine  allocations  of
  color should be made out of this colormap.

  XDefaultDepth()  and	XDefaultDepthOfScreen() return the depth (number of planes) of the root window of the specified screen.  Other depths
  may also be supported on this screen (see XMatchVisualInfo()).

  XDefaultGC() and XDefaultGCOfScreen() return the default graphics context of the specified screen, which has the same  depth	as  the  root
  window of the screen.  The GC must never be freed.

  XDefaultRootWindow() returns the root window of the default screen.

  XDefaultVisual() and XDefaultVisualOfScreen() return the default visual of the specified screen.

  The  C  language  macros  DefaultColormap(),	DefaultColormapOfScreen(),  DefaultDepth(), DefaultDepthOfScreen(), DefaultGC(), DefaultGCOf-
  Screen(), DefaultRootWindow(), DefaultScreen(), DefaultScreenOfDisplay(), DefaultVisual(), and DefaultVisualOfScreen() are  equivalent  and
  slightly more efficient.

See Also
  XOpenDisplay().

Xlib - Macro Equivalents														XDefault()
All times are GMT -4. The time now is 05:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy