3.51 VDI library is braindamaged
brad at bradley.UUCP
brad at bradley.UUCP
Tue Apr 5 07:43:00 AEST 1988
I too had this problem, so I made this up. Hope it helps.
---------------
#include "types.h"
/* extern defines */
extern INT16 gss_charheight();
/* these are for UNIXPC for different types of lines */
#define UNIXPC_SOLID 1
#define UNIXPC_LONG_DASH 2
#define UNIXPC_DOTTED 3
#define UNIXPC_DASHED_DOTTED 4
#define UNIXPC_MEDIUM_DASHED 5
#define UNIXPC_DASH_TWO_DOTS 6
#define UNIXPC_SHORT_DASH 7
/* graphic markers on UNIXPC */
#define UNIXPC_DOT 1
#define UNIXPC_CROSS 2
#define UNIXPC_STAR 3
#define UNIXPC_CIRCLE 4
#define UNIXPC_X 5
#define UNIXPC_DIAMOND 6
/* fill ares on UNIXPC */
#define UNIXPC_NARROW_DIAGONAL 1
#define UNIXPC_MEDIUM_DIAGONAL 2
#define UNIXPC_WIDE_DIAGONAL 3
#define UNIXPC_NARROW_CROSSHATCH 4
#define UNIXPC_MEDIUM_CROSSHATCH 5
#define UNIXPC_WIDE_CROSSHATCH 6
/* this include file is used for 3.5 on the -lcvdi because the library
* was compiled under 3.0 compiler. You can use this file or use the
* -T option on cc(1).
*/
#define v_curhome(var) v_curhom(var)
#define v_curdown(var) v_curdow(var)
#define v_curleft(var) v_curlef(var)
#define v_curright(var) v_currig(var)
#define v_enter_cur(var) v_enter_(var)
#define v_exit_cur(var) v_exit_c(var)
#define v_hardcopy(var) v_hardco(var)
#define vs_curaddress(a,b,c) vs_curad(a,b,c)
#define vs_penspeed(a,b) vs_pensp(a,b)
#define vsa_position(a,b,c,d,e) vsa_posi(a,b,c,d,e)
#define vswr_mode(a,b) vswr_mod(a,b)
#define v_cellarray(a,b,c,d,e,f) v_cellar(a,b,c,d,e,f)
#define v_curtext(a,b) v_curtex(a,b)
#define v_fillarea(a,b,c) v_fillar(a,b,c)
#define v_pieslice(a,b,c,d,e,f) v_piesli(a,b,c,d,e,f)
#define v_pmarker(a,b,c) v_pmarke(a,b,c)
#define vcur_color(a,b,c,d,e) vcur_col(a,b,c,d,e)
#define vs_editchars(a,b,c) vs_editc(a,b,c)
#define vsa_color(a,b); vsa_colo(a,b)
#define vsa_overstrike(a,b) vsa_over(a,b)
#define vsa_passthru(a,b) vsa_pass(a,b)
#define vsa_quality(a,b) vsa_qual(a,b)
#define vsa_spacing(a,b) vsa_spac(a,b)
#define vsa_supersub(a,b) vsa_supe(a,b)
#define vsa_underline(a,b) vsa_unde(a,b)
#define vsb_color(a,b) vsb_colo(a,b)
#define vsf_color(a,b) vsf_colo(a,b)
#define vsf_interior(a,b) vsf_inte(a,b)
#define vsf_style(a,b) vsf_styl(a,b)
#define vsl_color(a,b) vsl_colo(a,b)
#define vsl_width(a,b) vsl_widt(a,b)
#define vsm_color(a,b) vsm_colo(a,b)
#define vsm_height(a,b) vsm_heig(a,b)
#define vst_alignment(a,b,c,d,e) vst_alig(a,b,c,d,e)
#define vst_color(a,b) vst_colo(a,b)
#define vst_height(a,b,c,d,e) vst_heig(a,b,c,d,e)
#define vst_rotation(a,b) vst_rota(a,b)
#define vrd_curkeys(a,b,c,d) vrd_curk(a,b,c,d)
#define vrq_choice(a,b,c) vrq_choi(a,b,c)
#define vrq_locator(a,b,c,d,e,f,g) vrq_loca(a,b,c,d,e,f,g)
#define vrq_string(a,b,c,d,e) vrq_stri(a,b,c,d,e)
#define vrq_valuator(a,b,c) vrq_valu(a,b,c)
#define vsm_choice(a,b) vsm_choi(a,b)
#define vsm_locator(a,b,c,d) vsm_loca(a,b,c,d)
#define vsm_string(a,b,c,d,e) vsm_stri(a,b,c,d,e)
#define vsm_valuator(a,b) vsm_valu(a,b)
#define vq_cellarray(a,b,c,d,e,f,g,h) vq_cella(a,b,c,d,e,f,g,h)
#define vq_chcells(a,b,c) vq_chcel(a,b,c)
#define vq_curaddress(a,b,c) vq_curad(a,b,c)
#define vqa_length(a,b) vqa_leng(a,b)
#define vqm_attributes(a,b) vqm_attr(a,b)
#define vqt_attributes(a,b) vqt_attr(a,b)
#define cmrx_wait(a,b) cmrx_wai(a,b)
#define cmtx_wait(a,b) cmtx_wai(a,b)
#define fd_connect(a) fd_conne(a)
#define fd_delete(a,b) fd_delet(a,b)
#define fd_directory(a,b,c,d) fd_direc(a,b,c,d)
#define fdp_write(a,b,c) fdp_writ(a,b,c)
More information about the Comp.sys.att
mailing list