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

📄 stty.1

📁 操作系统设计与实现源码
💻 1
📖 第 1 页 / 共 2 页
字号:
3919(shows)S4202(all)S4335(terminal)S4703(attributes)S5110(that)S3120 V1080(are)S1234(different)S1612(from)S1838(the)S1991(default)S2301(state.)S2566(Option)S10 B-12874(-)S10 B2931(a)S10 R3010(makes)S10 B3296(stty)S10 R3482(print)S3701(all)S3831(terminal)S4196(attributes,)S4625(and)S10 B-14799(-)S10 B4856(g)S10 R4935(lets)S10 B5104(stty)S3240 V10 R1080(print)S1295(the)S1443(attributes)S1843(in)S1946(a)S2016(special)S2321(encoded)S2681(form,)S2927(a)S2997(simple)S3290(row)S3472(of)S3581(colon)S3829(separated)S4235(hexadecimal)S4769(numbers.)S3408 V1080(In)S1194(the)S(second)279 1347 A1656(form)S1882(of)S1996(operation)S10 B2406(stty)S10 R2593(takes)S2831(an)S2957(encoded)S3323(form)S3550(as)S(produced)374 3665 A4070(by)S4201(the)S10 B-14355(-)S10 B4412(g)S10 R4493(option)S4780(and)S4956(sets)S5138(the)S3528 V1080(terminals)S1480(attributes)S1880(to)S1983(its)S2103(decoded)S2463(value.)S3696 V1080(In)S1191(the)S1341(third)S1558(form)S10 B1781(stty)S10 R1965(interprets)S2373(a)S2445(series)S2702(of)S2813(\257ags)S3030(and)S3202(parameters)S(settings)307 3672 A4006(and)S4178(modi\256es)S4551(the)S4701(terminal)S5064(attri-)S3816 V1080(butes)S(accordingly.)500 1322 A1877(Flags)S2125(can)S2295(be)S2420(given)S2673(as)S10 B2786(icanon)S10 R3100(or)S10 B-13213(-)S10 B3270(icanon)S10 R3584(for)S3731(instance,)S4115(either)S(setting)268 4374 A4671(or)S4784(clearing)S5138(the)S3936 V10 B(ICANON)409 1080 A10 R1520(\257ag.)S1752(Special)S2080(character)S2482(values)S2770(can)S2941(by)S3072(set)S3215(like)S10 B3397(intr=\303C)S10 R3755(for)S3904(example,)S4301(which)S4578(sets)S4760(the)S4914(interrupt)S4056 V1080(character)S1487(to)S1601(CTRL-C.)S2046(You)S2255(can)S2431(either)S2697(use)S2866(a)S2946(real)S3133(CTRL-C,)S3552(or)S3671(the)S3829(two)S4015(characters)S(`\303')102 4460 A4597(and)S4777(`C'.)S4997(In)S5116(any)S4176 V1080(case)S1279(it)S1360(is)S1452(probably)S(necessary)392 1834 A2251(to)S2354(use)S(quotes)262 2513 A2800(to)S2903(guard)S3157(it)S3238(from)S3459(the)S(shell:)218 3607 A10 B3850(intr='\303C')S10 R4245(.)S4344 V1080(A)S1179(number)S1512(alone)S1756(is)S1850(interpreted)S2314(as)S2425(a)S2497(baud)S2719(rate)S(setting)268 2898 A3193(for)S3338(both)S3543(the)S(input)206 3693 A3926(and)S4098(output)S4381(rate.)S4610(The)S(input)206 4794 A5027(or)S5138(the)S4464 V1080(output)S1362(rate)S1540(can)S1706(be)S1827(set)S1965(separately)S2400(with)S2605(use)S2765(of)S2875(the)S10 B3024(ispeed)S10 R3318(and)S10 B3488(ospeed)S10 R3804(pre\256xes)S4148(to)S4251(the)S4399(number.)S4781(The)S4963(charac-)S4584 V1080(ter)S1212(size)S1394(can)S1559(be)S1679(set)S1816(with)S10 B2020(cs5)S10 R2154(,)S10 B2204(cs6)S10 R2338(,)S10 B2388(cs7)S10 R2547(or)S10 B2656(cs8)S10 R2790(.)S4752 V1080(The)S10 B1266(MIN)S10 R1502(and)S10 B1676(TIME)S10 R1973(value,)S2245(and)S2419(the)S2572(number)S2909(of)S3023(rows)S3249(and)S3424(columns)S3794(of)S3908(the)S(window)324 4061 A4415(can)S4585(also)S4777(be)S4902(set)S5044(using)S4872 V1080(one)S1251(of)S1361(the)S1510(keywords)S10 B1927(min)S10 R2095(,)S10 B2146(time)S10 R2337(,)S10 B2388(rows)S10 R2621(or)S10 B2731(cols)S10 R2893(,)S2944(followed)S3328(by)S3453(a)S3523(decimal)S3867(number)S4199(that)S4375(is)S4467(the)S4615(value)S4858(of)S4967(the)S5115(set-)S4992 V1080(ting.)S5160 V10 B1080(Stty)S10 R(accepts)297 1280 A1603(several)S1915(keywords)S2332(that)S2509(are)S2659(not)S2814(named)S3109(by)S(corresponding)575 3236 A3838(\257ags)S4055(or)S4166(parameters)S4636(in)S10 B4741(tty)S10 R4859(\(4\).)S5054(They)S5280 V1080(set)S1217(several)S1528(attributes)S1928(at)S2026(once:)S5448 V10 B1080(cooked)S10 R1440(Same)S1705(as)S10 B1830(icrnl)S2073(ixon)S2298(opost)S2568(onlcr)S2833(isig)S3019(icanon)S3346(iexten)S3646(echo)S10 R3842(,)S(setting)268 3909 A4219(all)S4362(the)S4527(attributes)S4944(that)S5137(are)S5568 V1440(needed)S1750(for)S1893(line)S2069(oriented)S2424(mode.)S5736 V10 B1080(raw)S10 R1440(Same)S1698(as)S10 B-11816(-)S10 B1873(icrnl)S10 B-12109(-)S10 B2166(ixon)S10 B-12384(-)S10 B2441(opost)S10 B-12704(-)S10 B2761(onlcr)S10 B-13019(-)S10 B3076(isig)S10 B-13255(-)S10 B3312(icanon)S10 B-13631(-)S10 B3688(iexten)S10 B-13980(-)S10 B4037(echo)S10 R4233(,)S(setting)268 4292 A4594(all)S4729(the)S4886(attributes)S5856 V1440(for)S1583(a)S1653(raw)S1830(data)S2023(channel.)S6024 V10 B1080(evenp)S1357(parity)S6144 V10 R1440(These)S(synonyms)406 1706 A2137(are)S2286(equal)S2529(to)S10 B2632(cs7)S2791(parenb)S10 B-13124(-)S10 B3181(parodd)S10 R3494(,)S(setting)268 3544 A3837(the)S3985(line)S4161(to)S4264(7)S4339(bits)S4509(even)S4724(parity.)S6312 V10 B(oddp)218 1080 A10 R1440(Same)S1689(as)S10 B1798(cs7)S1957(parenb)S2290(parodd)S10 R2603(,)S(setting)268 2653 A2946(the)S3094(line)S3270(to)S3373(7)S3448(bits)S(odd)150 3618 A3793(parity.)S6480 V10 B-11080(-)S10 B1137(parity)S10 B-11425(-)S10 B1482(evenp)S10 B-11759(-)S10 B(oddp)218 1816 A6600 V10 R1440(All)S(synonyms)406 1594 A2025(for)S10 B2168(cs8)S10 B-12327(-)S10 B2384(parenb)S10 R2692(,)S(setting)268 2742 A3035(the)S3183(line)S3359(to)S3462(8)S3537(bits,)S3732(no)S3857(parity.)S6768 V10 B1080(nl)S10 R1440(Same)S1689(as)S10 B1798(icrnl)S10 R2000(,)S(setting)268 2050 A2343(carriage)S2694(return)S2960(to)S3063(line)S3239(feed)S(input)206 3438 A3669(translation.)S6936 V10 B-11080(-)S10 B1137(nl)S10 R1440(Same)S1689(as)S10 B-11798(-)S10 B1855(icrnl)S10 B-12082(-)S10 B2139(inlcr)S10 B-12366(-)S10 B2423(igncr)S10 R2647(,)S2697(disabling)S3090(any)S3260(carriage)S3611(return)S3877(or)S3986(line)S4162(feed)S4361(handling.)S7104 V10 B1080(ek)S10 R1440(Set)S1594(the)S10 B1742(ERASE)S10 R2103(and)S10 B2273(KILL)S10 R2549(special)S2854(characters)S3289(back)S3504(to)S3607(the)S3755(default.)S7272 V10 B1080(sane)S10 R1440(Set)S1594(all)S1720(attributes)S2120(to)S2223(the)S2371(default)S2676(except)S2964(things)S3234(like)S3410(the)S3558(line)S3734(speed)S3988(and)S4158(parity,)S(because)319 4444 A4789(their)S5000("sane")S7392 V1440(value)S1697(is)S1803(probably)S2199(what)S2434(it)S2529(is)S2635(right)S2864(now.)S3126(The)S3322(default)S3641(values)S3937(are)S4100(compiled)S4513(into)S10 B4708(stty)S10 R4904(from)S5138(the)S7512 V1440(<termios.h>)S1956(include)S2277(\256le.)S2481(Use)S10 B2663(stty)S2845(sane;)S3094(stty)S3276(-a)S10 R3385(to)S(know)223 3488 A3736(what)S3957(they)S4155(are.)S7903 V720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Page: 2 2BP/slant 0 def/height 0 def480 V10 R720(STTY)S981(\()S1023(1)S1081(\))S2696(Eighth)S(Edition)296 2989 A4866(STTY)S5127(\()S5169(1)S5227(\))S960 V9 R720(F)S722(FI)S774(IL)S807(LE)S865(ES)S923(S)S1080 V10 B1080(/etc/ttytab)S10 R1830(The)S10 B2015(init)S10 R2189(\256eld)S2397(of)S2510(this)S2684(\256le)S2842(may)S3044(contain)S3369(an)S10 B3493(stty)S10 R3679(command)S4104(to)S4211(set)S4352(the)S4504(attributes)S4908(to)S5015(match)S1200 V1830(an)S1950(attached)S(RS232)273 2311 A2609(terminal)S2970(or)S3079(modem.)S1368 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S1488 V10 B1080(tty)S10 R1198(\(4\),)S10 B1366(ttytab)S10 R1624(\(5\).)S1656 V9 R720(N)S722(NO)S790(OT)S858(TE)S916(ES)S974(S)S1776 V10 R1080(The)S10 B1283(cooked)S10 R1585(,)S10 B1657(raw)S10 R1825(,)S10 B1897(rows)S10 R2151(and)S10 B2343(cols)S10 R2552(keywords)S2990(are)S3161(Minix)S(additions)368 3453 A(beyond)295 3868 A4210(the)S4380(keywords)S4818(de\256ned)S5161(by)S1896 V1080(POSIX.)S10 B1452(Rows)S10 R1717(and)S10 B1892(cols)S10 R2084(are)S2238(common)S2619(UNIX)S2902(extensions,)S3380(however.)S3806(There)S4071(are)S4224(more)S4460(Minix)S4734(speci\256c)S5071(\257ags)S2016 V1080(that)S1256(match)S1527(the)S1675(Minix)S1945(speci\256c)S2278(attributes)S2678(described)S3089(in)S10 B3192(tty)S10 R3310(\(4\).)S2184 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S1052(R)S2304 V10 R1080(Kees)S1307(J.)S1396(Bot)S1566(\(kjb@cs.vu.nl\))S7903 V720(September)S1176(13,)S(1996)200 1326 A4990(Page)S5211(2)S8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 2

⌨️ 快捷键说明

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