Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    pagers don't work with help text


    why don't pagers like 'more' or 'less' work with the help text of many console applications, like to help text of X11???

    example:
    Code:
    X --help |more

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    They do. --help is not a valid switch to the command 'X'.

    Try:

    Code:
    ls --help | more
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Quote Originally Posted by sarumont
    They do. --help is not a valid switch to the command 'X'.

    Try:

    Code:
    ls --help | more
    Yes it is, 'X --help' list the arguements available for X. The pager doesn't intercept the text output.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •