Changed to check I_PUSH macro
Changed definition of TTYNAME_MAX
Removed nonessential parts in order to improve portability
WIP: Added compatibility with HP-UX
WIP: Added compatibility with AIX
Improved checking header
WIP: Improved compatibility with HP-UX,AIX