revision of TecsServer / treat "interest" correctly
This commit is contained in:
@@ -11,7 +11,10 @@
|
||||
|
||||
static char *last_line = NULL;
|
||||
|
||||
char *readline (char *prompt);
|
||||
int lnblnk_(char *c, int c_len);
|
||||
char *readline(char *prompt);
|
||||
void add_history(char *line_read);
|
||||
int usleep(time_t delay);
|
||||
|
||||
void sys_rd_line_(char *cmd, int *retlen, char *prompt, int clen, int plen)
|
||||
{
|
||||
@@ -42,7 +45,7 @@ void sys_rd_line_(char *cmd, int *retlen, char *prompt, int clen, int plen)
|
||||
|
||||
|
||||
void intcatch(int sig)
|
||||
{ printf("\nuse quit (normally ctrl-\) to interrupt\n");
|
||||
{ printf("\nuse quit (normally ctrl-\\) to interrupt\n");
|
||||
}
|
||||
|
||||
int called=0; /* env is valid only if called==1 */
|
||||
@@ -56,10 +59,10 @@ void sighdl(int sig)
|
||||
}
|
||||
|
||||
void sys_err_hdl_(void errhdl0())
|
||||
{ errhdl=errhdl0; };
|
||||
{ errhdl=errhdl0; }
|
||||
|
||||
void sys_int_hdl_(void inthdl0(int sig))
|
||||
{ inthdl=inthdl0; };
|
||||
{ inthdl=inthdl0; }
|
||||
|
||||
void sys_try_(void proc())
|
||||
{ int sig, status;
|
||||
|
||||
Reference in New Issue
Block a user