Find the 'more' command source code

P

Pirate

i can't find the 'more' command source code on the internet. if you
know the source code , can you tell me where it is ? i'm reading the
the sources code of the linux command.
Thank you!
 
M

Martin Ambuhl

Pirate said:
i can't find the 'more' command source code on the internet. if you
know the source code , can you tell me where it is ? i'm reading the
the sources code of the linux command.
Thank you!

While this is clearly off-topic, having nothing to do with the C
programming language (in fact, it cannot be written without some system
specific code), I will violate protocol and give you an answer. You
really want 'less' ("less is more") rather than 'more'. Directions to
finding the source are in a number of places. You might try, for
example, <http://pkgsrc.se/misc/less> for Mark Nudelman's version. The
same site has directions for another file pager utility
'most'<http://pkgsrc.se/misc/most>.

The homepage for Mark Nudekman's 'less' is
<http://www.greenwoodsoftware.com/less/>. There is a list of gnu
mirrors for ftp at <http://www.gnu.org/order/ftp.html>.

If you have questions, they should be directed to a gnu newsgroup.
Again, this question has _nothing_ to do with the C programming language
and is off-topic in comp.lang.c.
 
M

Mark McIntyre

i can't find the 'more' command source code on the internet. if you
know the source code , can you tell me where it is ? i'm reading the
the sources code of the linux command.

This is offtopic here. However you could try the gnu text utils in the
gnu archives.

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
 
K

Keith Thompson

Mark McIntyre said:
This is offtopic here. However you could try the gnu text utils in the
gnu archives.

The redirection is appropriate, but mistaken. The GNU textutils
package has been incorporated into the coreutils package. However,
there is no "more" command in textutils or coreutils; there is,
however, a "less" command which is an enhanced replacement for "more".

On one system I use, the "more" command is part of the "util-linux"
package; you should be able to find the source for that. (It's
probably a reimplementation of the original Unix "more" program.)

For more information, try comp.unix.programmer.
 
S

Sjouke Burry

Pirate said:
i can't find the 'more' command source code on the internet. if you
know the source code , can you tell me where it is ? i'm reading the
the sources code of the linux command.
Thank you!
Google for "unix utils for dos", the first hit
shows the Berkely package with a MORE utility.
Sources should be at the Berkely site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top