Lines Matching refs:gl
81 static GetLine *gl = NULL; /* for interactive mode */ variable
698 if (gl == NULL) { in init_interactive()
699 if ((gl = new_GetLine(MAX_LINE_LEN, in init_interactive()
704 if (gl_customize_completion(gl, NULL, in init_interactive()
706 (void) del_GetLine(gl); in init_interactive()
728 if (gl != NULL) in fini_interactive()
729 (void) del_GetLine(gl); in fini_interactive()
750 line = gl_get_line(gl, prompt, NULL, -1); in do_getstr()
751 if (gl_return_status(gl) == GLR_SIGNAL) { in do_getstr()
752 gl_abandon_line(gl); in do_getstr()
754 } else if (gl_return_status(gl) == GLR_ERROR) { in do_getstr()
755 gl_abandon_line(gl); in do_getstr()
757 gl_error_message(gl, NULL, 0)); in do_getstr()