ecu - SCO XENIX V/{2,3}86 Extended CU part 22/47
Warren Tucker
wht at tridom.uucp
Tue Oct 10 09:37:09 AEST 1989
---- Cut Here and unpack ----
#!/bin/sh
# this is part 22 of a multipart archive
# do not concatenate these parts, unpack them in order with /bin/sh
# file lint_args.h continued
#
CurArch=22
if test ! -r s2_seq_.tmp
then echo "Please unpack part 1 first!"
exit 1; fi
( read Scheck
if test "$Scheck" != $CurArch
then echo "Please unpack part $Scheck next!"
exit 1;
else exit 0; fi
) < s2_seq_.tmp || exit 1
echo "x - Continuing file lint_args.h"
sed 's/^X//' << 'SHAR_EOF' >> lint_args.h
Xint smart_fork(void);
Xvoid shell(char *);
X/* ecuhayes.c */
Xchar *hayes_get_result(long );
Xint hayes_dial(void);
Xint hayes_dial_pde(struct phone_directory_entry *);
Xint hayes_get_sreg_value(int );
Xint hayes_modem_init(void);
Xint hayes_redial(char * *,int );
Xint hayes_report_iv_set(int );
Xint hayes_send_cmd(char *);
Xint hayes_set_sreg(int ,int );
Xvoid hayes_ATH(void);
Xvoid hayes_autoanswer(void);
Xvoid hayes_modem_on_hook(void);
Xvoid hayes_read_modem_init(void);
Xvoid process_modem_init(char *);
Xvoid show_modem_init_error(int ,struct esd *);
X/* ecuicmaux.c */
Xchar *cmd_escape_str(void);
Xint icmd_log(int ,int ,char * *);
Xvoid display_ascii_names(void);
Xvoid icmd_conversion(int ,int ,char * *);
Xvoid nlin_nlout_control(int ,int ,char * *);
X/* ecuicmd.c */
Xint icmd(char *);
Xint icmd_do_proc(int ,char * *);
Xint search_cmd_list(struct p_cmd *,char *);
X/* ecuicmhelp.c */
Xchar *help_get_cmd(void);
Xint display_help_screen(void);
Xint display_help_stderr(char *);
Xint show_cmds(void);
Xstruct p_cmd *search_cmd_list_pcmd(char *);
Xvoid calculate_help_right_column(void);
Xvoid help_cmd_line_setup(char *);
Xvoid icmd_help(int ,char * *);
X/* eculine.c */
Xchar *lgets_timeout(struct lrwt *);
Xchar *lopen_err_text(int );
Xint lgetc_timeout(long );
Xint llookfor(char *,unsigned long ,int );
Xint lnew_baud_rate(unsigned int );
Xint lopen(void);
Xint lrdchk_xmtr(void);
Xint lset_baud_rate(int );
Xint valid_baud_rate(unsigned int );
Xunsigned char lgetc_xmtr(void);
Xvoid lbreak(void);
Xvoid lclear_xmtr_xoff(void);
Xvoid lclose(void);
Xvoid lflush(int );
Xvoid lget_xon_xoff(int *,int *);
Xvoid lputc(char );
Xvoid lputc_paced(int ,char );
Xvoid lputs(char *);
Xvoid lputs_paced(int ,char *);
Xvoid lquiet(unsigned long ,int );
Xvoid lreset_ksr(void);
Xvoid lset_parity(int );
Xvoid ltoggle_dtr(void);
Xvoid lxon_xoff(int );
X/* ecunumrev.c */
X/* ecuphone.c */
Xint check_curr_pde(void);
Xint lookup_logical_telno(void);
Xint pde_add_or_edit(struct phone_directory_entry *,int );
Xint pde_add_or_edit_read(char *,int ,int ,char *,int ,char *);
Xint pde_display(int ,struct phone_directory_entry *,int );
Xint pde_display_logical(int ,struct phone_directory_entry *,int );
Xint pde_list_read(void);
Xstruct phone_directory_entry *pde_list_search(char *,int );
Xunsigned char dirw_get_cmd(char *);
Xvoid choose_line(unsigned int );
Xvoid copy_pde_to_lvar(struct phone_directory_entry *);
Xvoid dirw_bot_msg(char *);
Xvoid dirw_cmd_line_setup(char *);
Xvoid dirw_display_top(void);
Xvoid pde_cmd_add(struct phone_directory_entry *);
Xvoid pde_cmd_down(void);
Xvoid pde_cmd_find(void);
Xvoid pde_cmd_remove(void);
Xvoid pde_cmd_remove_oops(void);
Xvoid pde_cmd_save(void);
Xvoid pde_cmd_up(void);
Xvoid pde_list_add(struct phone_directory_entry *);
Xvoid pde_list_erase(void);
Xvoid pde_list_manager(void);
Xvoid pde_list_remove(struct phone_directory_entry *);
Xvoid pde_list_save_if_dirty(void);
Xvoid pde_list_set_dirty(int );
Xvoid scrw_fill(struct phone_directory_entry *,int *);
Xvoid scrw_fill_at(int ,struct phone_directory_entry *,int *);
X/* ecuphrase.c */
Xint phrases(int ,char * *);
Xvoid phrase_help(void);
Xvoid read_phrases(void);
X/* ecurcvr.c */
Xint ansi_log_unknown(char *,int );
Xint lget_ansi(void);
Xint lgetc_rcvr(void);
Xint lrdchk_rcvr(void);
Xvoid ansi_CUB(void);
Xvoid ansi_CUD(void);
Xvoid ansi_CUF(void);
Xvoid ansi_CUP(void);
Xvoid ansi_CUU(void);
Xvoid ansi_DSR(void);
Xvoid ansi_ED(void);
Xvoid ansi_SGR(void);
Xvoid ansi_filter_control(int );
Xvoid ibm_crock_restore_cursor(void);
Xvoid ibm_crock_save_cursor(void);
Xvoid rcvr(void);
Xvoid rcvr_log_open(void);
Xvoid rcvr_saw_escape(void);
X/* ecuscrdump.c */
Xvoid screen_dump(char *);
X/* ecusetup.c */
Xint setup_line_open(void);
Xint setw_get_single(char *);
Xvoid setup_display_baud(void);
Xvoid setup_display_name(void);
Xvoid setup_display_screen(int );
Xvoid setup_display_single_char(void);
Xvoid setup_display_tty(void);
Xvoid setup_open_status(void);
Xvoid setup_screen(char *);
Xvoid setw_bot_msg(char *);
Xvoid setw_err_msg(char *);
Xvoid setw_msg(char *,int ,char ,int *);
X/* ecushm.c */
Xint shm_done(void);
Xint shm_init(void);
Xint shmx_rc_report(long *,long *);
Xvoid shmr_process_rcvr_SIGUSR2(void);
Xvoid shmr_rcvd_chars(int );
Xvoid shmr_set_xmtr_bn_1(void);
Xvoid shmx_connect(void);
Xvoid shmx_make_rcvr_sleep(int );
Xvoid shmx_process_xmtr_SIGUSR2(void);
Xvoid shmx_set_rcvr_ansi(int );
Xvoid shmx_set_rcvr_bn(int );
Xvoid shmx_set_rcvr_log(char *,int ,int ,int );
Xvoid shmx_set_rcvr_nl_control(void);
X/* ecusighdl.c */
Xint start_rcvr_process(int );
Xvoid child_signals(void);
Xvoid hangup(int );
Xvoid kill_rcvr_process(int );
Xvoid rcvr_SIGHUP_handler(void);
Xvoid rcvr_SIGINT_handler(void);
Xvoid rcvr_SIGTERM_handler(void);
Xvoid rcvr_SIGUSR1_handler(void);
Xvoid rcvr_SIGUSR2_handler(void);
Xvoid rcvr_common_signal_handler(void);
Xvoid rcvr_signals(void);
Xvoid xmtr_SIGHUP_handler(int );
Xvoid xmtr_SIGINT_handler(void);
Xvoid xmtr_SIGTERM_handler(int );
Xvoid xmtr_SIGUSR2_handler(void);
Xvoid xmtr_signals(void);
Xvoid xmtr_xenix_SIGCLD_handler(void);
X/* ecutcap.c */
Xint tcap_gets(char *,int ,unsigned char *,int );
Xvoid clear_screen(void);
Xvoid curbotleft(void);
Xvoid curmove(unsigned int ,unsigned int );
Xvoid del_line(void);
Xvoid draw_box(int ,int ,int ,int ,char *,int );
Xvoid draw_box_primitive(int ,int ,int ,int );
Xvoid eeol(void);
Xvoid horiz_rule(int );
Xvoid ins_line(void);
Xvoid putc_stderr(int );
Xvoid read_termcap(void);
Xvoid stand_end(void);
Xvoid stand_out(void);
Xvoid tcap_clear_area_char(int ,int );
Xvoid vbell(void);
Xvoid vertical_rule(int ,int ,int );
X/* ecutime.c */
Xchar *epoch_secs_to_str(long ,int ,char *);
Xchar *get_elapsed_time(long );
Xchar *get_tod(int ,char *);
Xint get_day(void);
Xint get_month(void);
X/* ecutty.c */
Xchar *get_ttyname(void);
Xint color_name_to_num(char *);
Xint get_ttymode(void);
Xint ttygets_esd(struct esd *,int ,int );
Xunsigned int ttygetc(int );
Xvoid ring_bell(void);
Xvoid setcolor(unsigned long );
Xvoid ttyflush(int );
Xvoid ttygets(char *,int ,int );
Xvoid ttyinit(void);
Xvoid ttymode(int );
X/* ecuuclc.c */
Xchar to_lower(char );
Xchar to_upper(char );
Xint minunique(char *,char *,int );
Xint ulcmpb(unsigned char *,unsigned char *);
Xint ulindex(char *,char *);
X/* ecuusage.c */
Xvoid general_usage(char * *);
Xvoid log_cmd_usage(void);
Xvoid usage(void);
X/* ecuutil.c */
Xchar *arg_token(char *,char *);
Xchar *hex_to_ascii_name(char );
Xchar *make_char_graphic(char ,int );
Xchar *mode_map(unsigned short ,char *);
Xchar *skip_ld_break(char *);
Xchar *str_token(char *,char *);
Xint ascii_name_to_hex(char *);
Xint ascii_to_hex(char *);
Xint find_shell_chars(char *);
Xint get_curr_dir(char *,int );
Xint get_home_dir(char *);
Xint make_dirs(char *);
Xint mkdir(char *,int );
Xint yes_or_no(char *);
Xvoid build_arg_array(char *,char * *,int ,int *);
Xvoid build_str_array(char *,char * *,int ,int *);
Xvoid disp_line_termio(int ,char *);
Xvoid disp_termio(struct termio *,char *);
Xvoid dummy_call(void);
Xvoid make_ecu_subdir(void);
Xvoid pad_zstr_to_len(char *,int );
Xvoid perror_errmsg(char *);
Xvoid print_cwd(char *,int );
X/* ecuwinutil.c */
Xint winbox(struct _win_st *);
Xint winget_single(struct _win_st *,char *,char *);
Xint wingets(struct _win_st *,int ,int ,char *,int ,unsigned char *,int );
Xstruct _win_st *window_create(char *,int ,int ,int ,int ,int );
Xvoid clear_area(struct _win_st *,int ,int ,int );
Xvoid clear_area_char(struct _win_st *,int ,int ,int ,char );
Xvoid window_setup(struct _win_st *,char *,int );
Xvoid windows_end(struct _win_st *);
Xvoid windows_end2(void);
Xvoid windows_end_signal(void);
Xvoid windows_start(void);
X/* ecuxenix.c */
Xchar *xenix_signal_str(int );
Xint morse_bell(int ,int );
Xint rename(char *,char *);
Xint send_get_response(int ,int ,char * *);
Xint show_escape_prompt(void);
Xint xenix_bell_alarm(int );
Xint xenix_kbd_escape(unsigned char );
Xvoid send_bell_fd(int ,int ,int );
Xvoid set_bell_fd(int ,int ,int );
Xvoid set_default_escape_prompt(void);
Xvoid xbell(int ,int );
Xvoid xbell_fd(int ,int ,int );
Xvoid xenix_bell_notify(int );
X/* ecuxfer.c */
Xchar *xfer_title_fragment(void);
Xint report_send_status(void);
Xint xfrw_get_single(char *);
Xint xfrws_display_xfernew(void);
Xvoid file_xfer_done_bell(void);
Xvoid file_xfer_start(void);
Xvoid receive_files_from_remote(int ,char * *);
Xvoid send_files_to_remote(int ,char * *);
Xvoid xfrw_bot_msg(char *);
Xvoid xfrw_display_cmd_line(void);
Xvoid xfrws_display_allvars(void);
Xvoid xfrws_display_binary(void);
Xvoid xfrws_display_literals(void);
Xvoid xfrws_display_name(void);
X/* esdutil.c */
Xint append_zstr_to_esd(struct esd *,char *);
Xint end_of_cmd(struct esd *);
Xint esdstrindex(struct esd *,struct esd *,int ,int );
Xint fgetesd(struct esd *,struct _iobuf *);
Xint fputesd(struct esd *,struct _iobuf *,int ,int );
Xint get_alpha_zstr(struct esd *,char *,int );
Xint get_alphanum_zstr(struct esd *,char *,int );
Xint get_cmd_char(struct esd *,char *);
Xint get_numeric_value(struct esd *,long *);
Xint get_numeric_zstr(struct esd *,char *,int );
Xint get_switches(struct esd *,char *,int );
Xint get_word_zstr(struct esd *,char *,int );
Xint keyword_lookup(struct keyword_table_type *,char *);
Xint skip_cmd_break(struct esd *);
Xint skip_cmd_char(struct esd *,char );
Xint skip_colon(struct esd *);
Xint skip_comma(struct esd *);
Xint skip_paren(struct esd *,int );
Xint strindex(char *,char *);
Xstruct esd *make_esd(int );
Xvoid free_esd(struct esd *);
Xvoid init_esd(struct esd *,char *,int );
Xvoid null_terminate_esd(struct esd *);
Xvoid show_esd(struct esd *,char *);
Xvoid strip_trailing_spaces_esd(struct esd *);
Xvoid zero_esd(struct esd *);
X/* feval.c */
Xint feval_int(struct esd *,long *);
Xint feval_str(struct esd *,struct esd *);
Xint strfunc_left(struct esd *,struct esd *,struct esd *);
Xint strfunc_right(struct esd *,struct esd *,struct esd *);
X/* gint.c */
Xint gcol_range(struct esd *,unsigned long *,unsigned long *);
Xint gint(struct esd *,long *);
Xint gint_base(struct esd *,long *);
Xint gint_constant(struct esd *,long *);
Xint gintop(struct esd *,int *);
X/* gstr.c */
Xint gstr(struct esd *,struct esd *);
X/* hdbintf.c */
Xchar *hdb_dial_error_text(int );
Xint hdb_dial(char * *);
Xint ungetty_get_line(void);
Xint utmp_status(char *);
Xstruct dvent *getdvbaud(unsigned int );
Xstruct dvent *getdvent(void);
Xstruct dvent *getdvline(char *);
Xvoid enddvent(void);
Xvoid hdb_init(void);
Xvoid ungetty_return_line(void);
X/* logevent.c */
Xvoid ecu_log_event(char *);
X/* pcmd.c */
Xint cmd_baud(struct esd *);
Xint cmd_cd(struct esd *);
Xint cmd_clrx(struct esd *);
Xint cmd_dial(struct esd *);
Xint cmd_duplex(struct esd *);
Xint cmd_echo(struct esd *);
Xint cmd_exit(struct esd *);
Xint cmd_flush(struct esd *);
Xint cmd_hangup(struct esd *);
Xint cmd_hexdump(struct esd *);
Xint cmd_lbreak(struct esd *);
Xint cmd_lgets(struct esd *);
Xint cmd_logevent(struct esd *);
Xint cmd_lookfor(struct esd *);
Xint cmd_nap(struct esd *);
Xint cmd_parity(struct esd *);
Xint cmd_prompt(struct esd *);
Xint cmd_ptrace(struct esd *);
Xint cmd_send(struct esd *);
Xint cmd_set(struct esd *);
Xint cmd_system(struct esd *);
X/* pcmdfile.c */
Xint _file_not_open(int );
Xint _gfilenum(struct esd *,int *);
Xint _param_to_stat(struct esd *,struct stat * *);
Xint cmd_fchmod(struct esd *);
Xint cmd_fclose(struct esd *);
Xint cmd_fdel(struct esd *);
Xint cmd_fgetc(struct esd *);
Xint cmd_fgets(struct esd *);
Xint cmd_fopen(struct esd *);
Xint cmd_fputc(struct esd *);
Xint cmd_fputs(struct esd *);
Xint cmd_fread(struct esd *);
Xint cmd_fseek(struct esd *);
Xint cmd_fwrite(struct esd *);
Xint cmd_mkdir(struct esd *);
Xint ifunc_fatime(struct esd *,long *);
Xint ifunc_fmode(struct esd *,long *);
Xint ifunc_fmtime(struct esd *,long *);
Xint ifunc_fsize(struct esd *,long *);
Xint ifunc_ftell(struct esd *,long *);
Xint ifunc_ischr(struct esd *,long *);
Xint ifunc_isdir(struct esd *,long *);
Xint ifunc_isreg(struct esd *,long *);
Xint str_to_filemode(char *,long *);
Xvoid proc_file_reset(void);
X/* pcmdif.c */
Xint _evaluate_ifi(struct esd *,int *);
Xint _evaluate_ifs(struct esd *,int *);
Xint _if_common(struct esd *,int );
Xint cmd_else(struct esd *);
Xint cmd_ifi(struct esd *);
Xint cmd_ifs(struct esd *);
Xint get_relop(struct esd *,int *);
Xint test_truth_int(long ,int ,long );
X/* pcmdtty.c */
Xint cmd_cls(struct esd *);
Xint cmd_color(struct esd *);
Xint cmd_cursor(struct esd *);
Xint cmd_fkey(struct esd *);
Xint cmd_icolor(struct esd *);
Xint cmd_scrdump(struct esd *);
Xint cmd_vidnorm(struct esd *);
Xint cmd_vidrev(struct esd *);
Xint ifunc_colors(unsigned long *);
X/* pcmdwhile.c */
Xint cmd_whilei(struct esd *);
Xint cmd_whiles(struct esd *);
X/* pcmdxfer.c */
Xint _make_bottom_label(struct esd *,int ,int );
Xint _rx_error(void);
Xint _send_common(char *);
Xint cmd_rk(struct esd *);
Xint cmd_rs(struct esd *);
Xint cmd_rx(struct esd *);
Xint cmd_ry(struct esd *);
Xint cmd_rz(struct esd *);
Xint cmd_sk(struct esd *);
Xint cmd_ss(struct esd *);
Xint cmd_sx(struct esd *);
Xint cmd_sy(struct esd *);
Xint cmd_sz(struct esd *);
X/* poutput.c */
Xint cmd_plog(struct esd *);
Xint plog_control(char *);
Xint pputc(char );
Xvoid pflush(void);
Xvoid plogc(char );
Xvoid plogs(char *);
Xvoid poutput_init(void);
Xvoid pperror(char *);
Xvoid pputs(char *);
X/* pprintf.c */
X/* proc.c */
Xchar *find_procedure(char *);
Xint _get_goto_label(struct esd *);
Xint cmd_do(struct esd *);
Xint cmd_goto(struct esd *);
Xint cmd_gotob(struct esd *);
Xint cmd_return(struct esd *);
Xint do_proc(int ,char * *);
Xint execute_esd(struct esd *);
Xint execute_goto(struct pcb_type *,int );
Xint execute_labelled_esd(struct esd *);
Xint execute_proc(struct pcb_type *);
Xstruct lcb_type *find_labelled_lcb(char *,struct lcb_type *,struct lcb_type *);
Xstruct p_cmd *find_proc_cmd(struct p_cmd *,char *);
Xvoid dump_proc(struct pcb_type *);
Xvoid free_lcb_chain(struct lcb_type *);
Xvoid show_error_position(struct pcb_type *);
Xvoid trace_proc_cmd(struct pcb_type *);
X/* proc_error.c */
Xint proc_error(int );
X/* procframe.c */
Xint cmd_break(struct esd *);
Xint cmd_continue(struct esd *);
Xint execute_frame(int );
X/* regexp.c */
Xchar *compile(char *,char *,char *,int );
Xint advance(char *,char *);
Xint ecmp(char *,char *,int );
Xint getrnge(char *);
Xint regexp_compile(char *,char *,int ,char * *);
Xint regexp_operation(char *,char *,long *);
Xint regexp_scan(char *,char *,char * *,int *);
Xint step(char *,char *);
X/* smap.c */
Xchar *_calloc(int ,unsigned int );
Xchar *_malloc(unsigned int );
Xchar *_realloc(char *,unsigned int );
Xvoid _blkend(void);
Xvoid _blkignore(char *);
Xvoid _blkstart(void);
Xvoid _dump_malloc(void);
Xvoid _free(char *);
X/* var.c */
Xint build_mkvi(struct esd *);
Xint build_mkvs(struct esd *);
Xint cmd_mkvar(struct esd *);
Xint find_mkvi(char *,long * *);
Xint find_mkvs(char *,struct esd * *);
Xint get_ivptr(struct esd *,long * *);
Xint get_subscript(struct esd *,unsigned long *);
Xint get_svptr(struct esd *,struct esd * *);
Xstruct mkv_type *alloc_MKV(char *);
Xvoid free_mkvi(struct mkv_type *);
Xvoid free_mkvs(struct mkv_type *);
Xvoid mkv_proc_starting(struct pcb_type *);
Xvoid mkv_proc_terminating(struct pcb_type *);
Xvoid var_init(void);
X
X#else /* compiler doesn't know about prototyping */
X
X/* bamboozle.c */
Xchar *bamboozle();
X/* cmdtbl.c */
X/* ecu.c */
X/* ecuLCK.c */
Xchar *other_lock_name();
Xvoid unlock_tty();
X/* ecuchdir.c */
Xvoid cd_array_delete_usage();
Xvoid cd_array_read();
Xvoid cd_array_save();
X/* ecudump.c */
Xvoid hex_dump();
Xvoid hex_dump16();
Xvoid hex_dump32();
Xvoid hex_dump4();
Xvoid hex_dump8();
Xvoid hex_dump_fp();
X/* ecufinsert.c */
X/* ecufkey.c */
Xchar *keyset_idstr();
Xvoid ffso();
Xvoid keyset_display();
Xvoid keyset_init();
X/* ecufork.c */
Xchar *find_executable();
Xvoid shell();
X/* ecuhayes.c */
Xchar *hayes_get_result();
Xvoid hayes_ATH();
Xvoid hayes_autoanswer();
Xvoid hayes_modem_on_hook();
Xvoid hayes_read_modem_init();
Xvoid process_modem_init();
Xvoid show_modem_init_error();
X/* ecuicmaux.c */
Xchar *cmd_escape_str();
Xvoid display_ascii_names();
Xvoid icmd_conversion();
Xvoid nlin_nlout_control();
X/* ecuicmd.c */
X/* ecuicmhelp.c */
Xchar *help_get_cmd();
Xstruct p_cmd *search_cmd_list_pcmd();
Xvoid calculate_help_right_column();
Xvoid help_cmd_line_setup();
Xvoid icmd_help();
X/* eculine.c */
Xchar *lgets_timeout();
Xchar *lopen_err_text();
Xunsigned char lgetc_xmtr();
Xvoid lbreak();
Xvoid lclear_xmtr_xoff();
Xvoid lclose();
Xvoid lflush();
Xvoid lget_xon_xoff();
Xvoid lputc();
Xvoid lputc_paced();
Xvoid lputs();
Xvoid lputs_paced();
Xvoid lquiet();
Xvoid lreset_ksr();
Xvoid lset_parity();
Xvoid ltoggle_dtr();
Xvoid lxon_xoff();
X/* ecunumrev.c */
X/* ecuphone.c */
Xstruct phone_directory_entry *pde_list_search();
Xunsigned char dirw_get_cmd();
Xvoid choose_line();
Xvoid copy_pde_to_lvar();
Xvoid dirw_bot_msg();
Xvoid dirw_cmd_line_setup();
Xvoid dirw_display_top();
Xvoid pde_cmd_add();
Xvoid pde_cmd_down();
Xvoid pde_cmd_find();
Xvoid pde_cmd_remove();
Xvoid pde_cmd_remove_oops();
Xvoid pde_cmd_save();
Xvoid pde_cmd_up();
Xvoid pde_list_add();
Xvoid pde_list_erase();
Xvoid pde_list_manager();
Xvoid pde_list_remove();
Xvoid pde_list_save_if_dirty();
Xvoid pde_list_set_dirty();
Xvoid scrw_fill();
Xvoid scrw_fill_at();
X/* ecuphrase.c */
Xvoid phrase_help();
Xvoid read_phrases();
X/* ecurcvr.c */
Xvoid ansi_CUB();
Xvoid ansi_CUD();
Xvoid ansi_CUF();
Xvoid ansi_CUP();
Xvoid ansi_CUU();
Xvoid ansi_DSR();
Xvoid ansi_ED();
Xvoid ansi_SGR();
Xvoid ansi_filter_control();
Xvoid ibm_crock_restore_cursor();
Xvoid ibm_crock_save_cursor();
Xvoid rcvr();
Xvoid rcvr_log_open();
Xvoid rcvr_saw_escape();
X/* ecuscrdump.c */
Xvoid screen_dump();
X/* ecusetup.c */
Xvoid setup_display_baud();
Xvoid setup_display_name();
Xvoid setup_display_screen();
Xvoid setup_display_single_char();
Xvoid setup_display_tty();
Xvoid setup_open_status();
Xvoid setup_screen();
Xvoid setw_bot_msg();
Xvoid setw_err_msg();
Xvoid setw_msg();
X/* ecushm.c */
Xvoid shmr_process_rcvr_SIGUSR2();
Xvoid shmr_rcvd_chars();
Xvoid shmr_set_xmtr_bn_1();
Xvoid shmx_connect();
Xvoid shmx_make_rcvr_sleep();
Xvoid shmx_process_xmtr_SIGUSR2();
Xvoid shmx_set_rcvr_ansi();
Xvoid shmx_set_rcvr_bn();
Xvoid shmx_set_rcvr_log();
Xvoid shmx_set_rcvr_nl_control();
X/* ecusighdl.c */
Xvoid child_signals();
Xvoid hangup();
Xvoid kill_rcvr_process();
Xvoid rcvr_SIGHUP_handler();
Xvoid rcvr_SIGINT_handler();
Xvoid rcvr_SIGTERM_handler();
Xvoid rcvr_SIGUSR1_handler();
Xvoid rcvr_SIGUSR2_handler();
Xvoid rcvr_common_signal_handler();
Xvoid rcvr_signals();
Xvoid xmtr_SIGHUP_handler();
Xvoid xmtr_SIGINT_handler();
Xvoid xmtr_SIGTERM_handler();
Xvoid xmtr_SIGUSR2_handler();
Xvoid xmtr_signals();
Xvoid xmtr_xenix_SIGCLD_handler();
X/* ecutcap.c */
Xvoid clear_screen();
Xvoid curbotleft();
Xvoid curmove();
Xvoid del_line();
Xvoid draw_box();
Xvoid draw_box_primitive();
Xvoid eeol();
Xvoid horiz_rule();
Xvoid ins_line();
Xvoid putc_stderr();
Xvoid read_termcap();
Xvoid stand_end();
Xvoid stand_out();
Xvoid tcap_clear_area_char();
Xvoid vbell();
Xvoid vertical_rule();
X/* ecutime.c */
Xchar *epoch_secs_to_str();
Xchar *get_elapsed_time();
Xchar *get_tod();
X/* ecutty.c */
Xchar *get_ttyname();
Xunsigned int ttygetc();
Xvoid ring_bell();
Xvoid setcolor();
Xvoid ttyflush();
Xvoid ttygets();
Xvoid ttyinit();
Xvoid ttymode();
X/* ecuuclc.c */
Xchar to_lower();
Xchar to_upper();
X/* ecuusage.c */
Xvoid general_usage();
Xvoid log_cmd_usage();
Xvoid usage();
X/* ecuutil.c */
Xchar *arg_token();
Xchar *hex_to_ascii_name();
Xchar *make_char_graphic();
Xchar *mode_map();
Xchar *skip_ld_break();
Xchar *str_token();
Xvoid build_arg_array();
Xvoid build_str_array();
Xvoid disp_line_termio();
Xvoid disp_termio();
Xvoid dummy_call();
Xvoid make_ecu_subdir();
Xvoid pad_zstr_to_len();
Xvoid perror_errmsg();
Xvoid print_cwd();
X/* ecuwinutil.c */
Xstruct _win_st *window_create();
Xvoid clear_area();
Xvoid clear_area_char();
Xvoid window_setup();
Xvoid windows_end();
Xvoid windows_end2();
Xvoid windows_end_signal();
Xvoid windows_start();
X/* ecuxenix.c */
Xchar *xenix_signal_str();
Xvoid send_bell_fd();
Xvoid set_bell_fd();
Xvoid set_default_escape_prompt();
Xvoid xbell();
Xvoid xbell_fd();
Xvoid xenix_bell_notify();
X/* ecuxfer.c */
Xchar *xfer_title_fragment();
Xvoid file_xfer_done_bell();
Xvoid file_xfer_start();
Xvoid receive_files_from_remote();
Xvoid send_files_to_remote();
Xvoid xfrw_bot_msg();
Xvoid xfrw_display_cmd_line();
Xvoid xfrws_display_allvars();
Xvoid xfrws_display_binary();
Xvoid xfrws_display_literals();
Xvoid xfrws_display_name();
X/* esdutil.c */
Xstruct esd *make_esd();
Xvoid free_esd();
Xvoid init_esd();
Xvoid null_terminate_esd();
Xvoid show_esd();
Xvoid strip_trailing_spaces_esd();
Xvoid zero_esd();
X/* feval.c */
X/* gint.c */
X/* gstr.c */
X/* hdbintf.c */
Xchar *hdb_dial_error_text();
Xstruct dvent *getdvbaud();
Xstruct dvent *getdvent();
Xstruct dvent *getdvline();
Xvoid enddvent();
Xvoid hdb_init();
Xvoid ungetty_return_line();
X/* logevent.c */
Xvoid ecu_log_event();
X/* pcmd.c */
X/* pcmdfile.c */
Xvoid proc_file_reset();
X/* pcmdif.c */
X/* pcmdtty.c */
X/* pcmdwhile.c */
X/* pcmdxfer.c */
X/* poutput.c */
Xvoid pflush();
Xvoid plogc();
Xvoid plogs();
Xvoid poutput_init();
Xvoid pperror();
Xvoid pputs();
X/* pprintf.c */
X/* proc.c */
Xchar *find_procedure();
Xstruct lcb_type *find_labelled_lcb();
Xstruct p_cmd *find_proc_cmd();
Xvoid dump_proc();
Xvoid free_lcb_chain();
Xvoid show_error_position();
Xvoid trace_proc_cmd();
X/* proc_error.c */
X/* procframe.c */
X/* regexp.c */
Xchar *compile();
X/* smap.c */
Xchar *_calloc();
Xchar *_malloc();
Xchar *_realloc();
Xvoid _blkend();
Xvoid _blkignore();
Xvoid _blkstart();
Xvoid _dump_malloc();
Xvoid _free();
X/* var.c */
Xstruct mkv_type *alloc_MKV();
Xvoid free_mkvi();
Xvoid free_mkvs();
Xvoid mkv_proc_starting();
Xvoid mkv_proc_terminating();
Xvoid var_init();
X
X#endif /* LINT_ARGS */
X#endif /* BUILDING_LINT_ARGS */
X
X/* end of lint_args.h */
SHAR_EOF
echo "File lint_args.h is complete"
chmod 0644 lint_args.h || echo "restore of lint_args.h fails"
echo "x - extracting pc_scr.h (Text)"
sed 's/^X//' << 'SHAR_EOF' > pc_scr.h &&
X/* CHK=0x892D */
X/*+-------------------------------------------------------------------------
X pc_scr.h - PC screen definitions
X Copyright 1986,1989 Warren H. Tucker, III. All Rights Reserved
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-03-1989-22:57-wht------------- ecu 2.00 ---------------- */
X/*:06-24-1989-16:53-wht-flush edits --- ecu 1.95 */
X
X#define sTL 0xDA
X#define sTR 0xBF
X#define sBL 0xC0
X#define sBR 0xD9
X#define sLT 0xC3 /* left hand T */
X#define sRT 0xB4 /* right hand T */
X#define sVR 0xB3 /* vertical rule */
X#define sHR 0xC4 /* horizontal rule */
X
X#define rDOT 0xFA /* ruling dot */
X#define actCUR 0xFE /* active cursor */
X#define idlCUR 0x7F /* idle cursor */
SHAR_EOF
chmod 0644 pc_scr.h || echo "restore of pc_scr.h fails"
echo "x - extracting proc.h (Text)"
sed 's/^X//' << 'SHAR_EOF' > proc.h &&
X/* CHK=0x069E */
X/*+-------------------------------------------------------------------------
X proc.h
X Copyright 1989 Warren H. Tucker, III. All Rights Reserved
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-03-1989-22:57-wht------------- ecu 2.00 ---------------- */
X/*:06-24-1989-16:53-wht-flush edits --- ecu 1.95 */
X
X
Xtypedef struct lcb_type
X{
X ESD *text; /* line's text buffer */
X struct lcb_type *next; /* next lcb in chain; if==NULL, no more in chain */
X struct lcb_type *prev; /* previous lcb in chain; if==NULL, top of chain */
X ushort lineno; /* line number */
X} LCB;
X
Xtypedef struct pcb_type
X{
X int argc;
X char **argv;
X LCB *first; /* first in procedure */
X LCB *last; /* last in procedure */
X LCB *current; /* currently executing or last executed line */
X char *mkvs_last; /* actually MKV *, but ... */
X char *mkvi_last; /* ... see var.c for details */
X} PCB;
X
X#define MAX_PARGV 20 /* max args to procedure, including name */
X#define PROC_STACK_MAX 10 /* max proc nest */
SHAR_EOF
chmod 0644 proc.h || echo "restore of proc.h fails"
echo "x - extracting relop.h (Text)"
sed 's/^X//' << 'SHAR_EOF' > relop.h &&
X/* CHK=0xE7FA */
X/*+-------------------------------------------------------------------------
X relop.h - relative operator assignments
X Copyright 1989 Warren H. Tucker, III. All Rights Reserved
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-03-1989-22:57-wht------------- ecu 2.00 ---------------- */
X/*:06-24-1989-16:53-wht-flush edits --- ecu 1.95 */
X
X#define OP_EQ 1
X#define OP_NE 2
X#define OP_LT 3
X#define OP_LE 4
X#define OP_GT 5
X#define OP_GE 6
X
X/* vi: set tabstop=4 shiftwidth=4: */
X/* end of relop.h */
SHAR_EOF
chmod 0644 relop.h || echo "restore of relop.h fails"
echo "x - extracting smap.h (Text)"
sed 's/^X//' << 'SHAR_EOF' > smap.h &&
X/* CHK=0x57CB */
X/*
X * @(#)smap.h 1.1 30/08/88 16:07:36 agc
X *
X * Copyright 1988, Joypace Ltd., UK. This product is "careware".
X * If you find it useful, I suggest that you send what you think
X * it is worth to the charity of your choice.
X *
X * Alistair G. Crooks, +44 5805 3114
X * Joypace Ltd.,
X * 2 Vale Road,
X * Hawkhurst,
X * Kent TN18 4BU,
X * UK.
X *
X * UUCP Europe ...!mcvax!unido!nixpbe!nixbln!agc
X * UUCP everywhere else ...!uunet!linus!nixbur!nixpbe!nixbln!agc
X *
X * smap.h - include file for debugging aids. This file must be included,
X * before any calls, in any source file that calls malloc, calloc,
X * realloc, or free. (Note alloca is not included in this list).
X */
X/*+:EDITS:*/
X/*:07-03-1989-22:57-wht------------- ecu 2.00 ---------------- */
X/*:06-24-1989-16:52-wht-flush edits --- ecu 1.95 */
X
X#ifdef NOMEMCHECK
X#define _blkstart()
X#define _blkend()
X#define _blkignore(p)
X#else /* not NOMEMCHECK */
X#ifndef malloc
X#define malloc _malloc
X#define calloc _calloc
X#define realloc _realloc
X#define free _free
Xchar *_malloc();
Xchar *_calloc();
Xchar *_realloc();
Xvoid _free();
X#endif /* not malloc */
Xvoid _blkstart();
Xvoid _blkend();
Xvoid _blkignore();
X#endif /* not NOMEMCHECK */
SHAR_EOF
chmod 0644 smap.h || echo "restore of smap.h fails"
echo "x - extracting stdio_lint.h (Text)"
sed 's/^X//' << 'SHAR_EOF' > stdio_lint.h &&
X/* CHK=0x92BB */
X/*+-------------------------------------------------------------------------
X stdio_lint.h -- prototyping for library routines
X Copyright 1986,1989 Warren H. Tucker, III. All Rights Reserved
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-03-1989-22:57-wht------------- ecu 2.00 ---------------- */
X/*:06-24-1989-16:53-wht-flush edits --- ecu 1.95 */
X
X#if defined(LINT_ARGS)
XFILE *fdopen(int,char *);
Xchar *fgets(char *,int,FILE *);
XFILE *fopen(char *,char *);
XFILE *freopen(char *,char *,FILE *);
Xchar *gets(char *);
Xchar *getenv(char *);
Xint access(char *,int);
Xint chmod(char *,int);
Xint close(int);
Xint creat(char *,int);
Xint dup(int);
Xint fclose(FILE *);
Xint fcloseall(void);
Xint fflush(FILE *);
Xint fgetc(FILE *);
Xint fprintf(FILE *,char *,);
Xint fputc(int,FILE *);
Xint fputs(char *,FILE *);
Xvoid free(char *);
Xint fread(char *,int,int,FILE *);
Xint fscanf(FILE *,char *,);
Xint fseek(FILE *,long,int);
Xlong ftell(FILE *);
Xint fwrite(char *,int,int,FILE *);
Xint getw(FILE *);
Xint isatty(int);
Xlong lseek(int,long,int);
Xint open(char *,int,);
Xchar *malloc(unsigned int);
Xvoid perror(char *);
Xint printf(char *,);
Xint puts(char *);
Xint read(int,char *,unsigned int);
Xint strcmp(char *,char *);
Xint strncmp(char *,char*,int);
Xchar *strcpy(char *,char *);
Xchar *strncpy(char *,char *,int);
Xchar *strcat(char *,char *);
Xchar *strncat(char *,char *,int);
Xchar *strchr(char *,char);
Xchar *strrchr(char *,char);
Xint remove(char *);
Xint rename(char *,char *);
Xvoid rewind(FILE *);
Xvoid setbuf(FILE *,char *);
Xint sprintf(char *,char *,);
Xint sscanf(char *,char *,);
Xint stat(char *,struct stat *);
Xint fstat(int,struct stat *);
Xlong time(long *);
Xint unlink(char *);
Xint write(int,char *,unsigned int);
X#else
XFILE *fdopen();
Xchar *fgets();
XFILE *fopen();
Xvoid free();
XFILE *freopen();
Xchar *getenv();
Xchar *gets();
Xchar *malloc();
Xlong ftell();
Xlong lseek();
Xvoid perror();
Xvoid rewind();
Xvoid setbuf();
Xlong time();
Xchar *strcpy();
Xchar *strncpy();
Xchar *strcat();
Xchar *strncat();
Xchar *strchr();
Xchar *strrchr();
X#endif
X/* vi: set tabstop=4 shiftwidth=4: */
SHAR_EOF
chmod 0644 stdio_lint.h || echo "restore of stdio_lint.h fails"
echo "x - extracting tty.h (Text)"
sed 's/^X//' << 'SHAR_EOF' > tty.h &&
X/* CHK=0x2964 */
X
X/*+-------------------------------------------------------------------------
X tty.h
X Copyright 1989 Warren H. Tucker, III. All Rights Reserved
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-03-1989-22:57-wht------------- ecu 2.00 ---------------- */
X/*:06-24-1989-16:53-wht-flush edits --- ecu 1.95 */
X
Xtypedef struct color_type
SHAR_EOF
echo "End of part 22"
echo "File tty.h is continued in part 23"
echo "23" > s2_seq_.tmp
exit 0
--
-------------------------------------------------------------------
Warren Tucker, Tridom Corporation ...!gatech!emory!tridom!wht
Ker-au'-lo-phon. An 8-foot partial flue-stop, having metal pipes
surmounted by adjustable rings, and with a hole bored near the top
of each pipe, producing a soft and "reedy" tone.
More information about the Alt.sources
mailing list