Functions that Differ Under Each Operating System

The Vermont Views functions listed in Table 54.3 operate differently under UNIX and VMS than they do under PCDOS and OS/2. Their functionality is generally the same, although a different procedure may be followed to get similar results. They can generally be used without adversely affecting portability. For details on each function, see the Function Reference.

Table 54.3: Functions Differing
under PCDOS, OS/2, and the Terminal-based Versions

Function Difference
vv_abort() Available in PCDOS and OS/2 but not installed as the default abort function.
beep_vv() A variable beep is not supported under some operating systems.
catt_def() Physical attributes are specified differently for each operating system.
csr_type() Some cursor shapes are not supported on some terminals.
ki() A different procedure is used to read the keyboard for each operating system. Multiple character sequences are handled under terminal-based systems.
ki_chk() Because of the way multiple character sequences are handled, ki_chk() may return just the first character of a sequence.
ki_same() Because of the differences in the speed of terminal input and the handling of multiple character sequences, ki_same() may not return all alike keycodes in one call.
latt_rpl() Physical attributes are specified differently for each operating system.
mf_wr() Under UNIX and POSIX, you can additionally open a pipe for output.
ms_wr() Under UNIX and POSIX, you can additionally open a pipe for output.
se_abortfp() Abort processing is slightly different under each operating system.
se_keyloop() Under UNIX and POSIX, additional steps are taken to conserve system resources when possible. Also under UNIX and POSIX, installation of a keyloop function may not be possible under some circumstances.
time_delay() Some operating systems do not handle delays in hundredths of a second.
v_bdr() Because of differences in the support of borders, video output may differ.
v_box() Because of differences in the support of borders, video output may differ
v_line() Because of differences in the support of graphic lines, video output may differ.
vid_getmode() The interpretation of the return values differs depending on the operating system.
vs_upd() This function updates the screen in the terminal environment or in PCDOS only under Microsoft Windows.
vs_updrgn() This function updates a region of the screen in the terminal environment or in PCDOS only under Microsoft Windows.
vv_exit() Under UNIX, POSIX, and VMS, vv_exit() resets the terminal state.
vv_spawn() The return value depends on the operating system.
wn_wr() Under UNIX and POSIX, you can additionally open a pipe for output.


Home Contents Previous Next