⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 curses.3

📁 Unix操作系统minix 2.0源码
💻 3
📖 第 1 页 / 共 2 页
字号:
3114(hc)S3236(are)S3387(characters,)S3849(buf)S4010(is)S4104(a)S4176(character)S4574(buffer,)S4873(attrs)S5073(is)S5166(an)S1440 V1080(attribute)S1441(bit)S1572(map,)S1795(bf)S1904(is)S1996(a)S(boolean)318 2066 A2409(\257ag.)S2635(Note)S2856(that)S3032(`characters')S3535(in)S3638(this)S3808(context)S4129(usually)S4444(can)S4609(have)S4824(16)S4949(bits\):)S1680 V1080(int)S1211(waddch\(win,ch\))S3240(put)S3393(char)S3592(in)S3695(stdscr)S1800 V1080(int)S1211(addch\(ch\))S1920 V1080(int)S1211(mvaddch\(y,x,ch\))S2040 V1080(int)S1211(mvwaddch\(win,y,x,ch\))S2280 V1080(int)S1211(waddstr\(win,str\))S3240(put)S3393(string)S3647(in)S3750(stdscr)S2400 V1080(int)S1211(addstr\(str\))S2520 V1080(int)S1211(mvaddstr\(y,x,str\))S2640 V1080(int)S1211(mvwaddstr\(win,y,x,str\))S2880 V1080(void)S(wattroff\(win,attrs\))744 1283 A3240(clear)S3462(attribute\(s\))S3930(in)S(window)324 4033 A3000 V1080(void)S(attroff\(attrs\))495 1283 A3240 V1080(void)S1283(wattron\(win,attrs\))S3240(add)S3410(attribute\(s\))S3878(in)S(window)324 3981 A3360 V1080(void)S1283(attron\(attrs\))S3600 V1080(void)S1283(wattrset\(win,attrs\))S3240(set)S(window)324 3377 A3726(char)S3925(attributes)S3720 V1080(void)S1283(attrset\(attrs\))S3960 V1080(int)S1211(baudrate\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A4200 V1080(void)S1283(beep\(\))S3240(ring)S3427(the)S3575(bell)S3751(or)S3860(visible)S4153(bell)S4329(if)S4416(no)S4541(bell)S4717(available)S4440 V1080(void)S1283(\257ash\(\))S3240(\257ash)S3455(terminal)S3816(screen)S4099(or)S4208(rings)S4434(bell)S4610(if)S4697(no)S4822(visible)S5115(bell)S5291(available)S4680 V1080(void)S(wbox\(win,miny,minx,maxy,maxx,vc,hc\))1640 1283 A(box)150 3240 A3415(in)S3518(a)S(window,)349 3588 A3962(with)S4166(given)S4414(characters)S4800 V1080(void)S(box\(win,vc,hc\))609 1283 A5040 V1080(void)S1283(cbreak\(\))S3240(set)S3377(terminal)S3738(cbreak)S4032(mode)S5280 V1080(void)S1283(wclear\(win\))S3240(clear)S3462(stdscr)S5400 V1080(void)S(clear\(\))265 1283 A5640 V1080(void)S1283(clearok\(win,bf\))S3240(marks)S(window)324 3511 A3860(for)S4003(screen)S4286(clear)S5880 V1080(int)S(wclrtobot\(win\))605 1211 A3240(clear)S3462(from)S3683(cursor)S3960(to)S4063(end)S4233(of)S4342(line)S4518(and)S4688(all)S4814(lines)S5029(down)S5277(this)S5447(line)S6000 V1080(int)S(clrtobot\(\))381 1211 A6120 V1080(int)S1211(mvclrtoeol\(y,x\))S6240 V1080(int)S(mvwclrtobot\(win,y,x\))883 1211 A6480 V1080(int)S1211(wclrtoeol\(win\))S3240(clear)S3462(from)S3683(cursor)S3960(to)S4063(end)S4233(of)S4342(line)S6600 V1080(int)S1211(clrtoeol\(\))S6720 V1080(int)S1211(mvclrtoeol\(y,x\))S6840 V1080(int)S1211(mvwclrtoeol\(win,y,x\))S7080 V1080(int)S1211(wdelch\(win\))S3240(delete)S3506(a)S3576(char)S3775(in)S3878(a)S(window)324 3948 A7200 V1080(int)S1211(delch\(\))S7320 V1080(int)S1211(mvdelch\(y,x\))S7440 V1080(int)S1211(mvwdelch\(win,y,x\))S7903 V720(September)S1176(13,)S(1996)200 1326 A4990(Page)S5211(2)S8143 VEP%%Page: 3 3BP/slant 0 def/height 0 def480 V10 R720(CURSES)S1109(\()S1151(3)S1209(\))S2696(Eighth)S(Edition)296 2989 A4738(CURSES)S5127(\()S5169(3)S5227(\))S960 V1080(int)S1211(wdeleteln\(win\))S3240(delete)S3506(a)S3576(line)S3752(in)S3855(a)S(window)324 3925 A1080 V1080(int)S1211(deleteln\(\))S1200 V1080(int)S1211(mvdeleteln\(y,x\))S1320 V1080(int)S1211(mvwdeleteln\(win,y,x\))S1560 V1080(void)S1283(delwin\(win\))S3240(delete)S3506(a)S(window)324 3576 A3925(or)S4034(a)S(subwindow)463 4104 A1680 V1080(void)S(doupdate\(\))436 1283 A(update)268 3240 A(physical)335 3533 A3893(screen)S1800 V1080(void)S1283(echo\(\))S3240(set)S3377(terminal)S3738(echo)S3953(mode)S1920 V1080(int)S1211(endwin\(\))S(cleanup)313 3240 A3578(and)S3748(curses)S(\256nitialization)537 4025 A2160 V1080(void)S1283(werase\(win\))S3240(erase)S3473(a)S(window)324 3543 A2280 V1080(void)S1283(erase\(\))S2520 V1080(int)S(erasechar\(\))450 1211 A3240(return)S3506(char)S3705(delete)S3971(character)S2640 V1080(int)S1211(\256xterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A2760 V1080(void)S1283(\257ushinp\(\))S(kill)134 3240 A3399(pending)S(keyboard)374 3747 A(input)206 4146 A3000 V1080(int)S1211(wgetch\(win\))S3240(get)S3388(char)S3587(via)S3735(a)S(window)324 3805 A3120 V1080(int)S1211(getch\(\))S3240 V1080(int)S1211(mvgetch\(y,x\))S3360 V1080(int)S1211(mvwgetch\(win,y,x\))S3600 V1080(int)S1211(wgetstr\(win,str\))S3240(get)S3388(string)S3642(via)S(window)324 3790 A4139(to)S4242(a)S4312(buffer)S3720 V1080(int)S1211(getstr\(str\))S3840 V1080(int)S1211(mvgetstr\(y,x,str\))S3960 V1080(int)S1211(mvwgetstr\(win,y,x,str\))S4200 V1080(void)S1283(getyx\(win,y,x\))S3240(get)S3388(a)S(window's)397 3458 A3880(cursor)S(position)323 4157 A4440 V1080(int)S1211(gettmode\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A4560 V1080(void)S1283(idlok\(win,bf\))S3240(dummy)S3571(for)S(compatibility)536 3714 A4680 V(WINDOW)443 1080 A(*initscr\(\))370 1548 A3240(curses)S(initialization)509 3517 A4051(\(ret)S4217(stdscr)S4477(or)S4586(NULL\))S4920 V1080(int)S1211(winch\(win\))S3240(get)S3388(char)S3587(at)S(window)324 3685 A4034(cursor)S5040 V1080(int)S1211(inch\(\))S5160 V1080(int)S1211(mvinch\(y,x\))S5280 V1080(int)S1211(mvwinch\(win,y,x\))S5520 V1080(int)S1211(winsch\(win,ch\))S3240(insert)S3489(character)S3885(in)S3988(a)S(window)324 4058 A5640 V1080(int)S1211(insch\(ch\))S5760 V1080(int)S1211(mvinsch\(y,x,ch\))S5880 V1080(int)S1211(mvwinsch\(win,y,x,ch\))S6120 V1080(int)S1211(winsertln\(win\))S3240(insert)S3489(new)S3682(line)S3858(in)S3961(a)S(window)324 4031 A6240 V1080(int)S1211(insertln\(\))S6360 V1080(int)S1211(mvinsertln\(y,x\))S6480 V1080(int)S1211(mvwinsertln\(win,y,x\))S6720 V1080(void)S1283(keypad\(win,bf\))S3240(marks)S3511(a)S(window)324 3581 A3930(for)S4073(keypad)S4388(usage)S6840 V1080(int)S(killchar\(\))376 1211 A3240(return)S3506(line)S3682(delete)S3948(character)S6960 V1080(char)S(*longname\(\))514 1279 A3240(returns)S3545(terminal)S3906(description)S4378(string)S7080 V1080(void)S1283(leaveok\(win,bf\))S3240(marks)S(window)324 3511 A3860(for)S4003(cursor)S('update)302 4280 A4607(leave')S7200 V1080(void)S1283(meta\(win,bf\))S3240(marks)S(window)324 3511 A3860(for)S4003(meta)S7320 V1080(int)S1211(move\(y,x\))S3240(move)S3488(cursor)S3765(in)S3868(stdscr)S7440 V1080(int)S1211(mvcur\(oldy,oldx,y,x\))S3240(move)S3488(terminal)S3849(cursor)S4126(to)S4229(<y,x>)S7903 V720(Page)S941(3)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Page: 4 4BP/slant 0 def/height 0 def480 V10 R720(CURSES)S1109(\()S1151(3)S1209(\))S2696(Eighth)S(Edition)296 2989 A4738(CURSES)S5127(\()S5169(3)S5227(\))S960 V1080(int)S1211(mvprintw\(y,x,fmt,args\))S3240(move)S3488(&)S3591(print)S3806(string)S4060(in)S4163(stdscr)S1200 V1080(int)S1211(mvscanw\(y,x,fmt,args\))S3240(move)S3488(&)S3591(get)S3739(values)S4021(via)S4169(stdscr)S1320 V1080(int)S1211(mvwin\(win,y,x\))S3240(move)S(window)324 3488 A3837(on)S(physical)335 3962 A4322(screen)S1440 V1080(int)S1211(mvwprintw\(win,x,y,fmt,args\))S3240(move)S3488(&)S3591(print)S3806(string)S4060(in)S4163(a)S(window)324 4233 A1560 V1080(int)S1211(mvwscanw\(win,y,x,fmt,args\))S3240(move)S3488(&)S3591(get)S3739(values)S4021(via)S4169(a)S(window)324 4239 A1680 V(WINDOW)443 1080 A1548(*newwin\(lines,cols,begy,begx\))S3240(create)S3507(a)S3577(new)S(window)324 3770 A1800 V1080(void)S1283(nl\(\))S3240(set)S3377(terminal)S3738(cr-crlf)S4017(mapping)S4393(mode)S1920 V1080(void)S1283(nocbreak\(\))S3240(unset)S3477(terminal)S3838(cbreak)S4132(mod)S2040 V1080(void)S(nodelay\(win,bf\))646 1283 A3240(marks)S(window)324 3511 A3860(for)S4003(no)S(input)206 4128 A4359(wait)S2160 V1080(void)S1283(noecho\(\))S3240(unset)S3477(terminal)S3838(echo)S4053(mode)S2280 V1080(void)S(nonl\(\))246 1283 A3240(unset)S3477(terminal)S3838(cr-crlf)S4117(mapping)S4493(mode)S2400 V1080(void)S1283(noraw\(\))S3240(unset)S3477(raw)S3654(terminal)S4015(mode)S2520 V1080(void)S1283(overlay\(win1,win2\))S3240(overlay)S3567(one)S(window)324 3737 A4086(on)S4211(another)S2640 V1080(void)S1283(overwrite\(win1,win2\))S3240(overwrite)S3652(one)S(window)324 3822 A4171(on)S4296(another)S2760 V1080(int)S1211(printw\(fmt,args\))S3240(print)S3455(string)S3709(in)S3812(stdscr)S2880 V1080(void)S1283(raw\(\))S3240(set)S3377(raw)S3554(terminal)S3915(mode)S3000 V1080(void)S1283(refrbrk\(bf\))S3240(set)S3377(screen)S(update)268 3660 A3953(break)S4202(mode)S3120 V1080(void)S1283(refresh\(\))S3240(refresh)S3546(stdscr)S3240 V1080(int)S1211(resetterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A3360 V1080(int)S1211(resetty\(\))S3240(restore)S3540(terminal)S3901(I/O)S4061(modes)S3480 V1080(int)S1211(saveoldterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A3600 V1080(int)S1211(saveterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A3720 V1080(int)S1211(savetty\(\))S3240(save)S3444(terminal)S3805(I/O)S3965(modes)S3840 V1080(int)S1211(scanw\(fmt,args\))S3240(get)S3388(values)S3670(via)S3818(stdscr)S3960 V1080(void)S1283(scroll\(win\))S3240(scroll)S(scrolling)352 3489 A3866(region)S4148(of)S4257(a)S(window)324 4327 A4080 V1080(void)S1283(scrollok\(win,bf\))S3240(marks)S3511(a)S(window)324 3581 A3930(to)S4033(allow)S4282(scroll)S4200 V1080(void)S1283(setcolors\(A_COLOR\(for,back\)\))S3240(sets)S3416(the)S(forground)402 3564 A3991(and)S(background)474 4161 A4320 V3240(colors)S3511(of)S3620(stdscr)S4440 V1080(void)S(set_curs\(visibility\))755 1283 A3240(0)S3315(for)S3458(invisible,)S3854(1)S3929(for)S4072(visible,)S4390(2)S4465(for)S(good)200 4608 A4560 V3240(visible)S4680 V1080(int)S1211(setsrcreg\(miny,maxy\))S3240(de\256ne)S3511(stdscr's)S3844(scroll)S4093(region)S4800 V1080(int)S1211(setterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A4920 V1080(int)S(setupterm\(term,fd,errret\))1004 1211 A3240(set)S3377(up)S3502(terminal)S5040 V1080(void)S1283(standend\(\))S3240(start)S3439(normal)S3749(chars)S3987(in)S4090(stdscr)S5160 V1080(void)S(standout\(\))408 1283 A3240(start)S(standout)340 3439 A3804(chars)S4042(in)S4145(stdscr)S5280 V(WINDOW)443 1080 A1548(*subwin\(win,lines,cols,begy,begx\))S5400 V3240(create)S3507(a)S(sub-window)497 3577 A4099(in)S(window)324 4202 A4551(win)S5520 V1080(int)S1211(tabsize\(ts\))S3240(set/get)S3528(tabsize)S3833(of)S3942(stdscr)S5640 V1080(void)S1283(touchwin\(win\))S3240(mark)S3472(a)S(window)324 3542 A3891(as)S4000(totally)S4282(modi\256ed)S5760 V1080(char)S(*unctrl\(ch\))448 1279 A3240(char-to-string)S(converter)381 3814 A5880 V1080(int)S1211(wmove\(win,y,x\))S3240(move)S3488(cursor)S3765(in)S3868(a)S(window)324 3938 A6000 V1080(void)S(wnoutrefresh\(win\))751 1283 A3240(create)S3507(internal)S3840(screen)S4123(image)S6120 V1080(int)S1211(wprintw\(win,fmt,args\))S3240(print)S3455(string)S3709(in)S3812(a)S(window)324 3882 A6240 V1080(void)S1283(wrefresh\(win\))S3240(refresh)S(window)324 3546 A6360 V1080(int)S1211(wscanw\(win,fmt,args\))S3240(get)S3388(values)S3670(via)S3818(a)S(window)324 3888 A6480 V1080(void)S1283(wsetcolors\(win,A_COLOR\(for,back\)\))S3240(sets)S3416(the)S(forground)402 3564 A3991(and)S6600 V(background)474 3240 A3739(colors)S4010(of)S4119(the)S4267(speci\256ed)S(window)324 4650 A6720 V1080(int)S1211(wsetsrcreg\(win,miny,maxy\))S3240(de\256ne)S3511(a)S(window's)397 3581 A(scrolling)352 4003 A4380(region)S6840 V1080(void)S1283(wstandend\(win\))S3240(start)S3439(normal)S3749(chars)S3987(in)S(window)324 4090 A6960 V1080(void)S(wstandout\(win\))632 1283 A3240(start)S(standout)340 3439 A3804(chars)S4042(in)S(window)324 4145 A7080 V1080(int)S1211(wtabsize\(win,ts\))S3240(set/get)S3528(tabsize)S3833(of)S3942(a)S(window)324 4012 A7248 V9 R720(B)S722(BU)S784(UG)S852(GS)S920(S)S7368 V10 R1080(Function)S1462(keys)S1671(are)S1820(not)S1973(available)S(under)229 2362 A2616(the)S2764(MINIX)S3092(version.)S7903 V720(September)S1176(13,)S(1996)200 1326 A4990(Page)S5211(4)S8143 VEP%%Trailer%%DocumentFonts: Times-Roman%%Pages: 4

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -