set initial value (-1) to catd to avoid segmentation fault by catgets called before catopen
set initial value (-1) to catd to avoid segmentation fault by catgets called before catopen

openpts/openpts,openpts/openpts,openpts/openpts