hi,

Scripts and other tools are getting numerous in the source distribution,
and there are over 200 (!) source files in the root directory. What about
some kind of hierarchy, so we have the files organized a bit?

/lsh                    - distribution root, ChangeLog, COPYING etc.
        /doc            - documentation, man pages etc.
        /src            - source
        /lib            - library files
        /include        - library includes
        /scripts        - build scripts

other directories maybe added later, when something deserves it.

I have written a perl script for checking the range of pty devices a given
distribution has. It inputs a header file, and expands a macro called
PTY_BSD_DEFS to four defines:

#define PTY_BSD_FIRST_MIN 'p'
#define PTY_BSD_FIRST_MAX 's'
#define PTY_BSD_SECND_MIN '0'
#define PTY_BSD_SECND_MAX 'f'

It may be better to achieve the same using autoconf, but I don't know
that beast too much. :-)

--- Bazsi

Reply via email to