Compaq AA-PWCBD-TE Manual do Utilizador Página 122

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 152
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 121
DEC Text Processing Utility Program Development
5.6 Using DECTPU Startup Files
Example 5–5 Source Code for Minimal Interface to DECTPU
! MINI.TPU - minimal DECTPU interface
PROCEDURE tpu$init_procedure
! Create a buffer and window for messages
message_buffer := CREATE_BUFFER ("Message Buffer");
SET (NO_WRITE, message_buffer);
SET (SYSTEM, message_buffer);
SET (EOB_TEXT, message_buffer, "");
message_window := CREATE_WINDOW (21, 4, OFF);
MAP (message_window, message_buffer);
! Create a buffer and window for SHOW
show_buffer := CREATE_BUFFER("Show Buffer");
SET (NO_WRITE, show_buffer);
SET (SYSTEM, show_buffer);
info_window := CREATE_WINDOW (1, 20, ON);
! Create a buffer and window for editing
main_buffer := CREATE_BUFFER ("Main Buffer");
main_window := CREATE_WINDOW (1, 20, ON);
MAP (main_window, main_buffer);
! Create an area on the screen for prompts
SET (PROMPT_AREA, 21, 1, NONE);
!Put the editing point in the main buffer
POSITION (main_buffer);
tpu$local_init;
ENDPROCEDURE;
PROCEDURE tpu$local_init !Procedure to allow end users
!to add private extensions
ENDPROCEDURE;
! Define the minimal editing keys:
DEFINE_KEY ("SPLIT_LINE", RET_KEY);
DEFINE_KEY ("ERASE_CHARACTER(-1)", DEL_KEY);
DEFINE_KEY ("EXECUTE(READ_LINE(’DECTPU Statement: ’))", TAB_KEY);
DEFINE_KEY ("EXIT", Ctrl_Z_KEY);
! Create a section file and then quit
IF (get_info/system,("operating_system")=ULTRIX)
THEN
save(’/usr/user/jacki/mini.tpu_section’);
ELSE
save(’sys$login.mini);
ENDIF
QUIT;
! End of MINI.TPU
If you created the section file SYS$LOGIN:MINI.TPU$SECTION, you could use
the procedures and definitions in that file as an interface to DECTPU. To invoke
DECTPU with SYS$LOGIN:MINI.TPU$SECTION as the MINI section file, use
the following command:
$ EDIT/TPU/SECTION=SYS$LOGIN:MINI your_text.fil
You can define the logical name TPU$SECTION to point to your section file. By
default, DECTPU looks for a file that TPU$SECTION points to and reads that
file as the default section file.
5–22 DEC Text Processing Utility Program Development
Vista de página 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 151 152

Comentários a estes Manuais

Sem comentários

Aiphone YAW-R manuály

Uživatelské manuály a uživatelské příručky pro ne Aiphone YAW-R.
Poskytujeme 1 manuály pdf Aiphone YAW-R ke stažení zdarma podle typů dokumentů: Uživatelský manuál


Aiphone YAW-R Uživatelský manuál (12 strany)


Značka: Aiphone | Kategorie: No info | Velikost: 0.48 MB |

 

Tabulka s obsahem





Další produkty a příručky pro ne Aiphone

Modely Typ Dokumentu
MYW-P1L Uživatelský manuál   Aiphone MYW-P1L User's Manual, 4 stránky
LAF-3A Uživatelský manuál   Aiphone LAF-3A User's Manual, 6 stránky
PB-1 Uživatelský manuál   Aiphone PB-1 User's Manual, 4 stránky
KB-3MRD Uživatelský manuál   Aiphone KB-3MRD User's Manual, 8 stránky
YAZ-90-3W Uživatelský manuál   Aiphone YAZ-90-3W User's Manual, 8 stránky
LAW-1 Uživatelský manuál   Aiphone LAW-1 User's Manual, 6 stránky
KAS-1ED Uživatelský manuál   Aiphone KAS-1ED User's Manual, 8 stránky
NCH-2 Uživatelský manuál   Aiphone NCH-2 User's Manual, 2 stránky
LEF-10C Uživatelský manuál Aiphone LEF-10C User's Manual, 12 stránky
VC-BBX Uživatelský manuál   Aiphone VC-BBX User's Manual, 4 stránky
KA-FSH Uživatelský manuál   Aiphone KA-FSH User's Manual, 1 stránky
TA-3F Uživatelský manuál   Aiphone TA-3F User's Manual, 8 stránky
MC-60/4A, MC-60/4B Uživatelský manuál   Aiphone MC-60/4A, MC-60/4B User's Manual, 6 stránky
TB-20M Uživatelský manuál   Aiphone TB-20M User's Manual, 12 stránky
PS-2420 Uživatelský manuál   Aiphone PS-2420 User's Manual, 2 stránky
LE-D Uživatelský manuál   Aiphone LE-D User's Manual [en] , 2 stránky
MFW-P1 Uživatelský manuál   Aiphone MFW-P1 User's Manual, 6 stránky
TB-20T Uživatelský manuál   Aiphone TB-20T User's Manual, 8 stránky
C-123L/A Uživatelský manuál   Aiphone C-123L/A User's Manual, 2 stránky
BX-300 Uživatelský manuál   Aiphone BX-300 User's Manual, 12 stránky