Command line and full screen utilities for browsing procfs, a "pseudo" file system dynamically generated by Linux to provide information about the status of entries in its process table.
Go to file
Jim Warner 4fb48c0bdb ps: generalize help text logic, add related translator hints
This commit represents an experiment in nls help text support.

The word --help itself been made translatable along with the
help section names and their abbreviations.  Thus, the work of
the translators will ultimately alter program run-time behavior.

Perhaps someday all "long" options can behave in a similar way
which could offer a considerable benefit to other languages.
Instead of translationg just option descriptions, the long
forms of those options could also be transalated.

This commit also:
 . includes the section abbreviations in --help output
 . isolates all --help support in the ps/help.c module
 . provides (hopefully) meaningful Translator guidance
 . removes --help support from the ps/common.h header
 . removes --help support from the ps/parser.c module
 . eliminates tabs in line with the style of other ps modules
 . eliminates the need for the include/c.h header file
2012-01-04 08:58:53 +11:00
contrib
include Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
lib Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
po
proc Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
ps ps: generalize help text logic, add related translator hints 2012-01-04 08:58:53 +11:00
testsuite Updated testsuite files for new NLS output 2012-01-02 17:39:41 +11:00
top Merge branch 'master' into nls 2011-12-26 09:11:27 +11:00
.gitignore Merge branch 'master' into nls 2011-12-26 09:11:27 +11:00
AUTHORS
autogen.sh top: provide extensive, generalized nls support 2011-12-22 23:48:04 +11:00
BUGS
ChangeLog
CodingStyle
configure.ac Merge branch 'master' into nls 2011-12-26 09:11:27 +11:00
COPYING
COPYING.LIB
FAQ
free.1
free.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
kill.1 docs: add long options to kill.1 2011-12-20 17:30:53 +01:00
Makefile.am Merge branch 'master' into nls 2011-12-26 09:11:27 +11:00
NEWS
pgrep.1
pgrep.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
pkill.1
pmap.1 docs: add exit values to pmap manual page 2011-12-20 17:30:54 +01:00
pmap.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
pwdx.1
pwdx.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
README
skill.1 dosc: add long options to skill.1 2011-12-20 17:30:53 +01:00
skill.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
slabtop.1
slabtop.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
snice.1
sysctl.8
sysctl.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
sysctl.conf
sysctl.conf.5
tload.1
tload.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
TODO
uptime.1
uptime.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
vmstat.8
vmstat.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
w.1
w.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00
watch.1
watch.c Changed the err and warns to macros 2012-01-03 18:48:43 +11:00

COMPATIBILITY

    This code is intended for use with Linux 2.2.xx, 2.4.xx,
    2.6.xx, and hopefully all future kernels. You should be
    running a system with libc 6, but libc 5 might work too.

INSTALLATION

    make
    make install

    Only the second ("make install") is needed if you just
    want to build and install procps-ng in the normal way.

    If you wish to test before installing, use the scripts
    named t, v, and p to ensure that the correct libproc
    (the new one) is used during your testing.

    You may set SKIP to avoid building or installing things.
    For example:

    make SKIP='/bin/kill /usr/share/man/man1/kill.1' install

    Use SHARED=0 to build procps-ng without shared libraries.
    This may be useful for installing in your home directory.

    make SHARED=0 DESTDIR=$HOME install

    Suppose you wanted to install stuff in strange places.
    You might do something like this:

    make usr/bin=/tmp/Q/i/ DESTDIR=/tmp/Q install="install -D" ldconfig=echo install

    If cross-compiling, you might need to set lib64 to
    either "lib" or "lib64". You might need to set m64 to
    -m64, -m32, or nothing at all. Some examples:

    make lib64=lib m64=-m32      # for a bi-arch gcc
    make lib64=lib64 CC=x86_64-gcc
    make lib64=lib CC=alpha-gcc

PACKAGING

    If you are a downstream maintainer (packager) for a Linux distribution,
    please avoid causing troubles. This section applies to you.

    Send patches in regularly. Many patches made by vendors have been buggy,
    some quite severely so. Sending in a patch will at least get it reviewed,
    if not included. There is a procps-ng test suite that must be passed.
    Forward all bug reports. If your bug database is public and busy enough
    to bother with, please make this known. Follow Debian's lead in making
    the bug database easy to comment on via email w/o need for an account.

    Do not change the user interface. Many of the programs are intended to be
    compatible with Solaris, FreeBSD, AIX, IRIX, Tru64, and the UNIX standard.
    Your nice new command options WILL BE BROKEN as needed to ensure that
    procps-ng remains compatible with the rest of the world. Sysadmins hate to
    deal with incompatible behavior. If you need a new option, ask for it.

    For normal packages, ensure that you do not add debugging flags
    to the CFLAGS variable. If debugging flags are present, the Makefile
    will avoid adding several optimizations that would interfere with gdb.

    There should be no need to modify the Makefile. You can set variables
    on the "make" command line or use "make -e" to pass variables from
    the environment.

BUG REPORTS

    Email to procps@freelists.org.