get_secobj_from_tty
len = get_secobj_from_tty(1, obj_name, buf);
len2 = get_secobj_from_tty(2, obj_name, buf2);