📄 s
字号:
clrtobot() Calls ccllrrttoobboott(()). clrtoeol() Calls ccllrrttooeeooll(()). delch() Calls ddeellcchh(()). deleteln() Calls ddeelleetteellnn(()). echo() Calls eecchhoo(()). erase()+ Calls eerraassee(()). endwin() Calls eennddwwiinn(()). fixterm() Calls ffiixxtteerrmm(()). flash()+ Calls ffllaasshh(()). flushinp() Calls fflluusshhiinnpp(()). getch() Calls ggeettcchh(()). getyx()+ Calls wwggeettyyxx(()). initscr() Calls iinniittssccrr(()). insch() Calls iinnsscchh(()). insertln() Calls iinnsseerrttllnn(()). iswind() Returns FALSE. kcodemap() This functionality is not necessary. Remove this from your code. keypad() Calls kkeeyyppaadd(()). leaveok()+ Null operation. move()+ Calls mmoovvee(()). mvaddch()+ Calls mmoovvee(()) and aaddddcchh(()). mvaddstr()+ Calls mmoovvee(()) and aaddddssttrr(()). mvinch() Calls mmoovvee(()) and iinncchh(()). nl()+ The functionality of this routine is not supported by ccuurrsseess. nocbreak() Calls nnooccbbrreeaakk(()). nodelay() Calls nnooddeellaayy(()). noecho() Calls nnooeecchhoo(()). nonl()+ The functionality of this routine is not supported by ccuurrsseess. printw() Calls pprriinnttww(()). refresh()+ Calls rreeffrreesshh(()). resetterm() Calls rreesseetttteerrmm(()). resetty() Calls rreesseettttyy(()). savetty() Calls ssaavveettttyy(()). track() Calls wwggeettcchh(()). wcmd() Copies the character string passed by wwccmmdd(()) to the bottom of the screen. wcreate() Calls nneewwwwiinn(()) or nneeww__ppaanneell(()). wdelete() Calls ddeellwwiinn(()) or ddeell__ppaanneell(()). wexit() Calls eennddwwiinn(()) and eexxiitt(()). wgetsel() Calls ttoopp__ppaanneell(()) or bboottttoomm__ppaanneell(()) with NULL pointer. wgetstat() Calls ggeettyyxx(()), ggeettmmaaxxyyxx(()), or ggeettbbeeggyyxx(()). wgetc() Calls wwggeettcchh(()). Character translation from ccuurrsseess to ANSI may be required, depending on the current kkeeyyppaadd mode. wgetpos() Calls ggeettyyxx(()). wgoto() Calls wwmmoovvee(()). winit() Calls iinniittssccrr(()). wlabel() The character string is printed in the upper left corner of the specified window. wndelay() Calls nnooddeellaayy(()). wselect() Calls ttoouucchhwwiinn(()) and wwrreeffrreesshh(()), then updates the list of windows to indicate the new ordering. wsetstat() Calls ddeell__ppaanneell(()), then nneeww__ppaanneell(()). wputc() Calls wwaaddddcchh(()). wputs() Calls wwaaddddssttrr(()). wprintf() Calls wwpprriinnttww(()). wprompt() The character string passed by wwpprroommpptt(()) is copied to the bottom of the screen. wrefresh() Calls wwrreeffrreesshh(()). If the window index is -1, all windows should be refreshed in the appropriate order. wslk() Creates small window at bottom and uses ccuurrsseess routines with wwpprriinnttww(()). wuser() This functionality is not necessary. Remove this from your code. wsetmouse() This is a null operation. wgetmouse() This is a null operation. wreadmouse() This is a null operation. wprexec() Calls eerraassee(()) and rreeffrreesshh(()). wpostwait() Calls wwrreeffrreesshh(()) for each window in the window list. wnl() The functionality of this routine is not supported by ccuurrsseess. wicon() This is a null operation. wicoff() This is a null operation. wrastop() This is a null operation. Because the high-level TAM functions in the previous table make calls only to the low-level functions in the previous table, you can continue to use those high-level TAM functions in your application programs as well. However, with ccuurrsseess you cannot use other TAM high-level functions such as wwttaarrggeettoonn(()). Usable TAM high-level functions --------------------------------------------------------------- form() menu() message() --------------------------------------------------------------- pb_empty() pb_gets() adf_gttok() pb_open() pb_check() pb_seek() pb_name() pb_puts() pb_weof() pb_gbuf() adf_gtwrd() adf_gtxcd() wind() exhelp() Both TAM and ccuurrsseess use a set of virtual function keys that translate between an escape character sequence entered at the keyboard and a bit pattern inside the machine. Under the TAM transition library, the TAM virtual key values are translated into ccuurrsseess virtual key values. The following table lists these equivalent virtual key values. The escape sequence listed in the left column generates the corresponding TAM virtual function key value given in the middle column. The right column lists the ccuurrsseess equivalent of the TAM virtual key and is for reference only. ------------------------------------------------------------- TAM Escape Virtual Key Value Sequence TAM ccuurrsseess ------------------------------------------------------------- ESC-! s_F1 KEY_F(8) ESC-@ s_F2 KEY_F(9) ESC-# s_F3 KEY_F(10) ESC-$ s_F4 KEY_F(11) ESC-% s_F5 KEY_F(12) ESC-^ s_F6 KEY_F(13) ESC-& s_F7 KEY_F(14) ESC-* s_F8 KEY_F(15) ESC-f1 PF1 KEY_F(16) ESC-f2 PF2 KEY_F(17) ESC-f3 PF3 KEY_F(18) ESC-f4 PF4 KEY_F(19) ESC-f5 PF5 KEY_F(20) ESC-f6 PF6 KEY_F(21) ESC-f7 PF7 KEY_F(22) ESC-f8 PF8 KEY_F(23) ESC-f9 PF9 KEY_F(24) ESC-f0 PF10 KEY_F(25) ESC-f- PF11 KEY_F(26) ESC-f= PF12 KEY_F(27) ESC-1 F1 KEY_F(0) ESC-2 F2 KEY_F(C) ESC-3 F3 KEY_F(S) ESC-4 F4 KEY_F(S) ESC-5 F5 KEY_F(F) ESC-6 F6 KEY_F(M) ESC-7 F7 KEY_F(6) ESC-8 F8 KEY_F(7) ESC-bg Beg KEY_BEG ESC-BG s_Beg KEY_SBEG ESC-br Break KEY_BREAK ESC-bw Back KEY_LEFT ESC-BW s_Back KEY_SLEFT ESC-ce Clear KEY_CLEAR ESC-CE Clear KEY_CLEAR ESC-ci ClearLine KEY_EOL ESC-CI s_ClearLine KEY_SEOL ESC-cl Close KEY_CLOSE ESC-CL Close KEY_CLOSE ESC-cm Cmd KEY_COMMAND ESC-CM s_Cmd KEY_SCOMMAND ESC-cn Cancl KEY_CANCEL ESC-CN s_Cancl KEY_SCANCEL ESC-cp Copy KEY_COPY ESC-CP s_Copy KEY_SCOPY ESC-cr Creat KEY_CREATE ESC-CR s_Creat KEY_SCREATE ESC-dc DleteChar KEY_DC ESC-Del DleteChar KEY_DC ESC-DC s_DleteChar KEY_SDC ESC-dl Dlete KEY_DL ESC-DL s_Dlete KEY_SDL ESC-dn Down KEY_DOWN ESC-DN RollDn KEY_SF ESC-en End KEY_END ESC-EN s_End KEY_SEND ESC-ESC Esc none ESC-ex Exit KEY_EXIT ESC-EX s_Exit KEY_SEXIT ESC-fi Find KEY_FIND ESC-FI s_Find KEY_SFIND ESC-fw Forward KEY_RIGHT ESC-FW s_Forward KEY_SRIGHT ESC-hl Help KEY_HELP ESC-? Help KEY_HELP ESC-HL s_Help KEY_SHELP ESC-hm Home KEY_HOME ESC-HM s_Home KEY_SHOME ESC-im InputMode KEY_IC ESC-NJ s_InputMode KEY_SIC ESC-mk Mark KEY_MARK ESC-MK Slect KEY_SELECT ESC-ms Msg KEY_MESSAGE ESC-MS s_Msg KEY_SMESSAGE ESC-mv Move KEY_MOVE ESC-MV s_Move KEY_SMOVE ESC-nx Next KEY_NEXT ESC-NX s_Next KEY_SNEXT ESC-op Open KEY_OPEN ESC-OP Close KEY_CLOSE ESC-ot Opts KEY_OPTIONS ESC-OT s_Opts KEY_SOPTIONS ESC-pg Page KEY_NPAGE ESC-PG s_Page KEY_PPAGE ESC-pr Print KEY_PRINT ESC-PR s_Print KEY_SPRINT ESC-pv Prev KEY_PREVIOUS ESC-PV s_Prev KEY_SPREVIOUS ESC-rd RollDn KEY_SF ESC-RD RollDn KEY_SF ESC-re Ref KEY_REFERENCE ESC-RE Rstrt KEY_RESTART ESC-rf Rfrsh KEY_REFRESH ESC-RF Clear KEY_CLEAR ESC-rm Rsume KEY_RESUME ESC-RM s_Rsume KEY_SRSUME ESC-ro Redo KEY_REDO ESC-RO s_Redo KEY_SREDO ESC-rp Rplac KEY_REPLACE ESC-RP s_Rplac KEY_SREPLACE ESC-rs Rstrt KEY_REFERENCE ESC-RS Rstrt KEY_RESTART ESC-ru RollUp KEY-SR ESC-RU RollUp KEY_SR ESC-sl Slect KEY_SELECT ESC-SL Slect KEY_SELECT ESC-ss Suspd KEY_SUSPEND ESC-SS s_Suspd KEY_SSUSPEND ESC-sv Save KEY_SAVE ESC-SV s_Save KEY_SSAVE ESC-ud Undo KEY_UNDO ESC-UD s_Undo KEY_SUNDO ESC-up Up KEY_UP ESC-UP RollUp KEY_SR Some keyboards have one or more keys that emit escape sequences that are identical to the UNIX System PC keyboard sequences but do not match in terms of functionality. The function of an operationally incompatible key will always map to its tteerrmmiinnffoo specification. The TAM specific function implied by the same escape sequence will be accessible through the technique described above. Mechanisms in ccuurrsseess(S) automatically handle timing conflicts between actual keyboard function keys and UNIX System PC keyboard escape sequences. Return values ============= Routines that return an integer return EERRRR on failure and an integer value other than EERRRR, typically OOKK, on successful completion, unless otherwise noted in the routine descriptions. Routines that return a pointer to an object return NNUULLLL if an error occurs. Files ===== _/_u_s_r_/_l_i_b_/_l_i_b_t_a_m_._a the library See also ======== ccuurrsseess(S), ffiieelldd(S), ffiieellddttyyppee(S), ffoorrmmss(S), iitteemm(S), mmeennuuss(S), ppaanneellss(S) Standards conformance ===================== ttaamm(S) is not part of any currently supported standard; it is an extension of AT&T System V provided by the Santa Cruz Operation. _3_1_ _J_a_n_u_a_r_y_ _1_9_9_5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -