BOOK.PS
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:2328k
源码类别:
操作系统开发
开发平台:
C/C++
- (already)294 3504 A
- (done)168 3840 A
- 4050(*/)S
- 2520 V
- (11993)210 648 A
- 2610 V
- (11994)210 648 A
- 1362(/*)S
- (None)168 1488 A
- 1698(or)S
- (not)126 1824 A
- (all)126 1992 A
- (the)126 2160 A
- (bytes)210 2328 A
- (could)210 2580 A
- 2832(be)S
- (written,)336 2958 A
- 3336(so)S
- (either)252 3462 A
- (suspend)294 3756 A
- (the)126 4092 A
- 2700 V
- (11995)210 648 A
- 1404(*)S
- (caller)252 1488 A
- 1782(or)S
- (break)210 1908 A
- (off)126 2160 A
- (the)126 2328 A
- (write)210 2496 A
- 2748(if)S
- (nonblocking.)504 2874 A
- 2790 V
- (11996)210 648 A
- 1404(*/)S
- 2880 V
- (11997)210 648 A
- 1362(if)S
- ((m_ptr->TTY_FLAGS)714 1488 A
- 2244(&)S
- (O_NONBLOCK))462 2328 A
- 2832({)S
- 3378(/*)S
- (cancel)252 3504 A
- (the)126 3798 A
- (write)210 3966 A
- 4218(*/)S
- 2970 V
- (11998)210 648 A
- 1698(r)S
- 1782(=)S
- (tp->tty_outcum)588 1866 A
- 2496(>)S
- 2580(0)S
- 2664(?)S
- (tp->tty_outcum)588 2748 A
- 3378(:)S
- (EAGAIN;)294 3462 A
- 3060 V
- (11999)210 648 A
- (tp->tty_outleft)630 1698 A
- 2370(=)S
- (tp->tty_outcum)588 2454 A
- 3084(=)S
- 3168(0;)S
- 3150 V
- (12000)210 648 A
- 1362(})S
- (else)168 1446 A
- 1656({)S
- 3240 V
- (12001)210 648 A
- 1698(r)S
- 1782(=)S
- (SUSPEND;)336 1866 A
- 3378(/*)S
- (suspend)294 3504 A
- (the)126 3840 A
- (caller)252 4008 A
- 4302(*/)S
- 3330 V
- (12002)210 648 A
- (tp->tty_outrepcode)756 1698 A
- 2496(=)S
- (REVIVE;)294 2580 A
- 3420 V
- (12003)210 648 A
- 1362(})S
- 3510 V
- (12004)210 648 A
- 1110(})S
- 3600 V
- (12005)210 648 A
- (tty_reply(TASK_REPLY,)882 1110 A
- (m_ptr->m_source,)672 2034 A
- (m_ptr->PROC_NR,)630 2748 A
- (r);)126 3420 A
- 3690 V
- (12006)210 648 A
- 1026(})S
- 3960 V
- (12009)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4050 V
- (12010)210 648 A
- 1068(*)S
- (do_ioctl)336 2370 A
- 4260(*)S
- 4140 V
- (12011)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4230 V
- (12012)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (do_ioctl(tp,)504 1572 A
- (m_ptr))252 2118 A
- 4320 V
- (12013)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 4410 V
- (12014)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (message)294 2958 A
- (sent)168 3294 A
- 3504(to)S
- (task)168 3630 A
- 3840(*/)S
- 4500 V
- (12015)210 648 A
- 1026({)S
- 4590 V
- (12016)210 648 A
- 1026(/*)S
- (Perform)294 1152 A
- 1488(an)S
- (IOCTL)210 1614 A
- 1866(on)S
- (this)168 1992 A
- (terminal.)378 2202 A
- (Posix)210 2622 A
- (termios)294 2874 A
- (calls)210 3210 A
- (are)126 3462 A
- (handled)294 3630 A
- 4680 V
- (12017)210 648 A
- 1068(*)S
- 1152(by)S
- (the)126 1278 A
- (IOCTL)210 1446 A
- (system)252 1698 A
- (call)168 1992 A
- 4770 V
- (12018)210 648 A
- 1068(*/)S
- 4860 V
- (12019)210 648 A
- 4950 V
- (12020)210 648 A
- (int)126 1110 A
- 1278(r;)S
- 5040 V
- (12021)210 648 A
- (union)210 1110 A
- 1362({)S
- 5130 V
- (12022)210 648 A
- (int)126 1362 A
- 1530(i;)S
- 5220 V
- (12023)210 648 A
- 1362(/*)S
- (these)210 1488 A
- (non-Posix)378 1740 A
- (params)252 2160 A
- (are)126 2454 A
- (not)126 2622 A
- (used)168 2790 A
- (now,)168 3000 A
- (but)126 3210 A
- (the)126 3378 A
- (union)210 3546 A
- 3798(is)S
- (retained)336 3924 A
- 5310 V
- (12024)210 648 A
- 1404(*)S
- 1488(to)S
- (minimize)336 1614 A
- (code)168 1992 A
- (differences)462 2202 A
- (with)168 2706 A
- (backward)336 2916 A
- (compatible)420 3294 A
- (version)294 3756 A
- 5400 V
- (12025)210 648 A
- 1404(*)S
- (struct)252 1488 A
- (sgttyb)252 1782 A
- (sg;)126 2076 A
- 5490 V
- (12026)210 648 A
- 1404(*)S
- (struct)252 1488 A
- (tchars)252 1782 A
- (tc;)126 2076 A
- 5580 V
- (12027)210 648 A
- 1404(*/)S
- 5670 V
- (12028)210 648 A
- 1110(})S
- (param;)252 1194 A
- 5760 V
- (12029)210 648 A
- (phys_bytes)420 1110 A
- (user_phys;)420 1572 A
- 5850 V
- (12030)210 648 A
- (size_t)252 1110 A
- (size;)210 1404 A
- 5940 V
- (12031)210 648 A
- 6030 V
- (12032)210 648 A
- 1110(/*)S
- (Size)168 1236 A
- 1446(of)S
- (the)126 1572 A
- (ioctl)210 1740 A
- (parameter.)420 1992 A
- 2454(*/)S
- 6120 V
- (12033)210 648 A
- (switch)252 1110 A
- ((m_ptr->TTY_REQUEST))840 1404 A
- 2286({)S
- 6210 V
- (12034)210 648 A
- (case)168 1194 A
- (TCGETS:)294 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcgetattr)378 2412 A
- (function)336 2832 A
- 3210(*/)S
- 8418 V
- EP
- %%Page: 161 161
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (161)180 4248 A
- 900 V
- 7 LST
- (12035)210 648 A
- (case)168 1194 A
- (TCSETS:)294 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcsetattr)378 2412 A
- (function,)378 2832 A
- (TCSANOW)294 3252 A
- (option)252 3588 A
- 3882(*/)S
- 990 V
- (12036)210 648 A
- (case)168 1194 A
- (TCSETSW:)336 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcsetattr)378 2412 A
- (function,)378 2832 A
- (TCSADRAIN)378 3252 A
- (option)252 3672 A
- 3966(*/)S
- 1080 V
- (12037)210 648 A
- (case)168 1194 A
- (TCSETSF:)336 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcsetattr)378 2412 A
- (function,)378 2832 A
- (TCSAFLUSH)378 3252 A
- (option)252 3672 A
- 3966(*/)S
- 1170 V
- (12038)210 648 A
- (size)168 1362 A
- 1572(=)S
- (sizeof(struct)546 1656 A
- (termios);)378 2244 A
- 1260 V
- (12039)210 648 A
- (break;)252 1362 A
- 1350 V
- (12040)210 648 A
- 1440 V
- (12041)210 648 A
- (case)168 1194 A
- (TCSBRK:)294 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcsendbreak)462 2412 A
- (function)336 2916 A
- 3294(*/)S
- 1530 V
- (12042)210 648 A
- (case)168 1194 A
- (TCFLOW:)294 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcflow)252 2412 A
- (function)336 2706 A
- 3084(*/)S
- 1620 V
- (12043)210 648 A
- (case)168 1194 A
- (TCFLSH:)294 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcflush)294 2412 A
- (function)336 2748 A
- 3126(*/)S
- 1710 V
- (12044)210 648 A
- (case)168 1194 A
- (TIOCGPGRP:)420 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcgetpgrp)378 2412 A
- (function)336 2832 A
- 3210(*/)S
- 1800 V
- (12045)210 648 A
- (case)168 1194 A
- (TIOCSPGRP:)420 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcsetpgrp)378 2412 A
- (function)336 2832 A
- 3210(*/)S
- 1890 V
- (12046)210 648 A
- (size)168 1362 A
- 1572(=)S
- (sizeof(int);)504 1656 A
- 1980 V
- (12047)210 648 A
- (break;)252 1362 A
- 2070 V
- (12048)210 648 A
- 2160 V
- (12049)210 648 A
- (case)168 1194 A
- (TIOCGWINSZ:)462 1404 A
- 2034(/*)S
- (get)126 2160 A
- (window)252 2328 A
- (size)168 2622 A
- ((not)168 2832 A
- (Posix))252 3042 A
- 3336(*/)S
- 2250 V
- (12050)210 648 A
- (case)168 1194 A
- (TIOCSWINSZ:)462 1404 A
- 2034(/*)S
- (set)126 2160 A
- (window)252 2328 A
- (size)168 2622 A
- ((not)168 2832 A
- (Posix))252 3042 A
- 3336(*/)S
- 2340 V
- (12051)210 648 A
- (size)168 1362 A
- 1572(=)S
- (sizeof(struct)546 1656 A
- (winsize);)378 2244 A
- 2430 V
- (12052)210 648 A
- (break;)252 1362 A
- 2520 V
- (12053)210 648 A
- 2610 V
- (12054)210 648 A
- (case)168 1194 A
- (KIOCSMAP:)378 1404 A
- 2034(/*)S
- (load)168 2160 A
- (keymap)252 2370 A
- ((Minix)252 2664 A
- (extension))420 2958 A
- 3420(*/)S
- 2700 V
- (12055)210 648 A
- (size)168 1362 A
- 1572(=)S
- (sizeof(keymap_t);)714 1656 A
- 2790 V
- (12056)210 648 A
- (break;)252 1362 A
- 2880 V
- (12057)210 648 A
- 2970 V
- (12058)210 648 A
- (case)168 1194 A
- (TIOCSFON:)378 1404 A
- 2034(/*)S
- (load)168 2160 A
- (font)168 2370 A
- ((Minix)252 2580 A
- (extension))420 2874 A
- 3336(*/)S
- 3060 V
- (12059)210 648 A
- (size)168 1362 A
- 1572(=)S
- (sizeof(u8_t)462 1656 A
- ([8192]);)336 2160 A
- 3150 V
- (12060)210 648 A
- (break;)252 1362 A
- 3240 V
- (12061)210 648 A
- 3330 V
- (12062)210 648 A
- (case)168 1194 A
- (TCDRAIN:)336 1404 A
- 2034(/*)S
- (Posix)210 2160 A
- (tcdrain)294 2412 A
- (function)336 2748 A
- 3126(--)S
- 3252(no)S
- (parameter)378 3378 A
- 3798(*/)S
- 3420 V
- (12063)210 648 A
- (default:)336 1194 A
- (size)168 2034 A
- 2244(=)S
- 2328(0;)S
- 3510 V
- (12064)210 648 A
- 1110(})S
- 3600 V
- (12065)210 648 A
- 3690 V
- (12066)210 648 A
- 1110(if)S
- ((size)210 1236 A
- 1488(!=)S
- 1614(0))S
- 1740({)S
- 3780 V
- (12067)210 648 A
- (user_phys)378 1362 A
- 1782(=)S
- (numap(m_ptr->PROC_NR,)882 1866 A
- ((vir_bytes))462 2790 A
- (m_ptr->ADDRESS,)630 3294 A
- (size);)252 3966 A
- 3870 V
- (12068)210 648 A
- 1362(if)S
- ((user_phys)420 1488 A
- 1950(==)S
- 2076(0))S
- 2202({)S
- 3960 V
- (12069)210 648 A
- (tty_reply(TASK_REPLY,)882 1698 A
- (m_ptr->m_source,)672 2622 A
- (m_ptr->PROC_NR,)630 3336 A
- (EFAULT);)336 4008 A
- 4050 V
- (12070)210 648 A
- (return;)294 1698 A
- 4140 V
- (12071)210 648 A
- 1362(})S
- 4230 V
- (12072)210 648 A
- 1110(})S
- 4320 V
- (12073)210 648 A
- 4410 V
- (12074)210 648 A
- 1110(r)S
- 1194(=)S
- (OK;)126 1278 A
- 4500 V
- (12075)210 648 A
- (switch)252 1110 A
- ((m_ptr->TTY_REQUEST))840 1404 A
- 2286({)S
- 4590 V
- (12076)210 648 A
- (case)168 1194 A
- (TCGETS:)294 1404 A
- 4680 V
- (12077)210 648 A
- 1362(/*)S
- (Get)126 1488 A
- (the)126 1656 A
- (termios)294 1824 A
- (attributes.)462 2160 A
- 2664(*/)S
- 4770 V
- (12078)210 648 A
- (phys_copy(vir2phys(&tp->tty_termios),)1554 1362 A
- (user_phys,)420 2958 A
- ((phys_bytes))504 3420 A
- (size);)252 3966 A
- 4860 V
- (12079)210 648 A
- (break;)252 1362 A
- 4950 V
- (12080)210 648 A
- 5040 V
- (12081)210 648 A
- (case)168 1194 A
- (TCSETSW:)336 1404 A
- 5130 V
- (12082)210 648 A
- (case)168 1194 A
- (TCSETSF:)336 1404 A
- 5220 V
- (12083)210 648 A
- (case)168 1194 A
- (TCDRAIN:)336 1404 A
- 5310 V
- (12084)210 648 A
- 1362(if)S
- ((tp->tty_outleft)672 1488 A
- 2202(>)S
- 2286(0))S
- 2412({)S
- 5400 V
- (12085)210 648 A
- 1698(/*)S
- (Wait)168 1824 A
- (for)126 2034 A
- (all)126 2202 A
- (ongoing)294 2370 A
- (output)252 2706 A
- (processing)420 3000 A
- 3462(to)S
- (finish.)294 3588 A
- 3924(*/)S
- 5490 V
- (12086)210 648 A
- (tp->tty_iocaller)672 1698 A
- 2412(=)S
- (m_ptr->m_source;)672 2496 A
- 5580 V
- (12087)210 648 A
- (tp->tty_ioproc)588 1698 A
- 2328(=)S
- (m_ptr->PROC_NR;)630 2412 A
- 5670 V
- (12088)210 648 A
- (tp->tty_ioreq)546 1698 A
- 2286(=)S
- (m_ptr->REQUEST;)630 2370 A
- 5760 V
- (12089)210 648 A
- (tp->tty_iovir)546 1698 A
- 2286(=)S
- ((vir_bytes))462 2370 A
- (m_ptr->ADDRESS;)630 2874 A
- 5850 V
- (12090)210 648 A
- 1698(r)S
- 1782(=)S
- (SUSPEND;)336 1866 A
- 5940 V
- (12091)210 648 A
- (break;)252 1698 A
- 6030 V
- (12092)210 648 A
- 1362(})S
- 6120 V
- (12093)210 648 A
- 1362(if)S
- ((m_ptr->TTY_REQUEST)798 1488 A
- 2328(==)S
- (TCDRAIN))336 2454 A
- (break;)252 2832 A
- 6210 V
- (12094)210 648 A
- 1362(if)S
- ((m_ptr->TTY_REQUEST)798 1488 A
- 2328(==)S
- (TCSETSF))336 2454 A
- (tty_icancel(tp);)672 2832 A
- 8418 V
- EP
- %%Page: 162 162
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (162)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (12095)210 648 A
- (/*FALL)252 1362 A
- (THROUGH*/)378 1656 A
- 990 V
- (12096)210 648 A
- (case)168 1194 A
- (TCSETS:)294 1404 A
- 1080 V
- (12097)210 648 A
- 1362(/*)S
- (Set)126 1488 A
- (the)126 1656 A
- (termios)294 1824 A
- (attributes.)462 2160 A
- 2664(*/)S
- 1170 V
- (12098)210 648 A
- (phys_copy(user_phys,)840 1362 A
- (vir2phys(&tp->tty_termios),)1134 2244 A
- ((phys_bytes))504 3420 A
- (size);)252 3966 A
- 1260 V
- (12099)210 648 A
- (setattr(tp);)504 1362 A
- 1350 V
- (12100)210 648 A
- (break;)252 1362 A
- 1440 V
- (12101)210 648 A
- 1530 V
- (12102)210 648 A
- (case)168 1194 A
- (TCFLSH:)294 1404 A
- 1620 V
- (12103)210 648 A
- (phys_copy(user_phys,)840 1362 A
- (vir2phys(¶m.i),)798 2244 A
- ((phys_bytes))504 3084 A
- (size);)252 3630 A
- 1710 V
- (12104)210 648 A
- (switch)252 1362 A
- ((param.i))378 1656 A
- 2076({)S
- 1800 V
- (12105)210 648 A
- (case)168 1530 A
- (TCIFLUSH:)378 1740 A
- (tty_icancel(tp);)672 2370 A
- (break;)252 4050 A
- 1890 V
- (12106)210 648 A
- (case)168 1530 A
- (TCOFLUSH:)378 1740 A
- ((*tp->tty_ocancel)(tp);)966 2370 A
- (break;)252 4050 A
- 1980 V
- (12107)210 648 A
- (case)168 1530 A
- (TCIOFLUSH:)420 1740 A
- (tty_icancel(tp);)672 2370 A
- ((*tp->tty_ocancel)(tp);break;)1218 3084 A
- 2070 V
- (12108)210 648 A
- (default:)336 1530 A
- 2370(r)S
- 2454(=)S
- (EINVAL;)294 2538 A
- 2160 V
- (12109)210 648 A
- 1362(})S
- 2250 V
- (12110)210 648 A
- (break;)252 1362 A
- 2340 V
- (12111)210 648 A
- 2430 V
- (12112)210 648 A
- (case)168 1194 A
- (TCFLOW:)294 1404 A
- 2520 V
- (12113)210 648 A
- (phys_copy(user_phys,)840 1362 A
- (vir2phys(¶m.i),)798 2244 A
- ((phys_bytes))504 3084 A
- (size);)252 3630 A
- 2610 V
- (12114)210 648 A
- (switch)252 1362 A
- ((param.i))378 1656 A
- 2076({)S
- 2700 V
- (12115)210 648 A
- (case)168 1530 A
- (TCOOFF:)294 1740 A
- 2790 V
- (12116)210 648 A
- (case)168 1530 A
- (TCOON:)252 1740 A
- 2880 V
- (12117)210 648 A
- (tp->tty_inhibited)714 1698 A
- 2454(=)S
- ((param.i)336 2538 A
- 2916(==)S
- (TCOOFF);)336 3042 A
- 2970 V
- (12118)210 648 A
- (tp->tty_events)588 1698 A
- 2328(=)S
- 2412(1;)S
- 3060 V
- (12119)210 648 A
- (break;)252 1698 A
- 3150 V
- (12120)210 648 A
- (case)168 1530 A
- (TCIOFF:)294 1740 A
- 3240 V
- (12121)210 648 A
- ((*tp->tty_echo)(tp,)798 1698 A
- (tp->tty_termios.c_cc[VSTOP]);)1218 2538 A
- 3330 V
- (12122)210 648 A
- (break;)252 1698 A
- 3420 V
- (12123)210 648 A
- (case)168 1530 A
- (TCION:)252 1740 A
- 3510 V
- (12124)210 648 A
- ((*tp->tty_echo)(tp,)798 1698 A
- (tp->tty_termios.c_cc[VSTART]);)1260 2538 A
- 3600 V
- (12125)210 648 A
- (break;)252 1698 A
- 3690 V
- (12126)210 648 A
- (default:)336 1530 A
- 3780 V
- (12127)210 648 A
- 1698(r)S
- 1782(=)S
- (EINVAL;)294 1866 A
- 3870 V
- (12128)210 648 A
- 1362(})S
- 3960 V
- (12129)210 648 A
- (break;)252 1362 A
- 4050 V
- (12130)210 648 A
- 4140 V
- (12131)210 648 A
- (case)168 1194 A
- (TCSBRK:)294 1404 A
- 4230 V
- (12132)210 648 A
- 1362(if)S
- ((tp->tty_break)588 1488 A
- 2118(!=)S
- (NULL))210 2244 A
- ((*tp->tty_break)(tp);)882 2496 A
- 4320 V
- (12133)210 648 A
- (break;)252 1362 A
- 4410 V
- (12134)210 648 A
- 4500 V
- (12135)210 648 A
- (case)168 1194 A
- (TIOCGWINSZ:)462 1404 A
- 4590 V
- (12136)210 648 A
- (phys_copy(vir2phys(&tp->tty_winsize),)1554 1362 A
- (user_phys,)420 2958 A
- ((phys_bytes))504 3420 A
- (size);)252 3966 A
- 4680 V
- (12137)210 648 A
- (break;)252 1362 A
- 4770 V
- (12138)210 648 A
- 4860 V
- (12139)210 648 A
- (case)168 1194 A
- (TIOCSWINSZ:)462 1404 A
- 4950 V
- (12140)210 648 A
- (phys_copy(user_phys,)840 1362 A
- (vir2phys(&tp->tty_winsize),)1134 2244 A
- ((phys_bytes))504 3420 A
- (size);)252 3966 A
- 5040 V
- (12141)210 648 A
- 1362(/*)S
- (SIGWINCH...)462 1488 A
- 1992(*/)S
- 5130 V
- (12142)210 648 A
- (break;)252 1362 A
- 5220 V
- (12143)210 648 A
- 5310 V
- (12144)210 648 A
- (case)168 1194 A
- (KIOCSMAP:)378 1404 A
- 5400 V
- (12145)210 648 A
- 1362(/*)S
- (Load)168 1488 A
- 1698(a)S
- (new)126 1782 A
- (keymap)252 1950 A
- ((only)210 2244 A
- (/dev/console).)588 2496 A
- 3126(*/)S
- 5490 V
- (12146)210 648 A
- 1362(if)S
- ((isconsole(tp)))630 1488 A
- 2160(r)S
- 2244(=)S
- (kbd_loadmap(user_phys);)966 2328 A
- 5580 V
- (12147)210 648 A
- (break;)252 1362 A
- 5670 V
- (12148)210 648 A
- 5760 V
- (12149)210 648 A
- (case)168 1194 A
- (TIOCSFON:)378 1404 A
- 5850 V
- (12150)210 648 A
- 1362(/*)S
- (Load)168 1488 A
- 1698(a)S
- (font)168 1782 A
- (into)168 1992 A
- 2202(an)S
- (EGA)126 2328 A
- 2496(or)S
- (VGA)126 2622 A
- (card)168 2790 A
- ((hs@hck.hr))462 3000 A
- 3504(*/)S
- 5940 V
- (12151)210 648 A
- 1362(if)S
- ((isconsole(tp)))630 1488 A
- 2160(r)S
- 2244(=)S
- (con_loadfont(user_phys);)1008 2328 A
- 6030 V
- (12152)210 648 A
- (break;)252 1362 A
- 6120 V
- (12153)210 648 A
- 6210 V
- (12154)210 648 A
- 1026(/*)S
- (These)210 1152 A
- (Posix)210 1404 A
- (functions)378 1656 A
- (are)126 2076 A
- (allowed)294 2244 A
- 2580(to)S
- (fail)168 2706 A
- 2916(if)S
- (_POSIX_JOB_CONTROL)756 3042 A
- 3840(is)S
- 8418 V
- EP
- %%Page: 163 163
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (163)180 4248 A
- 900 V
- 7 LST
- (12155)210 648 A
- 1068(*)S
- (not)126 1152 A
- (defined.)336 1320 A
- 990 V
- (12156)210 648 A
- 1068(*/)S
- 1080 V
- (12157)210 648 A
- (case)168 1194 A
- (TIOCGPGRP:)420 1404 A
- 1170 V
- (12158)210 648 A
- (case)168 1194 A
- (TIOCSPGRP:)420 1404 A
- 1260 V
- (12159)210 648 A
- (default:)336 1194 A
- 1350 V
- (12160)210 648 A
- 1362(r)S
- 1446(=)S
- (ENOTTY;)294 1530 A
- 1440 V
- (12161)210 648 A
- 1110(})S
- 1530 V
- (12162)210 648 A
- 1620 V
- (12163)210 648 A
- 1110(/*)S
- (Send)168 1236 A
- (the)126 1446 A
- (reply.)252 1614 A
- 1908(*/)S
- 1710 V
- (12164)210 648 A
- (tty_reply(TASK_REPLY,)882 1110 A
- (m_ptr->m_source,)672 2034 A
- (m_ptr->PROC_NR,)630 2748 A
- (r);)126 3420 A
- 1800 V
- (12165)210 648 A
- 1026(})S
- 2070 V
- (12168)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2160 V
- (12169)210 648 A
- 1068(*)S
- (do_open)294 2370 A
- 4260(*)S
- 2250 V
- (12170)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2340 V
- (12171)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (do_open(tp,)462 1572 A
- (m_ptr))252 2076 A
- 2430 V
- (12172)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2520 V
- (12173)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (message)294 2958 A
- (sent)168 3294 A
- 3504(to)S
- (task)168 3630 A
- 3840(*/)S
- 2610 V
- (12174)210 648 A
- 1026({)S
- 2700 V
- (12175)210 648 A
- 1026(/*)S
- 1152(A)S
- (tty)126 1236 A
- (line)168 1404 A
- (has)126 1614 A
- (been)168 1782 A
- (opened.)294 1992 A
- (Make)168 2370 A
- 2580(it)S
- (the)126 2706 A
- (callers)294 2874 A
- (controlling)462 3210 A
- (tty)126 3714 A
- 3882(if)S
- 2790 V
- (12176)210 648 A
- 1068(*)S
- (O_NOCTTY)336 1152 A
- 1530(is)S
- (*not*)210 1656 A
- (set)126 1908 A
- (and)126 2076 A
- 2244(it)S
- 2370(is)S
- (not)126 2496 A
- (the)126 2664 A
- (log)126 2832 A
- (device.)294 3000 A
- 3378(1)S
- 3462(is)S
- (returned)336 3588 A
- 3966(if)S
- 2880 V
- (12177)210 648 A
- 1068(*)S
- (the)126 1152 A
- (tty)126 1320 A
- 1488(is)S
- (made)168 1614 A
- (the)126 1824 A
- (controlling)462 1992 A
- (tty,)168 2496 A
- (otherwise)378 2706 A
- 3126(OK)S
- 3252(or)S
- 3378(an)S
- (error)210 3504 A
- (code.)210 3756 A
- 2970 V
- (12178)210 648 A
- 1068(*/)S
- 3060 V
- (12179)210 648 A
- (int)126 1110 A
- 1278(r)S
- 1362(=)S
- (OK;)126 1446 A
- 3150 V
- (12180)210 648 A
- 3240 V
- (12181)210 648 A
- 1110(if)S
- ((m_ptr->TTY_LINE)672 1236 A
- 1950(==)S
- (LOG_MINOR))420 2076 A
- 2538({)S
- 3330 V
- (12182)210 648 A
- 1362(/*)S
- (The)126 1488 A
- (log)126 1656 A
- (device)252 1824 A
- 2118(is)S
- 2244(a)S
- (write-only)420 2328 A
- (diagnostics)462 2790 A
- (device.)294 3294 A
- 3630(*/)S
- 3420 V
- (12183)210 648 A
- 1362(if)S
- ((m_ptr->COUNT)546 1488 A
- 2076(&)S
- (R_BIT))252 2160 A
- 2454(r)S
- 2538(=)S
- (EACCES;)294 2622 A
- 3510 V
- (12184)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 3600 V
- (12185)210 648 A
- 1362(if)S
- ((!(m_ptr->COUNT)630 1488 A
- 2160(&)S
- (O_NOCTTY)))420 2244 A
- 2706({)S
- 3690 V
- (12186)210 648 A
- (tp->tty_pgrp)504 1698 A
- 2244(=)S
- (m_ptr->PROC_NR;)630 2328 A
- 3780 V
- (12187)210 648 A
- 1698(r)S
- 1782(=)S
- 1866(1;)S
- 3870 V
- (12188)210 648 A
- 1362(})S
- 3960 V
- (12189)210 648 A
- (tp->tty_openct++;)714 1362 A
- 4050 V
- (12190)210 648 A
- 1110(})S
- 4140 V
- (12191)210 648 A
- (tty_reply(TASK_REPLY,)882 1110 A
- (m_ptr->m_source,)672 2034 A
- (m_ptr->PROC_NR,)630 2748 A
- (r);)126 3420 A
- 4230 V
- (12192)210 648 A
- 1026(})S
- 4500 V
- (12195)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4590 V
- (12196)210 648 A
- 1068(*)S
- (do_close)336 2370 A
- 4260(*)S
- 4680 V
- (12197)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4770 V
- (12198)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (do_close(tp,)504 1572 A
- (m_ptr))252 2118 A
- 4860 V
- (12199)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 4950 V
- (12200)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (message)294 2958 A
- (sent)168 3294 A
- 3504(to)S
- (task)168 3630 A
- 3840(*/)S
- 5040 V
- (12201)210 648 A
- 1026({)S
- 5130 V
- (12202)210 648 A
- 1026(/*)S
- 1152(A)S
- (tty)126 1236 A
- (line)168 1404 A
- (has)126 1614 A
- (been)168 1782 A
- (closed.)294 1992 A
- (Clean)210 2370 A
- 2622(up)S
- (the)126 2748 A
- (line)168 2916 A
- 3126(if)S
- 3252(it)S
- 3378(is)S
- (the)126 3504 A
- (last)168 3672 A
- (close.)252 3882 A
- 4176(*/)S
- 5220 V
- (12203)210 648 A
- 5310 V
- (12204)210 648 A
- 1110(if)S
- ((m_ptr->TTY_LINE)672 1236 A
- 1950(!=)S
- (LOG_MINOR)378 2076 A
- 2496(&&)S
- (--tp->tty_openct)672 2622 A
- 3336(==)S
- 3462(0))S
- 3588({)S
- 5400 V
- (12205)210 648 A
- (tp->tty_pgrp)504 1362 A
- 1908(=)S
- 1992(0;)S
- 5490 V
- (12206)210 648 A
- (tty_icancel(tp);)672 1362 A
- 5580 V
- (12207)210 648 A
- ((*tp->tty_ocancel)(tp);)966 1362 A
- 5670 V
- (12208)210 648 A
- ((*tp->tty_close)(tp);)882 1362 A
- 5760 V
- (12209)210 648 A
- (tp->tty_termios)630 1362 A
- 2034(=)S
- (termios_defaults;)714 2118 A
- 5850 V
- (12210)210 648 A
- (tp->tty_winsize)630 1362 A
- 2034(=)S
- (winsize_defaults;)714 2118 A
- 5940 V
- (12211)210 648 A
- (setattr(tp);)504 1362 A
- 6030 V
- (12212)210 648 A
- 1110(})S
- 6120 V
- (12213)210 648 A
- (tty_reply(TASK_REPLY,)882 1110 A
- (m_ptr->m_source,)672 2034 A
- (m_ptr->PROC_NR,)630 2748 A
- (OK);)168 3420 A
- 6210 V
- (12214)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 164 164
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (164)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 1080 V
- 7 LST
- (12217)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1170 V
- (12218)210 648 A
- 1068(*)S
- (do_cancel)378 2370 A
- 4260(*)S
- 1260 V
- (12219)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1350 V
- (12220)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (do_cancel(tp,)546 1572 A
- (m_ptr))252 2160 A
- 1440 V
- (12221)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 1530 V
- (12222)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (message)294 2958 A
- (sent)168 3294 A
- 3504(to)S
- (task)168 3630 A
- 3840(*/)S
- 1620 V
- (12223)210 648 A
- 1026({)S
- 1710 V
- (12224)210 648 A
- 1026(/*)S
- 1152(A)S
- (signal)252 1236 A
- (has)126 1530 A
- (been)168 1698 A
- (sent)168 1908 A
- 2118(to)S
- 2244(a)S
- (process)294 2328 A
- (that)168 2664 A
- 2874(is)S
- (hanging)294 3000 A
- (trying)252 3336 A
- 3630(to)S
- (read)168 3756 A
- 3966(or)S
- (write.)252 4092 A
- 1800 V
- (12225)210 648 A
- 1068(*)S
- (The)126 1152 A
- (pending)294 1320 A
- (read)168 1656 A
- 1866(or)S
- (write)210 1992 A
- (must)168 2244 A
- 2454(be)S
- (finished)336 2580 A
- (off)126 2958 A
- (immediately.)504 3126 A
- 1890 V
- (12226)210 648 A
- 1068(*/)S
- 1980 V
- (12227)210 648 A
- 2070 V
- (12228)210 648 A
- (int)126 1110 A
- (proc_nr;)336 1278 A
- 2160 V
- (12229)210 648 A
- (int)126 1110 A
- (mode;)210 1278 A
- 2250 V
- (12230)210 648 A
- 2340 V
- (12231)210 648 A
- 1110(/*)S
- (Check)210 1236 A
- (the)126 1488 A
- (parameters)420 1656 A
- (carefully,)420 2118 A
- 2580(to)S
- (avoid)210 2706 A
- (cancelling)420 2958 A
- (twice.)252 3420 A
- 3714(*/)S
- 2430 V
- (12232)210 648 A
- (proc_nr)294 1110 A
- 1446(=)S
- (m_ptr->PROC_NR;)630 1530 A
- 2520 V
- (12233)210 648 A
- (mode)168 1110 A
- 1320(=)S
- (m_ptr->COUNT;)546 1404 A
- 2610 V
- (12234)210 648 A
- 1110(if)S
- (((mode)252 1236 A
- 1530(&)S
- (R_BIT))252 1614 A
- 1908(&&)S
- (tp->tty_inleft)588 2034 A
- 2664(!=)S
- 2790(0)S
- 2874(&&)S
- (proc_nr)294 3000 A
- 3336(==)S
- (tp->tty_inproc))630 3462 A
- 4134({)S
- 2700 V
- (12235)210 648 A
- 1362(/*)S
- (Process)294 1488 A
- (was)126 1824 A
- (reading)294 1992 A
- (when)168 2328 A
- (killed.)294 2538 A
- (Clean)210 2916 A
- 3168(up)S
- (input.)252 3294 A
- 3588(*/)S
- 2790 V
- (12236)210 648 A
- (tty_icancel(tp);)672 1362 A
- 2880 V
- (12237)210 648 A
- (tp->tty_inleft)588 1362 A
- 1992(=)S
- (tp->tty_incum)546 2076 A
- 2664(=)S
- 2748(0;)S
- 2970 V
- (12238)210 648 A
- 1110(})S
- 3060 V
- (12239)210 648 A
- 1110(if)S
- (((mode)252 1236 A
- 1530(&)S
- (W_BIT))252 1614 A
- 1908(&&)S
- (tp->tty_outleft)630 2034 A
- 2706(!=)S
- 2832(0)S
- 2916(&&)S
- (proc_nr)294 3042 A
- 3378(==)S
- (tp->tty_outproc))672 3504 A
- 4218({)S
- 3150 V
- (12240)210 648 A
- 1362(/*)S
- (Process)294 1488 A
- (was)126 1824 A
- (writing)294 1992 A
- (when)168 2328 A
- (killed.)294 2538 A
- (Clean)210 2916 A
- 3168(up)S
- (output.)294 3294 A
- 3630(*/)S
- 3240 V
- (12241)210 648 A
- ((*tp->tty_ocancel)(tp);)966 1362 A
- 3330 V
- (12242)210 648 A
- (tp->tty_outleft)630 1362 A
- 2034(=)S
- (tp->tty_outcum)588 2118 A
- 2748(=)S
- 2832(0;)S
- 3420 V
- (12243)210 648 A
- 1110(})S
- 3510 V
- (12244)210 648 A
- 1110(if)S
- ((tp->tty_ioreq)588 1236 A
- 1866(!=)S
- 1992(0)S
- 2076(&&)S
- (proc_nr)294 2202 A
- 2538(==)S
- (tp->tty_ioproc))630 2664 A
- 3336({)S
- 3600 V
- (12245)210 648 A
- 1362(/*)S
- (Process)294 1488 A
- (was)126 1824 A
- (waiting)294 1992 A
- (for)126 2328 A
- (output)252 2496 A
- 2790(to)S
- (drain.)252 2916 A
- 3210(*/)S
- 3690 V
- (12246)210 648 A
- (tp->tty_ioreq)546 1362 A
- 1950(=)S
- 2034(0;)S
- 3780 V
- (12247)210 648 A
- 1110(})S
- 3870 V
- (12248)210 648 A
- (tp->tty_events)588 1110 A
- 1740(=)S
- 1824(1;)S
- 3960 V
- (12249)210 648 A
- (tty_reply(TASK_REPLY,)882 1110 A
- (m_ptr->m_source,)672 2034 A
- (proc_nr,)336 2748 A
- (EINTR);)294 3126 A
- 4050 V
- (12250)210 648 A
- 1026(})S
- 4320 V
- (12253)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4410 V
- (12254)210 648 A
- 1068(*)S
- (handle_events)546 2370 A
- 4260(*)S
- 4500 V
- (12255)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4590 V
- (12256)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (handle_events(tp))714 1530 A
- 4680 V
- (12257)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 2370(/*)S
- (TTY)126 2496 A
- 2664(to)S
- (check)210 2790 A
- (for)126 3042 A
- (events.)294 3210 A
- 3546(*/)S
- 4770 V
- (12258)210 648 A
- 1026({)S
- 4860 V
- (12259)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (any)126 1446 A
- (events)252 1614 A
- (pending)294 1908 A
- 2244(on)S
- 2370(a)S
- (TTY.)168 2454 A
- (These)210 2706 A
- (events)252 2958 A
- (are)126 3252 A
- (usually)294 3420 A
- (device)252 3756 A
- 4950 V
- (12260)210 648 A
- 1068(*)S
- (interrupts.)462 1152 A
- 5040 V
- (12261)210 648 A
- 1068(*)S
- 5130 V
- (12262)210 648 A
- 1068(*)S
- (Two)126 1152 A
- (kinds)210 1320 A
- 1572(of)S
- (events)252 1698 A
- (are)126 1992 A
- (prominent:)420 2160 A
- 5220 V
- (12263)210 648 A
- 1068(*)S
- 1362(-)S
- 1446(a)S
- (character)378 1530 A
- (has)126 1950 A
- (been)168 2118 A
- (received)336 2328 A
- (from)168 2706 A
- (the)126 2916 A
- (console)294 3084 A
- 3420(or)S
- 3546(an)S
- (RS232)210 3672 A
- (line.)210 3924 A
- 5310 V
- (12264)210 648 A
- 1068(*)S
- 1362(-)S
- 1446(an)S
- (RS232)210 1572 A
- (line)168 1824 A
- (has)126 2034 A
- (completed)378 2202 A
- 2622(a)S
- (write)210 2706 A
- (request)294 2958 A
- ((on)126 3294 A
- (behalf)252 3462 A
- 3756(of)S
- 3882(a)S
- (user).)252 3966 A
- 5400 V
- (12265)210 648 A
- 1068(*)S
- (The)126 1152 A
- (interrupt)378 1320 A
- (handler)294 1740 A
- (may)126 2076 A
- (delay)210 2244 A
- (the)126 2496 A
- (interrupt)378 2664 A
- (message)294 3084 A
- 3420(at)S
- (its)126 3546 A
- (discretion)420 3714 A
- 5490 V
- (12266)210 648 A
- 1068(*)S
- 1152(to)S
- (avoid)210 1278 A
- (swamping)336 1530 A
- (the)126 1908 A
- (TTY)126 2076 A
- (task.)210 2244 A
- (Messages)336 2538 A
- (may)126 2916 A
- 3084(be)S
- (overwritten)462 3210 A
- (when)168 3714 A
- (the)126 3924 A
- 5580 V
- (12267)210 648 A
- 1068(*)S
- (lines)210 1152 A
- (are)126 1404 A
- (fast)168 1572 A
- 1782(or)S
- (when)168 1908 A
- (there)210 2118 A
- (are)126 2370 A
- (races)210 2538 A
- (between)294 2790 A
- (different)378 3126 A
- (lines,)252 3546 A
- (input)210 3840 A
- 5670 V
- (12268)210 648 A
- 1068(*)S
- (and)126 1152 A
- (output,)294 1320 A
- (because)294 1656 A
- (MINIX)210 1992 A
- (only)168 2244 A
- (provides)336 2454 A
- (single)252 2832 A
- (buffering)378 3126 A
- (for)126 3546 A
- (interrupt)378 3714 A
- 5760 V
- (12269)210 648 A
- 1068(*)S
- (messages)336 1152 A
- ((in)126 1530 A
- (proc.c).)336 1698 A
- (This)168 2118 A
- 2328(is)S
- (handled)294 2454 A
- 2790(by)S
- (explicitly)420 2916 A
- (checking)336 3378 A
- (each)168 3756 A
- (line)168 3966 A
- 5850 V
- (12270)210 648 A
- 1068(*)S
- (for)126 1152 A
- (fresh)210 1320 A
- (input)210 1572 A
- (and)126 1824 A
- (completed)378 1992 A
- (output)252 2412 A
- 2706(on)S
- (each)168 2832 A
- (interrupt.)420 3042 A
- 5940 V
- (12271)210 648 A
- 1068(*/)S
- 6030 V
- (12272)210 648 A
- (char)168 1110 A
- (*buf;)210 1320 A
- 6120 V
- (12273)210 648 A
- (unsigned)336 1110 A
- (count;)252 1488 A
- 6210 V
- (12274)210 648 A
- 8418 V
- EP
- %%Page: 165 165
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (165)180 4248 A
- 900 V
- 7 LST
- (12275)210 648 A
- 1110(do)S
- 1236({)S
- 990 V
- (12276)210 648 A
- (tp->tty_events)588 1362 A
- 1992(=)S
- 2076(0;)S
- 1080 V
- (12277)210 648 A
- 1170 V
- (12278)210 648 A
- 1362(/*)S
- (Read)168 1488 A
- (input)210 1698 A
- (and)126 1950 A
- (perform)294 2118 A
- (input)210 2454 A
- (processing.)462 2706 A
- 3210(*/)S
- 1260 V
- (12279)210 648 A
- ((*tp->tty_devread)(tp);)966 1362 A
- 1350 V
- (12280)210 648 A
- 1440 V
- (12281)210 648 A
- 1362(/*)S
- (Perform)294 1488 A
- (output)252 1824 A
- (processing)420 2118 A
- (and)126 2580 A
- (write)210 2748 A
- (output.)294 3000 A
- 3336(*/)S
- 1530 V
- (12282)210 648 A
- ((*tp->tty_devwrite)(tp);)1008 1362 A
- 1620 V
- (12283)210 648 A
- 1710 V
- (12284)210 648 A
- 1362(/*)S
- (Ioctl)210 1488 A
- (waiting)294 1740 A
- (for)126 2076 A
- (some)168 2244 A
- (event?)252 2454 A
- 2748(*/)S
- 1800 V
- (12285)210 648 A
- 1362(if)S
- ((tp->tty_ioreq)588 1488 A
- 2118(!=)S
- 2244(0))S
- (dev_ioctl(tp);)588 2370 A
- 1890 V
- (12286)210 648 A
- 1110(})S
- (while)210 1194 A
- ((tp->tty_events);)714 1446 A
- 1980 V
- (12287)210 648 A
- 2070 V
- (12288)210 648 A
- 1110(/*)S
- (Transfer)336 1236 A
- (characters)420 1614 A
- (from)168 2076 A
- (the)126 2286 A
- (input)210 2454 A
- (queue)210 2706 A
- 2958(to)S
- 3084(a)S
- (waiting)294 3168 A
- (process.)336 3504 A
- 3882(*/)S
- 2160 V
- (12289)210 648 A
- (in_transfer(tp);)672 1110 A
- 2250 V
- (12290)210 648 A
- 2340 V
- (12291)210 648 A
- 1110(/*)S
- (Reply)210 1236 A
- 1488(if)S
- (enough)252 1614 A
- (bytes)210 1908 A
- (are)126 2160 A
- (available.)420 2328 A
- 2790(*/)S
- 2430 V
- (12292)210 648 A
- 1110(if)S
- ((tp->tty_incum)588 1236 A
- 1866(>=)S
- (tp->tty_min)462 1992 A
- 2496(&&)S
- (tp->tty_inleft)588 2622 A
- 3252(>)S
- 3336(0))S
- 3462({)S
- 2520 V
- (12293)210 648 A
- (tty_reply(tp->tty_inrepcode,)1176 1362 A
- (tp->tty_incaller,)714 2580 A
- (tp->tty_inproc,)630 3336 A
- 2610 V
- (12294)210 648 A
- (tp->tty_incum);)630 3714 A
- 2700 V
- (12295)210 648 A
- (tp->tty_inleft)588 1362 A
- 1992(=)S
- (tp->tty_incum)546 2076 A
- 2664(=)S
- 2748(0;)S
- 2790 V
- (12296)210 648 A
- 1110(})S
- 2880 V
- (12297)210 648 A
- 1026(})S
- 3150 V
- (12300)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3240 V
- (12301)210 648 A
- 1068(*)S
- (in_transfer)462 2370 A
- 4260(*)S
- 3330 V
- (12302)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3420 V
- (12303)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (in_transfer(tp))630 1572 A
- 3510 V
- (12304)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (terminal)336 2958 A
- 3336(to)S
- (read)168 3462 A
- (from)168 3672 A
- 3882(*/)S
- 3600 V
- (12305)210 648 A
- 1026({)S
- 3690 V
- (12306)210 648 A
- 1026(/*)S
- (Transfer)336 1152 A
- (bytes)210 1530 A
- (from)168 1782 A
- (the)126 1992 A
- (input)210 2160 A
- (queue)210 2412 A
- 2664(to)S
- 2790(a)S
- (process)294 2874 A
- (reading)294 3210 A
- (from)168 3546 A
- 3756(a)S
- (terminal.)378 3840 A
- 4260(*/)S
- 3780 V
- (12307)210 648 A
- 3870 V
- (12308)210 648 A
- (int)126 1110 A
- (ch;)126 1278 A
- 3960 V
- (12309)210 648 A
- (int)126 1110 A
- (count;)252 1278 A
- 4050 V
- (12310)210 648 A
- (phys_bytes)420 1110 A
- (buf_phys,)378 1572 A
- (user_base;)420 1992 A
- 4140 V
- (12311)210 648 A
- (char)168 1110 A
- (buf[64],)336 1320 A
- (*bp;)168 1698 A
- 4230 V
- (12312)210 648 A
- 4320 V
- (12313)210 648 A
- 1110(/*)S
- (Anything)336 1236 A
- 1614(to)S
- (do?)126 1740 A
- 1908(*/)S
- 4410 V
- (12314)210 648 A
- 1110(if)S
- ((tp->tty_inleft)630 1236 A
- 1908(==)S
- 2034(0)S
- 2118(||)S
- (tp->tty_eotct)546 2244 A
- 2832(<)S
- (tp->tty_min))504 2916 A
- (return;)294 3462 A
- 4500 V
- (12315)210 648 A
- 4590 V
- (12316)210 648 A
- (buf_phys)336 1110 A
- 1488(=)S
- (vir2phys(buf);)588 1572 A
- 4680 V
- (12317)210 648 A
- (user_base)378 1110 A
- 1530(=)S
- (proc_vir2phys(proc_addr(tp->tty_inproc),)1680 1614 A
- (0);)126 3336 A
- 4770 V
- (12318)210 648 A
- 1110(bp)S
- 1236(=)S
- (buf;)168 1320 A
- 4860 V
- (12319)210 648 A
- (while)210 1110 A
- ((tp->tty_inleft)630 1362 A
- 2034(>)S
- 2118(0)S
- 2202(&&)S
- (tp->tty_eotct)546 2328 A
- 2916(>)S
- 3000(0))S
- 3126({)S
- 4950 V
- (12320)210 648 A
- 1362(ch)S
- 1488(=)S
- (*tp->tty_intail;)672 1572 A
- 5040 V
- (12321)210 648 A
- 5130 V
- (12322)210 648 A
- 1362(if)S
- ((!(ch)210 1488 A
- 1740(&)S
- (IN_EOF)))336 1824 A
- 2202({)S
- 5220 V
- (12323)210 648 A
- 1698(/*)S
- (One)126 1824 A
- (character)378 1992 A
- 2412(to)S
- 2538(be)S
- (delivered)378 2664 A
- 3084(to)S
- (the)126 3210 A
- (user.)210 3378 A
- 3630(*/)S
- 5310 V
- (12324)210 648 A
- (*bp)126 1698 A
- 1866(=)S
- 1950(ch)S
- 2076(&)S
- (IN_CHAR;)336 2160 A
- 5400 V
- (12325)210 648 A
- (tp->tty_inleft--;)714 1698 A
- 5490 V
- (12326)210 648 A
- 1698(if)S
- ((++bp)210 1824 A
- 2076(==)S
- (bufend(buf)))504 2202 A
- 2748({)S
- 5580 V
- (12327)210 648 A
- 2034(/*)S
- (Temp)168 2160 A
- (buffer)252 2370 A
- (full,)210 2664 A
- (copy)168 2916 A
- 3126(to)S
- (user)168 3252 A
- (space.)252 3462 A
- 3756(*/)S
- 5670 V
- (12328)210 648 A
- (phys_copy(buf_phys,)798 2034 A
- (user_base)378 2874 A
- 3294(+)S
- (tp->tty_in_vir,)630 3378 A
- 5760 V
- (12329)210 648 A
- ((phys_bytes))504 3042 A
- (buflen(buf));)546 3588 A
- 5850 V
- (12330)210 648 A
- (tp->tty_in_vir)588 2034 A
- 2664(+=)S
- (buflen(buf);)504 2790 A
- 5940 V
- (12331)210 648 A
- (tp->tty_incum)546 2034 A
- 2622(+=)S
- (buflen(buf);)504 2748 A
- 6030 V
- (12332)210 648 A
- 2034(bp)S
- 2160(=)S
- (buf;)168 2244 A
- 6120 V
- (12333)210 648 A
- 1698(})S
- 6210 V
- (12334)210 648 A
- 1362(})S
- 8418 V
- EP
- %%Page: 166 166
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (166)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (12335)210 648 A
- 990 V
- (12336)210 648 A
- 1362(/*)S
- (Remove)252 1488 A
- (the)126 1782 A
- (character)378 1950 A
- (from)168 2370 A
- (the)126 2580 A
- (input)210 2748 A
- (queue.)252 3000 A
- 3294(*/)S
- 1080 V
- (12337)210 648 A
- 1362(if)S
- ((++tp->tty_intail)714 1488 A
- 2244(==)S
- (bufend(tp->tty_inbuf)))924 2370 A
- 1170 V
- (12338)210 648 A
- (tp->tty_intail)588 1698 A
- 2328(=)S
- (tp->tty_inbuf;)588 2412 A
- 1260 V
- (12339)210 648 A
- (tp->tty_incount--;)756 1362 A
- 1350 V
- (12340)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(&)S
- (IN_EOT))294 1740 A
- 2076({)S
- 1440 V
- (12341)210 648 A
- (tp->tty_eotct--;)672 1698 A
- 1530 V
- (12342)210 648 A
- 1698(/*)S
- (Don't)210 1824 A
- (read)168 2076 A
- (past)168 2286 A
- 2496(a)S
- (line)168 2580 A
- (break)210 2790 A
- 3042(in)S
- (canonical)378 3168 A
- (mode.)210 3588 A
- 3840(*/)S
- 1620 V
- (12343)210 648 A
- 1698(if)S
- ((tp->tty_termios.c_lflag)1008 1824 A
- 2874(&)S
- (ICANON))294 2958 A
- (tp->tty_inleft)588 3294 A
- 3924(=)S
- 4008(0;)S
- 1710 V
- (12344)210 648 A
- 1362(})S
- 1800 V
- (12345)210 648 A
- 1110(})S
- 1890 V
- (12346)210 648 A
- 1980 V
- (12347)210 648 A
- 1110(if)S
- ((bp)126 1236 A
- 1404(>)S
- (buf))168 1488 A
- 1698({)S
- 2070 V
- (12348)210 648 A
- 1362(/*)S
- (Leftover)336 1488 A
- (characters)420 1866 A
- 2328(in)S
- (the)126 2454 A
- (buffer.)294 2622 A
- 2958(*/)S
- 2160 V
- (12349)210 648 A
- (count)210 1362 A
- 1614(=)S
- 1698(bp)S
- 1824(-)S
- (buf;)168 1908 A
- 2250 V
- (12350)210 648 A
- (phys_copy(buf_phys,)798 1362 A
- (user_base)378 2202 A
- 2622(+)S
- (tp->tty_in_vir,)630 2706 A
- ((phys_bytes))504 3378 A
- (count);)294 3924 A
- 2340 V
- (12351)210 648 A
- (tp->tty_in_vir)588 1362 A
- 1992(+=)S
- (count;)252 2118 A
- 2430 V
- (12352)210 648 A
- (tp->tty_incum)546 1362 A
- 1950(+=)S
- (count;)252 2076 A
- 2520 V
- (12353)210 648 A
- 1110(})S
- 2610 V
- (12354)210 648 A
- 2700 V
- (12355)210 648 A
- 1110(/*)S
- (Usually)294 1236 A
- (reply)210 1572 A
- 1824(to)S
- (the)126 1950 A
- (reader,)294 2118 A
- (possibly)336 2454 A
- (even)168 2832 A
- 3042(if)S
- (incum)210 3168 A
- 3420(==)S
- 3546(0)S
- ((EOF).)252 3630 A
- 3924(*/)S
- 2790 V
- (12356)210 648 A
- 1110(if)S
- ((tp->tty_inleft)630 1236 A
- 1908(==)S
- 2034(0))S
- 2160({)S
- 2880 V
- (12357)210 648 A
- (tty_reply(tp->tty_inrepcode,)1176 1362 A
- (tp->tty_incaller,)714 2580 A
- (tp->tty_inproc,)630 3336 A
- 2970 V
- (12358)210 648 A
- (tp->tty_incum);)630 3714 A
- 3060 V
- (12359)210 648 A
- (tp->tty_inleft)588 1362 A
- 1992(=)S
- (tp->tty_incum)546 2076 A
- 2664(=)S
- 2748(0;)S
- 3150 V
- (12360)210 648 A
- 1110(})S
- 3240 V
- (12361)210 648 A
- 1026(})S
- 3510 V
- (12364)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3600 V
- (12365)210 648 A
- 1068(*)S
- (in_process)420 2370 A
- 4260(*)S
- 3690 V
- (12366)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3780 V
- (12367)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (in_process(tp,)588 1488 A
- (buf,)168 2118 A
- (count))252 2328 A
- 3870 V
- (12368)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2370(/*)S
- (terminal)336 2496 A
- 2874(on)S
- (which)210 3000 A
- (character)378 3252 A
- (has)126 3672 A
- (arrived)294 3840 A
- 4176(*/)S
- 3960 V
- (12369)210 648 A
- (char)168 1026 A
- (*buf;)210 1236 A
- 2370(/*)S
- (buffer)252 2496 A
- (with)168 2790 A
- (input)210 3000 A
- (characters)420 3252 A
- 3714(*/)S
- 4050 V
- (12370)210 648 A
- (int)126 1026 A
- (count;)252 1194 A
- 2370(/*)S
- (number)252 2496 A
- 2790(of)S
- (input)210 2916 A
- (characters)420 3168 A
- 3630(*/)S
- 4140 V
- (12371)210 648 A
- 1026({)S
- 4230 V
- (12372)210 648 A
- 1026(/*)S
- (Characters)420 1152 A
- (have)168 1614 A
- (just)168 1824 A
- (been)168 2034 A
- (typed)210 2244 A
- (in.)126 2496 A
- (Process,)336 2706 A
- (save,)210 3084 A
- (and)126 3336 A
- (echo)168 3504 A
- (them.)210 3714 A
- (Return)252 4008 A
- 4320 V
- (12373)210 648 A
- 1068(*)S
- (the)126 1152 A
- (number)252 1320 A
- 1614(of)S
- (characters)420 1740 A
- (processed.)420 2202 A
- 4410 V
- (12374)210 648 A
- 1068(*/)S
- 4500 V
- (12375)210 648 A
- 4590 V
- (12376)210 648 A
- (int)126 1110 A
- (ch,)126 1278 A
- (sig,)168 1446 A
- (ct;)126 1656 A
- 4680 V
- (12377)210 648 A
- (int)126 1110 A
- (timeset)294 1278 A
- 1614(=)S
- (FALSE;)252 1698 A
- 4770 V
- (12378)210 648 A
- (static)252 1110 A
- (unsigned)336 1404 A
- (char)168 1782 A
- (csize_mask[])504 1992 A
- 2538(=)S
- 2622({)S
- (0x1F,)210 2706 A
- (0x3F,)210 2958 A
- (0x7F,)210 3210 A
- (0xFF)168 3462 A
- 3672(};)S
- 4860 V
- (12379)210 648 A
- 4950 V
- (12380)210 648 A
- (for)126 1110 A
- ((ct)126 1278 A
- 1446(=)S
- 1530(0;)S
- 1656(ct)S
- 1782(<)S
- (count;)252 1866 A
- (ct++))210 2160 A
- 2412({)S
- 5040 V
- (12381)210 648 A
- 1362(/*)S
- (Take)168 1488 A
- (one)126 1698 A
- (character.)420 1866 A
- 2328(*/)S
- 5130 V
- (12382)210 648 A
- 1362(ch)S
- 1488(=)S
- (*buf++)252 1572 A
- 1866(&)S
- (BYTE;)210 1950 A
- 5220 V
- (12383)210 648 A
- 5310 V
- (12384)210 648 A
- 1362(/*)S
- (Strip)210 1488 A
- 1740(to)S
- (seven)210 1866 A
- (bits?)210 2118 A
- 2370(*/)S
- 5400 V
- (12385)210 648 A
- 1362(if)S
- ((tp->tty_termios.c_iflag)1008 1488 A
- 2538(&)S
- (ISTRIP))294 2622 A
- 2958(ch)S
- 3084(&=)S
- (0x7F;)210 3210 A
- 5490 V
- (12386)210 648 A
- 5580 V
- (12387)210 648 A
- 1362(/*)S
- (Input)210 1488 A
- (extensions?)462 1740 A
- 2244(*/)S
- 5670 V
- (12388)210 648 A
- 1362(if)S
- ((tp->tty_termios.c_lflag)1008 1488 A
- 2538(&)S
- (IEXTEN))294 2622 A
- 2958({)S
- 5760 V
- (12389)210 648 A
- 5850 V
- (12390)210 648 A
- 1698(/*)S
- (Previous)336 1824 A
- (character)378 2202 A
- (was)126 2622 A
- 2790(a)S
- (character)378 2874 A
- (escape?)294 3294 A
- 3630(*/)S
- 5940 V
- (12391)210 648 A
- 1698(if)S
- ((tp->tty_escaped))714 1824 A
- 2580({)S
- 6030 V
- (12392)210 648 A
- (tp->tty_escaped)630 2034 A
- 2706(=)S
- (NOT_ESCAPED;)504 2790 A
- 6120 V
- (12393)210 648 A
- 2034(ch)S
- 2160(|=)S
- (IN_ESC;)294 2286 A
- 2706(/*)S
- (protect)294 2832 A
- (character)378 3168 A
- 3588(*/)S
- 6210 V
- (12394)210 648 A
- 1698(})S
- 8418 V
- EP
- %%Page: 167 167
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (167)180 4248 A
- 900 V
- 7 LST
- (12395)210 648 A
- 990 V
- (12396)210 648 A
- 1698(/*)S
- (LNEXT)210 1824 A
- ((303V))168 2076 A
- 2286(to)S
- (escape)252 2412 A
- (the)126 2706 A
- (next)168 2874 A
- (character?)420 3084 A
- 3546(*/)S
- 1080 V
- (12397)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VLNEXT]))1218 2118 A
- 3378({)S
- 1170 V
- (12398)210 648 A
- (tp->tty_escaped)630 2034 A
- 2706(=)S
- (ESCAPED;)336 2790 A
- 1260 V
- (12399)210 648 A
- (rawecho(tp,)462 2034 A
- ('303');)210 2538 A
- 1350 V
- (12400)210 648 A
- (rawecho(tp,)462 2034 A
- ('\b');)252 2538 A
- 1440 V
- (12401)210 648 A
- (continue;)378 2034 A
- 2706(/*)S
- 2832(do)S
- (not)126 2958 A
- (store)210 3126 A
- (the)126 3378 A
- (escape)252 3546 A
- 3840(*/)S
- 1530 V
- (12402)210 648 A
- 1698(})S
- 1620 V
- (12403)210 648 A
- 1710 V
- (12404)210 648 A
- 1698(/*)S
- (REPRINT)294 1824 A
- ((303R))168 2160 A
- 2370(to)S
- (reprint)294 2496 A
- (echoed)252 2832 A
- (characters?)462 3126 A
- 3630(*/)S
- 1800 V
- (12405)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VREPRINT]))1302 2118 A
- 3462({)S
- 1890 V
- (12406)210 648 A
- (reprint(tp);)504 2034 A
- 1980 V
- (12407)210 648 A
- (continue;)378 2034 A
- 2070 V
- (12408)210 648 A
- 1698(})S
- 2160 V
- (12409)210 648 A
- 1362(})S
- 2250 V
- (12410)210 648 A
- 2340 V
- (12411)210 648 A
- 1362(/*)S
- (_POSIX_VDISABLE)630 1488 A
- 2160(is)S
- 2286(a)S
- (normal)252 2370 A
- (character)378 2664 A
- (value,)252 3084 A
- 3378(so)S
- (better)252 3504 A
- (escape)252 3798 A
- (it.)126 4092 A
- 4260(*/)S
- 2430 V
- (12412)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(==)S
- (_POSIX_VDISABLE))672 1782 A
- 2496(ch)S
- 2622(|=)S
- (IN_ESC;)294 2748 A
- 2520 V
- (12413)210 648 A
- 2610 V
- (12414)210 648 A
- 1362(/*)S
- (Map)126 1488 A
- 1656(CR)S
- 1782(to)S
- (LF,)126 1908 A
- (ignore)252 2076 A
- (CR,)126 2370 A
- 2538(or)S
- (map)126 2664 A
- 2832(LF)S
- 2958(to)S
- (CR.)126 3084 A
- 3252(*/)S
- 2700 V
- (12415)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(==)S
- ('\r'))210 1782 A
- 2034({)S
- 2790 V
- (12416)210 648 A
- 1698(if)S
- ((tp->tty_termios.c_iflag)1008 1824 A
- 2874(&)S
- (IGNCR))252 2958 A
- (continue;)378 3252 A
- 2880 V
- (12417)210 648 A
- 1698(if)S
- ((tp->tty_termios.c_iflag)1008 1824 A
- 2874(&)S
- (ICRNL))252 2958 A
- 3252(ch)S
- 3378(=)S
- ('\n';)210 3462 A
- 2970 V
- (12418)210 648 A
- 1362(})S
- (else)168 1446 A
- 3060 V
- (12419)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(==)S
- ('\n'))210 1782 A
- 2034({)S
- 3150 V
- (12420)210 648 A
- 1698(if)S
- ((tp->tty_termios.c_iflag)1008 1824 A
- 2874(&)S
- (INLCR))252 2958 A
- 3252(ch)S
- 3378(=)S
- ('\r';)210 3462 A
- 3240 V
- (12421)210 648 A
- 1362(})S
- 3330 V
- (12422)210 648 A
- 3420 V
- (12423)210 648 A
- 1362(/*)S
- (Canonical)378 1488 A
- (mode?)210 1908 A
- 2160(*/)S
- 3510 V
- (12424)210 648 A
- 1362(if)S
- ((tp->tty_termios.c_lflag)1008 1488 A
- 2538(&)S
- (ICANON))294 2622 A
- 2958({)S
- 3600 V
- (12425)210 648 A
- 3690 V
- (12426)210 648 A
- 1698(/*)S
- (Erase)210 1824 A
- (processing)420 2076 A
- ((rub)168 2538 A
- (out)126 2748 A
- 2916(of)S
- (last)168 3042 A
- (character).)462 3252 A
- 3756(*/)S
- 3780 V
- (12427)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VERASE]))1218 2118 A
- 3378({)S
- 3870 V
- (12428)210 648 A
- ((void))252 2034 A
- (back_over(tp);)588 2328 A
- 3960 V
- (12429)210 648 A
- 2034(if)S
- ((!(tp->tty_termios.c_lflag)1092 2160 A
- 3294(&)S
- (ECHOE)))294 3378 A
- 3714({)S
- 4050 V
- (12430)210 648 A
- ((void))252 2370 A
- (echo(tp,)336 2664 A
- (ch);)168 3042 A
- 4140 V
- (12431)210 648 A
- 2034(})S
- 4230 V
- (12432)210 648 A
- (continue;)378 2034 A
- 4320 V
- (12433)210 648 A
- 1698(})S
- 4410 V
- (12434)210 648 A
- 4500 V
- (12435)210 648 A
- 1698(/*)S
- (Kill)168 1824 A
- (processing)420 2034 A
- ((remove)294 2496 A
- (current)294 2832 A
- (line).)252 3168 A
- 3462(*/)S
- 4590 V
- (12436)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VKILL]))1176 2118 A
- 3336({)S
- 4680 V
- (12437)210 648 A
- (while)210 2034 A
- ((back_over(tp)))630 2286 A
- 2958({})S
- 4770 V
- (12438)210 648 A
- 2034(if)S
- ((!(tp->tty_termios.c_lflag)1092 2160 A
- 3294(&)S
- (ECHOE)))294 3378 A
- 3714({)S
- 4860 V
- (12439)210 648 A
- ((void))252 2370 A
- (echo(tp,)336 2664 A
- (ch);)168 3042 A
- 4950 V
- (12440)210 648 A
- 2370(if)S
- ((tp->tty_termios.c_lflag)1008 2496 A
- 3546(&)S
- (ECHOK))252 3630 A
- 5040 V
- (12441)210 648 A
- (rawecho(tp,)462 2706 A
- ('\n');)252 3210 A
- 5130 V
- (12442)210 648 A
- 2034(})S
- 5220 V
- (12443)210 648 A
- (continue;)378 2034 A
- 5310 V
- (12444)210 648 A
- 1698(})S
- 5400 V
- (12445)210 648 A
- 5490 V
- (12446)210 648 A
- 1698(/*)S
- (EOF)126 1824 A
- ((303D))168 1992 A
- (means)210 2202 A
- (end-of-file,)504 2454 A
- 3000(an)S
- (invisible)378 3126 A
- ("line)210 3546 A
- (break".)294 3798 A
- 4134(*/)S
- 5580 V
- (12447)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VEOF]))1134 2118 A
- 3294(ch)S
- 3420(|=)S
- (IN_EOT)252 3546 A
- 3840(|)S
- (IN_EOF;)294 3924 A
- 5670 V
- (12448)210 648 A
- 5760 V
- (12449)210 648 A
- 1698(/*)S
- (The)126 1824 A
- (line)168 1992 A
- (may)126 2202 A
- 2370(be)S
- (returned)336 2496 A
- 2874(to)S
- (the)126 3000 A
- (user)168 3168 A
- (after)210 3378 A
- 3630(an)S
- (LF.)126 3756 A
- 3924(*/)S
- 5850 V
- (12450)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- ('\n'))210 2118 A
- 2370(ch)S
- 2496(|=)S
- (IN_EOT;)294 2622 A
- 5940 V
- (12451)210 648 A
- 6030 V
- (12452)210 648 A
- 1698(/*)S
- (Same)168 1824 A
- (thing)210 2034 A
- (with)168 2286 A
- (EOL,)168 2496 A
- (whatever)336 2706 A
- 3084(it)S
- (may)126 3210 A
- (be.)126 3378 A
- 3546(*/)S
- 6120 V
- (12453)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VEOL]))1134 2118 A
- 3294(ch)S
- 3420(|=)S
- (IN_EOT;)294 3546 A
- 6210 V
- (12454)210 648 A
- 1362(})S
- 8418 V
- EP
- %%Page: 168 168
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (168)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (12455)210 648 A
- 990 V
- (12456)210 648 A
- 1362(/*)S
- (Start/stop)420 1488 A
- (input)210 1950 A
- (control?)336 2202 A
- 2580(*/)S
- 1080 V
- (12457)210 648 A
- 1362(if)S
- ((tp->tty_termios.c_iflag)1008 1488 A
- 2538(&)S
- (IXON))210 2622 A
- 2874({)S
- 1170 V
- (12458)210 648 A
- 1260 V
- (12459)210 648 A
- 1698(/*)S
- (Output)252 1824 A
- (stops)210 2118 A
- 2370(on)S
- (STOP)168 2496 A
- ((303S).)210 2706 A
- 2958(*/)S
- 1350 V
- (12460)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VSTOP]))1176 2118 A
- 3336({)S
- 1440 V
- (12461)210 648 A
- (tp->tty_inhibited)714 2034 A
- 2790(=)S
- (STOPPED;)336 2874 A
- 1530 V
- (12462)210 648 A
- (tp->tty_events)588 2034 A
- 2664(=)S
- 2748(1;)S
- 1620 V
- (12463)210 648 A
- (continue;)378 2034 A
- 1710 V
- (12464)210 648 A
- 1698(})S
- 1800 V
- (12465)210 648 A
- 1890 V
- (12466)210 648 A
- 1698(/*)S
- (Output)252 1824 A
- (restarts)336 2118 A
- 2496(on)S
- (START)210 2622 A
- ((303Q))168 2874 A
- 3084(or)S
- (any)126 3210 A
- (character)378 3378 A
- 3798(if)S
- (IXANY.)252 3924 A
- 4218(*/)S
- 1980 V
- (12467)210 648 A
- 1698(if)S
- ((tp->tty_inhibited))798 1824 A
- 2664({)S
- 2070 V
- (12468)210 648 A
- 2034(if)S
- ((ch)126 2160 A
- 2328(==)S
- (tp->tty_termios.c_cc[VSTART])1176 2454 A
- 2160 V
- (12469)210 648 A
- 2706(||)S
- ((tp->tty_termios.c_iflag)1008 2832 A
- 3882(&)S
- (IXANY)))294 3966 A
- 4302({)S
- 2250 V
- (12470)210 648 A
- (tp->tty_inhibited)714 2370 A
- 3126(=)S
- (RUNNING;)336 3210 A
- 2340 V
- (12471)210 648 A
- (tp->tty_events)588 2370 A
- 3000(=)S
- 3084(1;)S
- 2430 V
- (12472)210 648 A
- 2370(if)S
- ((ch)126 2496 A
- 2664(==)S
- (tp->tty_termios.c_cc[VSTART]))1218 2790 A
- 2520 V
- (12473)210 648 A
- (continue;)378 2706 A
- 2610 V
- (12474)210 648 A
- 2034(})S
- 2700 V
- (12475)210 648 A
- 1698(})S
- 2790 V
- (12476)210 648 A
- 1362(})S
- 2880 V
- (12477)210 648 A
- 2970 V
- (12478)210 648 A
- 1362(if)S
- ((tp->tty_termios.c_lflag)1008 1488 A
- 2538(&)S
- (ISIG))210 2622 A
- 2874({)S
- 3060 V
- (12479)210 648 A
- 1698(/*)S
- (Check)210 1824 A
- (for)126 2076 A
- (INTR)168 2244 A
- ((303?))168 2454 A
- (and)126 2664 A
- (QUIT)168 2832 A
- ((303\))168 3042 A
- (characters.)462 3252 A
- 3756(*/)S
- 3150 V
- (12480)210 648 A
- 1698(if)S
- ((ch)126 1824 A
- 1992(==)S
- (tp->tty_termios.c_cc[VINTR])1134 2118 A
- 3240 V
- (12481)210 648 A
- 2706(||)S
- 2832(ch)S
- 2958(==)S
- (tp->tty_termios.c_cc[VQUIT]))1176 3084 A
- 4302({)S
- 3330 V
- (12482)210 648 A
- (sig)126 2034 A
- 2202(=)S
- (SIGINT;)294 2286 A
- 3420 V
- (12483)210 648 A
- 2034(if)S
- ((ch)126 2160 A
- 2328(==)S
- (tp->tty_termios.c_cc[VQUIT]))1176 2454 A
- (sig)126 3672 A
- 3840(=)S
- (SIGQUIT;)336 3924 A
- 3510 V
- (12484)210 648 A
- (sigchar(tp,)462 2034 A
- (sig);)210 2538 A
- 3600 V
- (12485)210 648 A
- ((void))252 2034 A
- (echo(tp,)336 2328 A
- (ch);)168 2706 A
- 3690 V
- (12486)210 648 A
- (continue;)378 2034 A
- 3780 V
- (12487)210 648 A
- 1698(})S
- 3870 V
- (12488)210 648 A
- 1362(})S
- 3960 V
- (12489)210 648 A
- 4050 V
- (12490)210 648 A
- 1362(/*)S
- 1488(Is)S
- (there)210 1614 A
- (space)210 1866 A
- 2118(in)S
- (the)126 2244 A
- (input)210 2412 A
- (buffer?)294 2664 A
- 3000(*/)S
- 4140 V
- (12491)210 648 A
- 1362(if)S
- ((tp->tty_incount)672 1488 A
- 2202(==)S
- (buflen(tp->tty_inbuf)))924 2328 A
- 3294({)S
- 4230 V
- (12492)210 648 A
- 1698(/*)S
- 1824(No)S
- (space;)252 1950 A
- (discard)294 2244 A
- 2580(in)S
- (canonical)378 2706 A
- (mode,)210 3126 A
- (keep)168 3378 A
- 3588(in)S
- (raw)126 3714 A
- (mode.)210 3882 A
- 4134(*/)S
- 4320 V
- (12493)210 648 A
- 1698(if)S
- ((tp->tty_termios.c_lflag)1008 1824 A
- 2874(&)S
- (ICANON))294 2958 A
- (continue;)378 3294 A
- 4410 V
- (12494)210 648 A
- (break;)252 1698 A
- 4500 V
- (12495)210 648 A
- 1362(})S
- 4590 V
- (12496)210 648 A
- 4680 V
- (12497)210 648 A
- 1362(if)S
- ((!(tp->tty_termios.c_lflag)1092 1488 A
- 2622(&)S
- (ICANON)))336 2706 A
- 3084({)S
- 4770 V
- (12498)210 648 A
- 1698(/*)S
- 1824(In)S
- (raw)126 1950 A
- (mode)168 2118 A
- (all)126 2328 A
- (characters)420 2496 A
- (are)126 2958 A
- ("line)210 3126 A
- (breaks".)336 3378 A
- 3756(*/)S
- 4860 V
- (12499)210 648 A
- 1698(ch)S
- 1824(|=)S
- (IN_EOT;)294 1950 A
- 4950 V
- (12500)210 648 A
- 5040 V
- (12501)210 648 A
- 1698(/*)S
- (Start)210 1824 A
- 2076(an)S
- (inter-byte)420 2202 A
- (timer?)252 2664 A
- 2958(*/)S
- 5130 V
- (12502)210 648 A
- 1698(if)S
- ((!timeset)378 1824 A
- 2244(&&)S
- (tp->tty_termios.c_cc[VMIN])1092 2370 A
- 3504(>)S
- 3588(0)S
- 5220 V
- (12503)210 648 A
- 2370(&&)S
- (tp->tty_termios.c_cc[VTIME])1134 2496 A
- 3672(>)S
- 3756(0))S
- 3882({)S
- 5310 V
- (12504)210 648 A
- (lock();)294 2034 A
- 5400 V
- (12505)210 648 A
- (settimer(tp,)504 2034 A
- (TRUE);)252 2580 A
- 5490 V
- (12506)210 648 A
- (unlock();)378 2034 A
- 5580 V
- (12507)210 648 A
- (timeset)294 2034 A
- 2370(=)S
- (TRUE;)210 2454 A
- 5670 V
- (12508)210 648 A
- 1698(})S
- 5760 V
- (12509)210 648 A
- 1362(})S
- 5850 V
- (12510)210 648 A
- 5940 V
- (12511)210 648 A
- 1362(/*)S
- (Perform)294 1488 A
- (the)126 1824 A
- (intricate)378 1992 A
- (function)336 2412 A
- 2790(of)S
- (echoing.)336 2916 A
- 3294(*/)S
- 6030 V
- (12512)210 648 A
- 1362(if)S
- ((tp->tty_termios.c_lflag)1008 1488 A
- 2538(&)S
- ((ECHO|ECHONL)))588 2622 A
- 3252(ch)S
- 3378(=)S
- (echo(tp,)336 3462 A
- (ch);)168 3840 A
- 6120 V
- (12513)210 648 A
- 6210 V
- (12514)210 648 A
- 1362(/*)S
- (Save)168 1488 A
- (the)126 1698 A
- (character)378 1866 A
- 2286(in)S
- (the)126 2412 A
- (input)210 2580 A
- (queue.)252 2832 A
- 3126(*/)S
- 8418 V
- EP
- %%Page: 169 169
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (169)180 4248 A
- 900 V
- 7 LST
- (12515)210 648 A
- (*tp->tty_inhead++)714 1362 A
- 2118(=)S
- (ch;)126 2202 A
- 990 V
- (12516)210 648 A
- 1362(if)S
- ((tp->tty_inhead)630 1488 A
- 2160(==)S
- (bufend(tp->tty_inbuf)))924 2286 A
- 1080 V
- (12517)210 648 A
- (tp->tty_inhead)588 1698 A
- 2328(=)S
- (tp->tty_inbuf;)588 2412 A
- 1170 V
- (12518)210 648 A
- (tp->tty_incount++;)756 1362 A
- 1260 V
- (12519)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(&)S
- (IN_EOT))294 1740 A
- (tp->tty_eotct++;)672 2076 A
- 1350 V
- (12520)210 648 A
- 1440 V
- (12521)210 648 A
- 1362(/*)S
- (Try)126 1488 A
- 1656(to)S
- (finish)252 1782 A
- (input)210 2076 A
- 2328(if)S
- (the)126 2454 A
- (queue)210 2622 A
- (threatens)378 2874 A
- 3294(to)S
- (overflow.)378 3420 A
- 3840(*/)S
- 1530 V
- (12522)210 648 A
- 1362(if)S
- ((tp->tty_incount)672 1488 A
- 2202(==)S
- (buflen(tp->tty_inbuf)))924 2328 A
- (in_transfer(tp);)672 3294 A
- 1620 V
- (12523)210 648 A
- 1110(})S
- 1710 V
- (12524)210 648 A
- (return)252 1110 A
- (ct;)126 1404 A
- 1800 V
- (12525)210 648 A
- 1026(})S
- 2070 V
- (12528)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2160 V
- (12529)210 648 A
- 1068(*)S
- (echo)168 2370 A
- 4260(*)S
- 2250 V
- (12530)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2340 V
- (12531)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (echo(tp,)336 1530 A
- (ch))126 1908 A
- 2430 V
- (12532)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2370(/*)S
- (terminal)336 2496 A
- 2874(on)S
- (which)210 3000 A
- 3252(to)S
- (echo)168 3378 A
- 3588(*/)S
- 2520 V
- (12533)210 648 A
- (register)336 1026 A
- (int)126 1404 A
- (ch;)126 1572 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (character)378 2958 A
- 3378(to)S
- (echo)168 3504 A
- 3714(*/)S
- 2610 V
- (12534)210 648 A
- 1026({)S
- 2700 V
- (12535)210 648 A
- 1026(/*)S
- (Echo)168 1152 A
- (the)126 1362 A
- (character)378 1530 A
- 1950(if)S
- (echoing)294 2076 A
- 2412(is)S
- (on.)126 2538 A
- (Some)168 2748 A
- (control)294 2958 A
- (characters)420 3294 A
- (are)126 3756 A
- (echoed)252 3924 A
- 2790 V
- (12536)210 648 A
- 1068(*)S
- (with)168 1152 A
- (their)210 1362 A
- (normal)252 1614 A
- (effect,)294 1908 A
- (other)210 2244 A
- (control)294 2496 A
- (characters)420 2832 A
- (are)126 3294 A
- (echoed)252 3462 A
- 3756(as)S
- ("303X",)210 3882 A
- 2880 V
- (12537)210 648 A
- 1068(*)S
- (normal)252 1152 A
- (characters)420 1446 A
- (are)126 1908 A
- (echoed)252 2076 A
- (normally.)378 2370 A
- (EOF)126 2832 A
- ((303D))168 3000 A
- 3210(is)S
- (echoed,)294 3336 A
- (but)126 3672 A
- (immediately)462 3840 A
- 2970 V
- (12538)210 648 A
- 1068(*)S
- (backspaced)420 1152 A
- (over.)210 1614 A
- (Return)252 1908 A
- (the)126 2202 A
- (character)378 2370 A
- (with)168 2790 A
- (the)126 3000 A
- (echoed)252 3168 A
- (length)252 3462 A
- (added)210 3756 A
- 4008(to)S
- (its)126 4134 A
- 3060 V
- (12539)210 648 A
- 1068(*)S
- (attributes.)462 1152 A
- 3150 V
- (12540)210 648 A
- 1068(*/)S
- 3240 V
- (12541)210 648 A
- (int)126 1110 A
- (len,)168 1278 A
- (rp;)126 1488 A
- 3330 V
- (12542)210 648 A
- 3420 V
- (12543)210 648 A
- 1110(ch)S
- 1236(&=)S
- (304IN_LEN;)336 1362 A
- 3510 V
- (12544)210 648 A
- 1110(if)S
- ((!(tp->tty_termios.c_lflag)1092 1236 A
- 2370(&)S
- (ECHO)))252 2454 A
- 2748({)S
- 3600 V
- (12545)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(==)S
- (('\n')210 1782 A
- 2034(|)S
- (IN_EOT))294 2118 A
- 2454(&&)S
- ((tp->tty_termios.c_lflag)1008 2580 A
- 3690 V
- (12546)210 648 A
- 2706(&)S
- ((ICANON|ECHONL)))672 2790 A
- 3504(==)S
- ((ICANON|ECHONL)))672 3630 A
- 3780 V
- (12547)210 648 A
- ((*tp->tty_echo)(tp,)798 1698 A
- ('\n');)252 2538 A
- 3870 V
- (12548)210 648 A
- (return(ch);)462 1362 A
- 3960 V
- (12549)210 648 A
- 1110(})S
- 4050 V
- (12550)210 648 A
- 4140 V
- (12551)210 648 A
- 1110(/*)S
- ("Reprint")378 1236 A
- (tells)210 1656 A
- 1908(if)S
- (the)126 2034 A
- (echo)168 2202 A
- (output)252 2412 A
- (has)126 2706 A
- (been)168 2874 A
- (messed)252 3084 A
- 3378(up)S
- 3504(by)S
- (other)210 3630 A
- (output.)294 3882 A
- 4218(*/)S
- 4230 V
- (12552)210 648 A
- 1110(rp)S
- 1236(=)S
- (tp->tty_incount)630 1320 A
- 1992(==)S
- 2118(0)S
- 2202(?)S
- (FALSE)210 2286 A
- 2538(:)S
- (tp->tty_reprint;)672 2622 A
- 4320 V
- (12553)210 648 A
- 4410 V
- (12554)210 648 A
- 1110(if)S
- (((ch)168 1236 A
- 1446(&)S
- (IN_CHAR))336 1530 A
- 1908(<)S
- 1992(')S
- 2076('))S
- 2202({)S
- 4500 V
- (12555)210 648 A
- (switch)252 1362 A
- ((ch)126 1656 A
- 1824(&)S
- ((IN_ESC|IN_EOF|IN_EOT|IN_CHAR)))1302 1908 A
- 3252({)S
- 4590 V
- (12556)210 648 A
- (case)168 1530 A
- ('\t':)210 1740 A
- 4680 V
- (12557)210 648 A
- (len)126 1698 A
- 1866(=)S
- 1950(0;)S
- 4770 V
- (12558)210 648 A
- 1698(do)S
- 1824({)S
- 4860 V
- (12559)210 648 A
- ((*tp->tty_echo)(tp,)798 2034 A
- 2874(')S
- (');)126 2958 A
- 4950 V
- (12560)210 648 A
- (len++;)252 2034 A
- 5040 V
- (12561)210 648 A
- 1698(})S
- (while)210 1782 A
- ((len)168 2034 A
- 2244(<)S
- (TAB_SIZE)336 2328 A
- 2706(&&)S
- ((tp->tty_position)714 2832 A
- 3588(&)S
- (TAB_MASK))378 3672 A
- 4092(!=)S
- (0);)126 4218 A
- 5130 V
- (12562)210 648 A
- (break;)252 1698 A
- 5220 V
- (12563)210 648 A
- (case)168 1530 A
- ('\r')168 1740 A
- 1950(|)S
- (IN_EOT:)294 2034 A
- 5310 V
- (12564)210 648 A
- (case)168 1530 A
- ('\n')168 1740 A
- 1950(|)S
- (IN_EOT:)294 2034 A
- 5400 V
- (12565)210 648 A
- ((*tp->tty_echo)(tp,)798 1698 A
- 2538(ch)S
- 2664(&)S
- (IN_CHAR);)378 2748 A
- 5490 V
- (12566)210 648 A
- (len)126 1698 A
- 1866(=)S
- 1950(0;)S
- 5580 V
- (12567)210 648 A
- (break;)252 1698 A
- 5670 V
- (12568)210 648 A
- (default:)336 1530 A
- 5760 V
- (12569)210 648 A
- ((*tp->tty_echo)(tp,)798 1698 A
- ('303');)210 2538 A
- 5850 V
- (12570)210 648 A
- ((*tp->tty_echo)(tp,)798 1698 A
- ('@')126 2538 A
- 2706(+)S
- ((ch)126 2790 A
- 2958(&)S
- (IN_CHAR));)420 3042 A
- 5940 V
- (12571)210 648 A
- (len)126 1698 A
- 1866(=)S
- 1950(2;)S
- 6030 V
- (12572)210 648 A
- 1362(})S
- 6120 V
- (12573)210 648 A
- 1110(})S
- (else)168 1194 A
- 6210 V
- (12574)210 648 A
- 1110(if)S
- (((ch)168 1236 A
- 1446(&)S
- (IN_CHAR))336 1530 A
- 1908(==)S
- ('\177'))294 2034 A
- 2370({)S
- 8418 V
- EP
- %%Page: 170 170
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (170)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (12575)210 648 A
- 1362(/*)S
- 1488(A)S
- (DEL)126 1572 A
- (prints)252 1740 A
- 2034(as)S
- ("303?".)210 2160 A
- 2412(*/)S
- 990 V
- (12576)210 648 A
- ((*tp->tty_echo)(tp,)798 1362 A
- ('303');)210 2202 A
- 1080 V
- (12577)210 648 A
- ((*tp->tty_echo)(tp,)798 1362 A
- ('?');)210 2202 A
- 1170 V
- (12578)210 648 A
- (len)126 1362 A
- 1530(=)S
- 1614(2;)S
- 1260 V
- (12579)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 1350 V
- (12580)210 648 A
- ((*tp->tty_echo)(tp,)798 1362 A
- 2202(ch)S
- 2328(&)S
- (IN_CHAR);)378 2412 A
- 1440 V
- (12581)210 648 A
- (len)126 1362 A
- 1530(=)S
- 1614(1;)S
- 1530 V
- (12582)210 648 A
- 1110(})S
- 1620 V
- (12583)210 648 A
- 1110(if)S
- ((ch)126 1236 A
- 1404(&)S
- (IN_EOF))294 1488 A
- (while)210 1824 A
- ((len)168 2076 A
- 2286(>)S
- 2370(0))S
- 2496({)S
- ((*tp->tty_echo)(tp,)798 2580 A
- ('\b');)252 3420 A
- (len--;)252 3714 A
- 4008(})S
- 1710 V
- (12584)210 648 A
- 1800 V
- (12585)210 648 A
- (tp->tty_reprint)630 1110 A
- 1782(=)S
- (rp;)126 1866 A
- 1890 V
- (12586)210 648 A
- (return(ch)378 1110 A
- 1530(|)S
- ((len)168 1614 A
- 1824(<<)S
- (IN_LSHIFT));)504 1950 A
- 1980 V
- (12587)210 648 A
- 1026(})S
- 2250 V
- (12590)210 648 A
- (/*==========================================================================*)3234 1026 A
- 2340 V
- (12591)210 648 A
- 1068(*)S
- (rawecho)294 2370 A
- 4218(*)S
- 2430 V
- (12592)210 648 A
- (*==========================================================================*/)3234 1068 A
- 2520 V
- (12593)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (rawecho(tp,)462 1572 A
- (ch))126 2076 A
- 2610 V
- (12594)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2700 V
- (12595)210 648 A
- (int)126 1026 A
- (ch;)126 1194 A
- 2790 V
- (12596)210 648 A
- 1026({)S
- 2880 V
- (12597)210 648 A
- 1026(/*)S
- (Echo)168 1152 A
- (without)294 1362 A
- (interpretation)588 1698 A
- 2328(if)S
- (ECHO)168 2454 A
- 2664(is)S
- (set.)168 2790 A
- 3000(*/)S
- 2970 V
- (12598)210 648 A
- (int)126 1110 A
- 1278(rp)S
- 1404(=)S
- (tp->tty_reprint;)672 1488 A
- 3060 V
- (12599)210 648 A
- 1110(if)S
- ((tp->tty_termios.c_lflag)1008 1236 A
- 2286(&)S
- (ECHO))210 2370 A
- ((*tp->tty_echo)(tp,)798 2622 A
- (ch);)168 3462 A
- 3150 V
- (12600)210 648 A
- (tp->tty_reprint)630 1110 A
- 1782(=)S
- (rp;)126 1866 A
- 3240 V
- (12601)210 648 A
- 1026(})S
- 3510 V
- (12604)210 648 A
- (/*==========================================================================*)3234 1026 A
- 3600 V
- (12605)210 648 A
- 1068(*)S
- (back_over)378 2370 A
- 4218(*)S
- 3690 V
- (12606)210 648 A
- (*==========================================================================*/)3234 1068 A
- 3780 V
- (12607)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (back_over(tp))546 1530 A
- 3870 V
- (12608)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 3960 V
- (12609)210 648 A
- 1026({)S
- 4050 V
- (12610)210 648 A
- 1026(/*)S
- (Backspace)378 1152 A
- 1572(to)S
- (previous)336 1698 A
- (character)378 2076 A
- 2496(on)S
- (screen)252 2622 A
- (and)126 2916 A
- (erase)210 3084 A
- (it.)126 3336 A
- 3504(*/)S
- 4140 V
- (12611)210 648 A
- (u16_t)210 1110 A
- (*head;)252 1362 A
- 4230 V
- (12612)210 648 A
- (int)126 1110 A
- (len;)168 1278 A
- 4320 V
- (12613)210 648 A
- 4410 V
- (12614)210 648 A
- 1110(if)S
- ((tp->tty_incount)672 1236 A
- 1950(==)S
- 2076(0))S
- (return(0);)420 2202 A
- 2706(/*)S
- (queue)210 2832 A
- (empty)210 3084 A
- 3336(*/)S
- 4500 V
- (12615)210 648 A
- (head)168 1110 A
- 1320(=)S
- (tp->tty_inhead;)630 1404 A
- 4590 V
- (12616)210 648 A
- 1110(if)S
- ((head)210 1236 A
- 1488(==)S
- (tp->tty_inbuf))588 1614 A
- (head)168 2244 A
- 2454(=)S
- (bufend(tp->tty_inbuf);)924 2538 A
- 4680 V
- (12617)210 648 A
- 1110(if)S
- ((*--head)336 1236 A
- 1614(&)S
- (IN_EOT))294 1698 A
- (return(0);)420 2034 A
- 3042(/*)S
- (can't)210 3168 A
- (erase)210 3420 A
- ("line)210 3672 A
- (breaks")294 3924 A
- 4260(*/)S
- 4770 V
- (12618)210 648 A
- 1110(if)S
- ((tp->tty_reprint))714 1236 A
- (reprint(tp);)504 1992 A
- 3042(/*)S
- (reprint)294 3168 A
- 3504(if)S
- (messed)252 3630 A
- 3924(up)S
- 4050(*/)S
- 4860 V
- (12619)210 648 A
- (tp->tty_inhead)588 1110 A
- 1740(=)S
- (head;)210 1824 A
- 4950 V
- (12620)210 648 A
- (tp->tty_incount--;)756 1110 A
- 5040 V
- (12621)210 648 A
- 1110(if)S
- ((tp->tty_termios.c_lflag)1008 1236 A
- 2286(&)S
- (ECHOE))252 2370 A
- 2664({)S
- 5130 V
- (12622)210 648 A
- (len)126 1362 A
- 1530(=)S
- ((*head)252 1614 A
- 1908(&)S
- (IN_LEN))294 1992 A
- 2328(>>)S
- (IN_LSHIFT;)420 2454 A
- 5220 V
- (12623)210 648 A
- (while)210 1362 A
- ((len)168 1614 A
- 1824(>)S
- 1908(0))S
- 2034({)S
- 5310 V
- (12624)210 648 A
- (rawecho(tp,)462 1698 A
- ('\b');)252 2202 A
- 5400 V
- (12625)210 648 A
- (rawecho(tp,)462 1698 A
- 2202(')S
- (');)126 2286 A
- 5490 V
- (12626)210 648 A
- (rawecho(tp,)462 1698 A
- ('\b');)252 2202 A
- 5580 V
- (12627)210 648 A
- (len--;)252 1698 A
- 5670 V
- (12628)210 648 A
- 1362(})S
- 5760 V
- (12629)210 648 A
- 1110(})S
- 5850 V
- (12630)210 648 A
- (return(1);)420 1110 A
- 2706(/*)S
- (one)126 2832 A
- (character)378 3000 A
- (erased)252 3420 A
- 3714(*/)S
- 5940 V
- (12631)210 648 A
- 1026(})S
- 6210 V
- (12634)210 648 A
- (/*==========================================================================*)3234 1026 A
- 8418 V
- EP
- %%Page: 171 171
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (171)180 4248 A
- 900 V
- 7 LST
- (12635)210 648 A
- 1068(*)S
- (reprint)294 2370 A
- 4218(*)S
- 990 V
- (12636)210 648 A
- (*==========================================================================*/)3234 1068 A
- 1080 V
- (12637)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (reprint(tp))462 1572 A
- 1170 V
- (12638)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (tty)126 2958 A
- (struct)252 3126 A
- 3420(*/)S
- 1260 V
- (12639)210 648 A
- 1026({)S
- 1350 V
- (12640)210 648 A
- 1026(/*)S
- (Restore)294 1152 A
- (what)168 1488 A
- (has)126 1698 A
- (been)168 1866 A
- (echoed)252 2076 A
- 2370(to)S
- (screen)252 2496 A
- (before)252 2790 A
- 3084(if)S
- (the)126 3210 A
- (user)168 3378 A
- (input)210 3588 A
- (has)126 3840 A
- (been)168 4008 A
- 1440 V
- (12641)210 648 A
- 1068(*)S
- (messed)252 1152 A
- 1446(up)S
- 1572(by)S
- (output,)294 1698 A
- 2034(or)S
- 2160(if)S
- (REPRINT)294 2286 A
- ((303R))168 2622 A
- 2832(is)S
- (typed.)252 2958 A
- 1530 V
- (12642)210 648 A
- 1068(*/)S
- 1620 V
- (12643)210 648 A
- (int)126 1110 A
- (count;)252 1278 A
- 1710 V
- (12644)210 648 A
- (u16_t)210 1110 A
- (*head;)252 1362 A
- 1800 V
- (12645)210 648 A
- 1890 V
- (12646)210 648 A
- (tp->tty_reprint)630 1110 A
- 1782(=)S
- (FALSE;)252 1866 A
- 1980 V
- (12647)210 648 A
- 2070 V
- (12648)210 648 A
- 1110(/*)S
- (Find)168 1236 A
- (the)126 1446 A
- (last)168 1614 A
- (line)168 1824 A
- (break)210 2034 A
- 2286(in)S
- (the)126 2412 A
- (input.)252 2580 A
- 2874(*/)S
- 2160 V
- (12649)210 648 A
- (head)168 1110 A
- 1320(=)S
- (tp->tty_inhead;)630 1404 A
- 2250 V
- (12650)210 648 A
- (count)210 1110 A
- 1362(=)S
- (tp->tty_incount;)672 1446 A
- 2340 V
- (12651)210 648 A
- (while)210 1110 A
- ((count)252 1362 A
- 1656(>)S
- 1740(0))S
- 1866({)S
- 2430 V
- (12652)210 648 A
- 1362(if)S
- ((head)210 1488 A
- 1740(==)S
- (tp->tty_inbuf))588 1866 A
- (head)168 2496 A
- 2706(=)S
- (bufend(tp->tty_inbuf);)924 2790 A
- 2520 V
- (12653)210 648 A
- 1362(if)S
- ((head[-1])378 1488 A
- 1908(&)S
- (IN_EOT))294 1992 A
- (break;)252 2328 A
- 2610 V
- (12654)210 648 A
- (head--;)294 1362 A
- 2700 V
- (12655)210 648 A
- (count--;)336 1362 A
- 2790 V
- (12656)210 648 A
- 1110(})S
- 2880 V
- (12657)210 648 A
- 1110(if)S
- ((count)252 1236 A
- 1530(==)S
- (tp->tty_incount))672 1656 A
- (return;)294 2370 A
- 3042(/*)S
- 3168(no)S
- (reason)252 3294 A
- 3588(to)S
- (reprint)294 3714 A
- 4050(*/)S
- 2970 V
- (12658)210 648 A
- 3060 V
- (12659)210 648 A
- 1110(/*)S
- (Show)168 1236 A
- (REPRINT)294 1446 A
- ((303R))168 1782 A
- (and)126 1992 A
- (move)168 2160 A
- 2370(to)S
- 2496(a)S
- (new)126 2580 A
- (line.)210 2748 A
- 3000(*/)S
- 3150 V
- (12660)210 648 A
- ((void))252 1110 A
- (echo(tp,)336 1404 A
- (tp->tty_termios.c_cc[VREPRINT])1260 1782 A
- 3084(|)S
- (IN_ESC);)336 3168 A
- 3240 V
- (12661)210 648 A
- (rawecho(tp,)462 1110 A
- ('\r');)252 1614 A
- 3330 V
- (12662)210 648 A
- (rawecho(tp,)462 1110 A
- ('\n');)252 1614 A
- 3420 V
- (12663)210 648 A
- 3510 V
- (12664)210 648 A
- 1110(/*)S
- (Reprint)294 1236 A
- (from)168 1572 A
- (the)126 1782 A
- (last)168 1950 A
- (break)210 2160 A
- (onwards.)336 2412 A
- 2790(*/)S
- 3600 V
- (12665)210 648 A
- 1110(do)S
- 1236({)S
- 3690 V
- (12666)210 648 A
- 1362(if)S
- ((head)210 1488 A
- 1740(==)S
- (bufend(tp->tty_inbuf)))924 1866 A
- (head)168 2832 A
- 3042(=)S
- (tp->tty_inbuf;)588 3126 A
- 3780 V
- (12667)210 648 A
- (*head)210 1362 A
- 1614(=)S
- (echo(tp,)336 1698 A
- (*head);)294 2076 A
- 3870 V
- (12668)210 648 A
- (head++;)294 1362 A
- 3960 V
- (12669)210 648 A
- (count++;)336 1362 A
- 4050 V
- (12670)210 648 A
- 1110(})S
- (while)210 1194 A
- ((count)252 1446 A
- 1740(<)S
- (tp->tty_incount);)714 1824 A
- 4140 V
- (12671)210 648 A
- 1026(})S
- 4410 V
- (12674)210 648 A
- (/*==========================================================================*)3234 1026 A
- 4500 V
- (12675)210 648 A
- 1068(*)S
- (out_process)462 2370 A
- 4218(*)S
- 4590 V
- (12676)210 648 A
- (*==========================================================================*/)3234 1068 A
- 4680 V
- (12677)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (out_process(tp,)630 1530 A
- (bstart,)294 2202 A
- (bpos,)210 2538 A
- (bend,)210 2790 A
- (icount,)294 3042 A
- (ocount))294 3378 A
- 4770 V
- (12678)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 4860 V
- (12679)210 648 A
- (char)168 1026 A
- (*bstart,)336 1236 A
- (*bpos,)252 1614 A
- (*bend;)252 1908 A
- 2370(/*)S
- (start/pos/end)546 2496 A
- 3084(of)S
- (circular)336 3210 A
- (buffer)252 3588 A
- 3882(*/)S
- 4950 V
- (12680)210 648 A
- (int)126 1026 A
- (*icount;)336 1194 A
- 2370(/*)S
- 2496(#)S
- (input)210 2580 A
- (chars)210 2832 A
- 3084(/)S
- (input)210 3168 A
- (chars)210 3420 A
- (used)168 3672 A
- 3882(*/)S
- 5040 V
- (12681)210 648 A
- (int)126 1026 A
- (*ocount;)336 1194 A
- 2370(/*)S
- (max)126 2496 A
- (output)252 2664 A
- (chars)210 2958 A
- 3210(/)S
- (output)252 3294 A
- (chars)210 3588 A
- (used)168 3840 A
- 4050(*/)S
- 5130 V
- (12682)210 648 A
- 1026({)S
- 5220 V
- (12683)210 648 A
- 1026(/*)S
- (Perform)294 1152 A
- (output)252 1488 A
- (processing)420 1782 A
- 2244(on)S
- 2370(a)S
- (circular)336 2454 A
- (buffer.)294 2832 A
- (*icount)294 3210 A
- 3546(is)S
- (the)126 3672 A
- (number)252 3840 A
- 4134(of)S
- 5310 V
- (12684)210 648 A
- 1068(*)S
- (bytes)210 1152 A
- 1404(to)S
- (process,)336 1530 A
- (and)126 1908 A
- (the)126 2076 A
- (number)252 2244 A
- 2538(of)S
- (bytes)210 2664 A
- (actually)336 2916 A
- (processed)378 3294 A
- 3714(on)S
- (return.)294 3840 A
- 5400 V
- (12685)210 648 A
- 1068(*)S
- (*ocount)294 1152 A
- 1488(is)S
- (the)126 1614 A
- (space)210 1782 A
- (available)378 2034 A
- 2454(on)S
- (input)210 2580 A
- (and)126 2832 A
- (the)126 3000 A
- (space)210 3168 A
- (used)168 3420 A
- 3630(on)S
- (output.)294 3756 A
- 5490 V
- (12686)210 648 A
- 1068(*)S
- ((Naturally)420 1152 A
- (*icount)294 1614 A
- 1950(<)S
- (*ocount.))378 2034 A
- (The)126 2496 A
- (column)252 2664 A
- (position)336 2958 A
- 3336(is)S
- (updated)294 3462 A
- (modulo)252 3798 A
- 5580 V
- (12687)210 648 A
- 1068(*)S
- (the)126 1152 A
- (TAB)126 1320 A
- (size,)210 1488 A
- (because)294 1740 A
- 2076(we)S
- (really)252 2202 A
- (only)168 2496 A
- (need)168 2706 A
- 2916(it)S
- (for)126 3042 A
- (tabs.)210 3210 A
- 5670 V
- (12688)210 648 A
- 1068(*/)S
- 5760 V
- (12689)210 648 A
- 5850 V
- (12690)210 648 A
- (int)126 1110 A
- (tablen;)294 1278 A
- 5940 V
- (12691)210 648 A
- (int)126 1110 A
- (ict)126 1278 A
- 1446(=)S
- (*icount;)336 1530 A
- 6030 V
- (12692)210 648 A
- (int)126 1110 A
- (oct)126 1278 A
- 1446(=)S
- (*ocount;)336 1530 A
- 6120 V
- (12693)210 648 A
- (int)126 1110 A
- (pos)126 1278 A
- 1446(=)S
- (tp->tty_position;)714 1530 A
- 6210 V
- (12694)210 648 A
- 8418 V
- EP
- %%Page: 172 172
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (172)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (12695)210 648 A
- (while)210 1110 A
- ((ict)168 1362 A
- 1572(>)S
- 1656(0))S
- 1782({)S
- 990 V
- (12696)210 648 A
- (switch)252 1362 A
- ((*bpos))294 1656 A
- 1992({)S
- 1080 V
- (12697)210 648 A
- (case)168 1362 A
- ('\7':)210 1572 A
- 1170 V
- (12698)210 648 A
- (break;)252 1698 A
- 1260 V
- (12699)210 648 A
- (case)168 1362 A
- ('\b':)210 1572 A
- 1350 V
- (12700)210 648 A
- (pos--;)252 1698 A
- 1440 V
- (12701)210 648 A
- (break;)252 1698 A
- 1530 V
- (12702)210 648 A
- (case)168 1362 A
- ('\r':)210 1572 A
- 1620 V
- (12703)210 648 A
- (pos)126 1698 A
- 1866(=)S
- 1950(0;)S
- 1710 V
- (12704)210 648 A
- (break;)252 1698 A
- 1800 V
- (12705)210 648 A
- (case)168 1362 A
- ('\n':)210 1572 A
- 1890 V
- (12706)210 648 A
- 1698(if)S
- (((tp->tty_termios.c_oflag)1050 1824 A
- 2916(&)S
- ((OPOST|ONLCR)))588 3000 A
- 1980 V
- (12707)210 648 A
- 3378(==)S
- ((OPOST|ONLCR)))588 3504 A
- 4134({)S
- 2070 V
- (12708)210 648 A
- 2034(/*)S
- (Map)126 2160 A
- 2328(LF)S
- 2454(to)S
- (CR+LF)210 2580 A
- 2832(if)S
- (there)210 2958 A
- 3210(is)S
- (space.)252 3336 A
- (Note)168 3672 A
- (that)168 3882 A
- (the)126 4092 A
- 2160 V
- (12709)210 648 A
- 2076(*)S
- (next)168 2160 A
- (character)378 2370 A
- 2790(in)S
- (the)126 2916 A
- (buffer)252 3084 A
- 3378(is)S
- (overwritten,)504 3504 A
- 4050(so)S
- 2250 V
- (12710)210 648 A
- 2076(*)S
- 2160(we)S
- (stop)168 2286 A
- 2496(at)S
- (this)168 2622 A
- (point.)252 2832 A
- 2340 V
- (12711)210 648 A
- 2076(*/)S
- 2430 V
- (12712)210 648 A
- 2034(if)S
- ((oct)168 2160 A
- 2370(>=)S
- 2496(2))S
- 2622({)S
- 2520 V
- (12713)210 648 A
- (*bpos)210 2370 A
- 2622(=)S
- ('\r';)210 2706 A
- 2610 V
- (12714)210 648 A
- 2370(if)S
- ((++bpos)294 2496 A
- 2832(==)S
- (bend))210 2958 A
- (bpos)168 3210 A
- 3420(=)S
- (bstart;)294 3504 A
- 2700 V
- (12715)210 648 A
- (*bpos)210 2370 A
- 2622(=)S
- ('\n';)210 2706 A
- 2790 V
- (12716)210 648 A
- (pos)126 2370 A
- 2538(=)S
- 2622(0;)S
- 2880 V
- (12717)210 648 A
- (ict--;)252 2370 A
- 2970 V
- (12718)210 648 A
- (oct)126 2370 A
- 2538(-=)S
- 2664(2;)S
- 3060 V
- (12719)210 648 A
- 2034(})S
- 3150 V
- (12720)210 648 A
- (goto)168 2034 A
- (out_done;)378 2244 A
- 2706(/*)S
- 2832(no)S
- (space)210 2958 A
- 3210(or)S
- (buffer)252 3336 A
- (got)126 3630 A
- (changed)294 3798 A
- 4134(*/)S
- 3240 V
- (12721)210 648 A
- 1698(})S
- 3330 V
- (12722)210 648 A
- (break;)252 1698 A
- 3420 V
- (12723)210 648 A
- (case)168 1362 A
- ('\t':)210 1572 A
- 3510 V
- (12724)210 648 A
- 1698(/*)S
- (Best)168 1824 A
- (guess)210 2034 A
- (for)126 2286 A
- (the)126 2454 A
- (tab)126 2622 A
- (length.)294 2790 A
- 3126(*/)S
- 3600 V
- (12725)210 648 A
- (tablen)252 1698 A
- 1992(=)S
- (TAB_SIZE)336 2076 A
- 2454(-)S
- ((pos)168 2538 A
- 2748(&)S
- (TAB_MASK);)420 2832 A
- 3690 V
- (12726)210 648 A
- 3780 V
- (12727)210 648 A
- 1698(if)S
- (((tp->tty_termios.c_oflag)1050 1824 A
- 2916(&)S
- ((OPOST|XTABS)))588 3000 A
- 3870 V
- (12728)210 648 A
- 3378(==)S
- ((OPOST|XTABS)))588 3504 A
- 4134({)S
- 3960 V
- (12729)210 648 A
- 2034(/*)S
- (Tabs)168 2160 A
- (must)168 2370 A
- 2580(be)S
- (expanded.)378 2706 A
- 3126(*/)S
- 4050 V
- (12730)210 648 A
- 2034(if)S
- ((oct)168 2160 A
- 2370(>=)S
- (tablen))294 2496 A
- 2832({)S
- 4140 V
- (12731)210 648 A
- (pos)126 2370 A
- 2538(+=)S
- (tablen;)294 2664 A
- 4230 V
- (12732)210 648 A
- (ict--;)252 2370 A
- 4320 V
- (12733)210 648 A
- (oct)126 2370 A
- 2538(-=)S
- (tablen;)294 2664 A
- 4410 V
- (12734)210 648 A
- 2370(do)S
- 2496({)S
- 4500 V
- (12735)210 648 A
- (*bpos)210 2706 A
- 2958(=)S
- 3042(')S
- 3126(';)S
- 4590 V
- (12736)210 648 A
- 2706(if)S
- ((++bpos)294 2832 A
- 3168(==)S
- (bend))210 3294 A
- (bpos)168 3546 A
- 3756(=)S
- (bstart;)294 3840 A
- 4680 V
- (12737)210 648 A
- 2370(})S
- (while)210 2454 A
- ((--tablen)378 2706 A
- 3126(!=)S
- (0);)126 3252 A
- 4770 V
- (12738)210 648 A
- 2034(})S
- 4860 V
- (12739)210 648 A
- (goto)168 2034 A
- (out_done;)378 2244 A
- 4950 V
- (12740)210 648 A
- 1698(})S
- 5040 V
- (12741)210 648 A
- 1698(/*)S
- (Tabs)168 1824 A
- (are)126 2034 A
- (output)252 2202 A
- (directly.)378 2496 A
- 2916(*/)S
- 5130 V
- (12742)210 648 A
- (pos)126 1698 A
- 1866(+=)S
- (tablen;)294 1992 A
- 5220 V
- (12743)210 648 A
- (break;)252 1698 A
- 5310 V
- (12744)210 648 A
- (default:)336 1362 A
- 5400 V
- (12745)210 648 A
- 1698(/*)S
- (Assume)252 1824 A
- (any)126 2118 A
- (other)210 2286 A
- (character)378 2538 A
- (prints)252 2958 A
- 3252(as)S
- (one)126 3378 A
- (character.)420 3546 A
- 4008(*/)S
- 5490 V
- (12746)210 648 A
- (pos++;)252 1698 A
- 5580 V
- (12747)210 648 A
- 1362(})S
- 5670 V
- (12748)210 648 A
- 1362(if)S
- ((++bpos)294 1488 A
- 1824(==)S
- (bend))210 1950 A
- (bpos)168 2202 A
- 2412(=)S
- (bstart;)294 2496 A
- 5760 V
- (12749)210 648 A
- (ict--;)252 1362 A
- 5850 V
- (12750)210 648 A
- (oct--;)252 1362 A
- 5940 V
- (12751)210 648 A
- 1110(})S
- 6030 V
- (12752)210 648 A
- (out_done:)378 1026 A
- 6120 V
- (12753)210 648 A
- (tp->tty_position)672 1110 A
- 1824(=)S
- (pos)126 1908 A
- 2076(&)S
- (TAB_MASK;)378 2160 A
- 6210 V
- (12754)210 648 A
- 8418 V
- EP
- %%Page: 173 173
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (173)180 4248 A
- 900 V
- 7 LST
- (12755)210 648 A
- (*icount)294 1110 A
- 1446(-=)S
- (ict;)168 1572 A
- 2034(/*)S
- ([io]ct)252 2160 A
- (are)126 2454 A
- (the)126 2622 A
- (number)252 2790 A
- 3084(of)S
- (chars)210 3210 A
- (not)126 3462 A
- (used)168 3630 A
- 3840(*/)S
- 990 V
- (12756)210 648 A
- (*ocount)294 1110 A
- 1446(-=)S
- (oct;)168 1572 A
- 2034(/*)S
- (*[io]count)420 2160 A
- (are)126 2622 A
- (the)126 2790 A
- (number)252 2958 A
- 3252(of)S
- (chars)210 3378 A
- (that)168 3630 A
- (are)126 3840 A
- (used)168 4008 A
- 4218(*/)S
- 1080 V
- (12757)210 648 A
- 1026(})S
- 1350 V
- (12760)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1440 V
- (12761)210 648 A
- 1068(*)S
- (dev_ioctl)378 2370 A
- 4260(*)S
- 1530 V
- (12762)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1620 V
- (12763)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (dev_ioctl(tp))546 1572 A
- 1710 V
- (12764)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 1800 V
- (12765)210 648 A
- 1026({)S
- 1890 V
- (12766)210 648 A
- 1026(/*)S
- (The)126 1152 A
- (ioctl's)294 1320 A
- (TCSETSW,)336 1656 A
- (TCSETSF)294 2034 A
- (and)126 2370 A
- (TCDRAIN)294 2538 A
- (wait)168 2874 A
- (for)126 3084 A
- (output)252 3252 A
- 3546(to)S
- (finish)252 3672 A
- 3966(to)S
- (make)168 4092 A
- 1980 V
- (12767)210 648 A
- 1068(*)S
- (sure)168 1152 A
- (that)168 1362 A
- 1572(an)S
- (attribute)378 1698 A
- (change)252 2118 A
- (doesn't)294 2412 A
- (affect)252 2748 A
- (the)126 3042 A
- (processing)420 3210 A
- 3672(of)S
- (current)294 3798 A
- 2070 V
- (12768)210 648 A
- 1068(*)S
- (output.)294 1152 A
- (Once)168 1530 A
- (output)252 1740 A
- (finishes)336 2034 A
- (the)126 2412 A
- (ioctl)210 2580 A
- 2832(is)S
- (executed)336 2958 A
- 3336(as)S
- 3462(in)S
- (do_ioctl().)462 3588 A
- 2160 V
- (12769)210 648 A
- 1068(*/)S
- 2250 V
- (12770)210 648 A
- (phys_bytes)420 1110 A
- (user_phys;)420 1572 A
- 2340 V
- (12771)210 648 A
- 2430 V
- (12772)210 648 A
- 1110(if)S
- ((tp->tty_outleft)672 1236 A
- 1950(>)S
- 2034(0))S
- (return;)294 2160 A
- 3042(/*)S
- (output)252 3168 A
- (not)126 3462 A
- (finished)336 3630 A
- 4008(*/)S
- 2520 V
- (12773)210 648 A
- 2610 V
- (12774)210 648 A
- 1110(if)S
- ((tp->tty_ioreq)588 1236 A
- 1866(!=)S
- (TCDRAIN))336 1992 A
- 2370({)S
- 2700 V
- (12775)210 648 A
- 1362(if)S
- ((tp->tty_ioreq)588 1488 A
- 2118(==)S
- (TCSETSF))336 2244 A
- (tty_icancel(tp);)672 2622 A
- 2790 V
- (12776)210 648 A
- (user_phys)378 1362 A
- 1782(=)S
- (proc_vir2phys(proc_addr(tp->tty_ioproc),)1680 1866 A
- (tp->tty_iovir);)630 3588 A
- 2880 V
- (12777)210 648 A
- (phys_copy(user_phys,)840 1362 A
- (vir2phys(&tp->tty_termios),)1134 2244 A
- 2970 V
- (12778)210 648 A
- ((phys_bytes))504 2706 A
- (sizeof(tp->tty_termios));)1050 3252 A
- 3060 V
- (12779)210 648 A
- (setattr(tp);)504 1362 A
- 3150 V
- (12780)210 648 A
- 1110(})S
- 3240 V
- (12781)210 648 A
- (tp->tty_ioreq)546 1110 A
- 1698(=)S
- 1782(0;)S
- 3330 V
- (12782)210 648 A
- (tty_reply(REVIVE,)714 1110 A
- (tp->tty_iocaller,)714 1866 A
- (tp->tty_ioproc,)630 2622 A
- (OK);)168 3294 A
- 3420 V
- (12783)210 648 A
- 1026(})S
- 3690 V
- (12786)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3780 V
- (12787)210 648 A
- 1068(*)S
- (setattr)294 2370 A
- 4260(*)S
- 3870 V
- (12788)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3960 V
- (12789)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (setattr(tp))462 1572 A
- 4050 V
- (12790)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 4140 V
- (12791)210 648 A
- 1026({)S
- 4230 V
- (12792)210 648 A
- 1026(/*)S
- (Apply)210 1152 A
- (the)126 1404 A
- (new)126 1572 A
- (line)168 1740 A
- (attributes)420 1950 A
- ((raw/canonical,)630 2412 A
- (line)168 3084 A
- (speed,)252 3294 A
- (etc.))210 3588 A
- 3840(*/)S
- 4320 V
- (12793)210 648 A
- (u16_t)210 1110 A
- (*inp;)210 1362 A
- 4410 V
- (12794)210 648 A
- (int)126 1110 A
- (count;)252 1278 A
- 4500 V
- (12795)210 648 A
- 4590 V
- (12796)210 648 A
- 1110(if)S
- ((!(tp->tty_termios.c_lflag)1092 1236 A
- 2370(&)S
- (ICANON)))336 2454 A
- 2832({)S
- 4680 V
- (12797)210 648 A
- 1362(/*)S
- (Raw)126 1488 A
- (mode;)210 1656 A
- (put)126 1908 A
- 2076(a)S
- ("line)210 2160 A
- (break")252 2412 A
- 2706(on)S
- (all)126 2832 A
- (characters)420 3000 A
- 3462(in)S
- (the)126 3588 A
- (input)210 3756 A
- (queue.)252 4008 A
- 4770 V
- (12798)210 648 A
- 1404(*)S
- 1488(It)S
- 1614(is)S
- (undefined)378 1740 A
- (what)168 2160 A
- (happens)294 2370 A
- 2706(to)S
- (the)126 2832 A
- (input)210 3000 A
- (queue)210 3252 A
- (when)168 3504 A
- (ICANON)252 3714 A
- 4008(is)S
- 4860 V
- (12799)210 648 A
- 1404(*)S
- (switched)336 1488 A
- (off,)168 1866 A
- 2076(a)S
- (process)294 2160 A
- (should)252 2496 A
- (use)126 2790 A
- (TCSAFLUSH)378 2958 A
- 3378(to)S
- (flush)210 3504 A
- (the)126 3756 A
- (queue.)252 3924 A
- 4950 V
- (12800)210 648 A
- 1404(*)S
- (Keeping)294 1488 A
- (the)126 1824 A
- (queue)210 1992 A
- 2244(to)S
- (preserve)336 2370 A
- (typeahead)378 2748 A
- 3168(is)S
- (the)126 3294 A
- (Right)210 3462 A
- (Thing,)252 3714 A
- (however)294 4008 A
- 5040 V
- (12801)210 648 A
- 1404(*)S
- (when)168 1488 A
- 1698(a)S
- (process)294 1782 A
- (does)168 2118 A
- (use)126 2328 A
- (TCSANOW)294 2496 A
- 2832(to)S
- (switch)252 2958 A
- 3252(to)S
- (raw)126 3378 A
- (mode.)210 3546 A
- 5130 V
- (12802)210 648 A
- 1404(*/)S
- 5220 V
- (12803)210 648 A
- (count)210 1362 A
- 1614(=)S
- (tp->tty_eotct)546 1698 A
- 2286(=)S
- (tp->tty_incount;)672 2370 A
- 5310 V
- (12804)210 648 A
- (inp)126 1362 A
- 1530(=)S
- (tp->tty_intail;)630 1614 A
- 5400 V
- (12805)210 648 A
- (while)210 1362 A
- ((count)252 1614 A
- 1908(>)S
- 1992(0))S
- 2118({)S
- 5490 V
- (12806)210 648 A
- (*inp)168 1698 A
- 1908(|=)S
- (IN_EOT;)294 2034 A
- 5580 V
- (12807)210 648 A
- 1698(if)S
- ((++inp)252 1824 A
- 2118(==)S
- (bufend(tp->tty_inbuf)))924 2244 A
- (inp)126 3210 A
- 3378(=)S
- (tp->tty_inbuf;)588 3462 A
- 5670 V
- (12808)210 648 A
- (--count;)336 1698 A
- 5760 V
- (12809)210 648 A
- 1362(})S
- 5850 V
- (12810)210 648 A
- 1110(})S
- 5940 V
- (12811)210 648 A
- 6030 V
- (12812)210 648 A
- 1110(/*)S
- (Inspect)294 1236 A
- (MIN)126 1572 A
- (and)126 1740 A
- (TIME.)210 1908 A
- 2160(*/)S
- 6120 V
- (12813)210 648 A
- (lock();)294 1110 A
- 6210 V
- (12814)210 648 A
- (settimer(tp,)504 1110 A
- (FALSE);)294 1656 A
- 8418 V
- EP
- %%Page: 174 174
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (174)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (12815)210 648 A
- (unlock();)378 1110 A
- 990 V
- (12816)210 648 A
- 1110(if)S
- ((tp->tty_termios.c_lflag)1008 1236 A
- 2286(&)S
- (ICANON))294 2370 A
- 2706({)S
- 1080 V
- (12817)210 648 A
- 1362(/*)S
- 1488(No)S
- (MIN)126 1614 A
- 1782(&)S
- (TIME)168 1866 A
- 2076(in)S
- (canonical)378 2202 A
- (mode.)210 2622 A
- 2874(*/)S
- 1170 V
- (12818)210 648 A
- (tp->tty_min)462 1362 A
- 1866(=)S
- 1950(1;)S
- 1260 V
- (12819)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 1350 V
- (12820)210 648 A
- 1362(/*)S
- 1488(In)S
- (raw)126 1614 A
- (mode)168 1782 A
- (MIN)126 1992 A
- 2160(is)S
- (the)126 2286 A
- (number)252 2454 A
- 2748(of)S
- (chars)210 2874 A
- (wanted,)294 3126 A
- (and)126 3462 A
- (TIME)168 3630 A
- (how)126 3840 A
- (long)168 4008 A
- 1440 V
- (12821)210 648 A
- 1404(*)S
- 1488(to)S
- (wait)168 1614 A
- (for)126 1824 A
- (them.)210 1992 A
- (With)168 2286 A
- (interesting)462 2496 A
- (exceptions)420 3000 A
- 3462(if)S
- (either)252 3588 A
- 3882(is)S
- (zero.)210 4008 A
- 1530 V
- (12822)210 648 A
- 1404(*/)S
- 1620 V
- (12823)210 648 A
- (tp->tty_min)462 1362 A
- 1866(=)S
- (tp->tty_termios.c_cc[VMIN];)1134 1950 A
- 1710 V
- (12824)210 648 A
- 1362(if)S
- ((tp->tty_min)504 1488 A
- 2034(==)S
- 2160(0)S
- 2244(&&)S
- (tp->tty_termios.c_cc[VTIME])1134 2370 A
- 3546(>)S
- 3630(0))S
- 1800 V
- (12825)210 648 A
- (tp->tty_min)462 1698 A
- 2202(=)S
- 2286(1;)S
- 1890 V
- (12826)210 648 A
- 1110(})S
- 1980 V
- (12827)210 648 A
- 2070 V
- (12828)210 648 A
- 1110(if)S
- ((!(tp->tty_termios.c_iflag)1092 1236 A
- 2370(&)S
- (IXON)))252 2454 A
- 2748({)S
- 2160 V
- (12829)210 648 A
- 1362(/*)S
- 1488(No)S
- (start/stop)420 1614 A
- (output)252 2076 A
- (control,)336 2370 A
- 2748(so)S
- (don't)210 2874 A
- (leave)210 3126 A
- (output)252 3378 A
- (inhibited.)420 3672 A
- 4134(*/)S
- 2250 V
- (12830)210 648 A
- (tp->tty_inhibited)714 1362 A
- 2118(=)S
- (RUNNING;)336 2202 A
- 2340 V
- (12831)210 648 A
- (tp->tty_events)588 1362 A
- 1992(=)S
- 2076(1;)S
- 2430 V
- (12832)210 648 A
- 1110(})S
- 2520 V
- (12833)210 648 A
- 2610 V
- (12834)210 648 A
- 1110(/*)S
- (Setting)294 1236 A
- (the)126 1572 A
- (output)252 1740 A
- (speed)210 2034 A
- 2286(to)S
- (zero)168 2412 A
- (hangs)210 2622 A
- 2874(up)S
- (the)126 3000 A
- (phone.)252 3168 A
- 3462(*/)S
- 2700 V
- (12835)210 648 A
- 1110(if)S
- ((tp->tty_termios.c_ospeed)1050 1236 A
- 2328(==)S
- (B0))126 2454 A
- (sigchar(tp,)462 2622 A
- (SIGHUP);)336 3126 A
- 2790 V
- (12836)210 648 A
- 2880 V
- (12837)210 648 A
- 1110(/*)S
- (Set)126 1236 A
- (new)126 1404 A
- (line)168 1572 A
- (speed,)252 1782 A
- (character)378 2076 A
- (size,)210 2496 A
- (etc)126 2748 A
- 2916(at)S
- (the)126 3042 A
- (device)252 3210 A
- (level.)252 3504 A
- 3798(*/)S
- 2970 V
- (12838)210 648 A
- ((*tp->tty_ioctl)(tp);)882 1110 A
- 3060 V
- (12839)210 648 A
- 1026(})S
- 3330 V
- (12842)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3420 V
- (12843)210 648 A
- 1068(*)S
- (tty_reply)378 2370 A
- 4260(*)S
- 3510 V
- (12844)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3600 V
- (12845)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (tty_reply(code,)630 1530 A
- (replyee,)336 2202 A
- (proc_nr,)336 2580 A
- (status))294 2958 A
- 3690 V
- (12846)210 648 A
- (int)126 1026 A
- (code;)210 1194 A
- 2370(/*)S
- (TASK_REPLY)420 2496 A
- 2958(or)S
- (REVIVE)252 3084 A
- 3378(*/)S
- 3780 V
- (12847)210 648 A
- (int)126 1026 A
- (replyee;)336 1194 A
- 2370(/*)S
- (destination)462 2496 A
- (address)294 3000 A
- (for)126 3336 A
- (the)126 3504 A
- (reply)210 3672 A
- 3924(*/)S
- 3870 V
- (12848)210 648 A
- (int)126 1026 A
- (proc_nr;)336 1194 A
- 2370(/*)S
- 2496(to)S
- (whom)168 2622 A
- (should)252 2832 A
- (the)126 3126 A
- (reply)210 3294 A
- (go?)126 3546 A
- 3714(*/)S
- 3960 V
- (12849)210 648 A
- (int)126 1026 A
- (status;)294 1194 A
- 2370(/*)S
- (reply)210 2496 A
- (code)168 2748 A
- 2958(*/)S
- 4050 V
- (12850)210 648 A
- 1026({)S
- 4140 V
- (12851)210 648 A
- 1026(/*)S
- (Send)168 1152 A
- 1362(a)S
- (reply)210 1446 A
- 1698(to)S
- 1824(a)S
- (process)294 1908 A
- (that)168 2244 A
- (wanted)252 2454 A
- 2748(to)S
- (read)168 2874 A
- 3084(or)S
- (write)210 3210 A
- (data.)210 3462 A
- 3714(*/)S
- 4230 V
- (12852)210 648 A
- 4320 V
- (12853)210 648 A
- (message)294 1110 A
- (tty_mess;)378 1446 A
- 4410 V
- (12854)210 648 A
- 4500 V
- (12855)210 648 A
- (tty_mess.m_type)630 1110 A
- 1782(=)S
- (code;)210 1866 A
- 4590 V
- (12856)210 648 A
- (tty_mess.REP_PROC_NR)840 1110 A
- 1992(=)S
- (proc_nr;)336 2076 A
- 4680 V
- (12857)210 648 A
- (tty_mess.REP_STATUS)798 1110 A
- 1950(=)S
- (status;)294 2034 A
- 4770 V
- (12858)210 648 A
- 1110(if)S
- (((status)336 1236 A
- 1614(=)S
- (send(replyee,)546 1698 A
- (&tty_mess)))462 2286 A
- 2790(!=)S
- (OK))126 2916 A
- 4860 V
- (12859)210 648 A
- (panic("tty_reply)672 1362 A
- (failed,)294 2076 A
- (status\n",)420 2412 A
- (status);)336 2874 A
- 4950 V
- (12860)210 648 A
- 1026(})S
- 5220 V
- (12863)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5310 V
- (12864)210 648 A
- 1068(*)S
- (sigchar)294 2370 A
- 4260(*)S
- 5400 V
- (12865)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5490 V
- (12866)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (sigchar(tp,)462 1530 A
- (sig))168 2034 A
- 5580 V
- (12867)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 5670 V
- (12868)210 648 A
- (int)126 1026 A
- (sig;)168 1194 A
- 2370(/*)S
- (SIGINT,)294 2496 A
- (SIGQUIT,)336 2832 A
- (SIGKILL)294 3210 A
- 3546(or)S
- (SIGHUP)252 3672 A
- 3966(*/)S
- 5760 V
- (12869)210 648 A
- 1026({)S
- 5850 V
- (12870)210 648 A
- 1026(/*)S
- (Process)294 1152 A
- 1488(a)S
- (SIGINT,)294 1572 A
- (SIGQUIT)294 1908 A
- 2244(or)S
- (SIGKILL)294 2370 A
- (char)168 2706 A
- (from)168 2916 A
- (the)126 3126 A
- (keyboard)336 3294 A
- 3672(or)S
- (SIGHUP)252 3798 A
- (from)168 4092 A
- 5940 V
- (12871)210 648 A
- 1068(*)S
- 1152(a)S
- (tty)126 1236 A
- (close,)252 1404 A
- ("stty)210 1698 A
- (0",)126 1950 A
- 2118(or)S
- 2244(a)S
- (real)168 2328 A
- (RS-232)252 2538 A
- (hangup.)294 2832 A
- 3210(MM)S
- (will)168 3336 A
- (send)168 3546 A
- (the)126 3756 A
- (signal)252 3924 A
- 4218(to)S
- 6030 V
- (12872)210 648 A
- 1068(*)S
- (the)126 1152 A
- (process)294 1320 A
- (group)210 1656 A
- ((INT,)210 1908 A
- (QUIT),)252 2160 A
- (all)126 2454 A
- (processes)378 2622 A
- ((KILL),)294 3042 A
- 3378(or)S
- (the)126 3504 A
- (session)294 3672 A
- (leader)252 4008 A
- 6120 V
- (12873)210 648 A
- 1068(*)S
- ((HUP).)252 1152 A
- 6210 V
- (12874)210 648 A
- 1068(*/)S
- 8418 V
- EP
- %%Page: 175 175
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (175)180 4248 A
- 900 V
- 7 LST
- (12875)210 648 A
- 990 V
- (12876)210 648 A
- 1110(if)S
- ((tp->tty_pgrp)546 1236 A
- 1824(!=)S
- 1950(0))S
- (cause_sig(tp->tty_pgrp,)966 2076 A
- (sig);)210 3084 A
- 1080 V
- (12877)210 648 A
- 1170 V
- (12878)210 648 A
- 1110(if)S
- ((!(tp->tty_termios.c_lflag)1092 1236 A
- 2370(&)S
- (NOFLSH)))336 2454 A
- 2832({)S
- 1260 V
- (12879)210 648 A
- (tp->tty_incount)630 1362 A
- 2034(=)S
- (tp->tty_eotct)546 2118 A
- 2706(=)S
- 2790(0;)S
- 3042(/*)S
- (kill)168 3168 A
- (earlier)294 3378 A
- (input)210 3714 A
- 3966(*/)S
- 1350 V
- (12880)210 648 A
- (tp->tty_intail)588 1362 A
- 1992(=)S
- (tp->tty_inhead;)630 2076 A
- 1440 V
- (12881)210 648 A
- ((*tp->tty_ocancel)(tp);)966 1362 A
- 3042(/*)S
- (kill)168 3168 A
- (all)126 3378 A
- (output)252 3546 A
- 3840(*/)S
- 1530 V
- (12882)210 648 A
- (tp->tty_inhibited)714 1362 A
- 2118(=)S
- (RUNNING;)336 2202 A
- 1620 V
- (12883)210 648 A
- (tp->tty_events)588 1362 A
- 1992(=)S
- 2076(1;)S
- 1710 V
- (12884)210 648 A
- 1110(})S
- 1800 V
- (12885)210 648 A
- 1026(})S
- 2070 V
- (12888)210 648 A
- (/*==========================================================================*)3234 1026 A
- 2160 V
- (12889)210 648 A
- 1068(*)S
- (tty_icancel)462 2370 A
- 4218(*)S
- 2250 V
- (12890)210 648 A
- (*==========================================================================*/)3234 1068 A
- 2340 V
- (12891)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (tty_icancel(tp))630 1572 A
- 2430 V
- (12892)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2520 V
- (12893)210 648 A
- 1026({)S
- 2610 V
- (12894)210 648 A
- 1026(/*)S
- (Discard)294 1152 A
- (all)126 1488 A
- (pending)294 1656 A
- (input,)252 1992 A
- (tty)126 2286 A
- (buffer)252 2454 A
- 2748(or)S
- (device.)294 2874 A
- 3210(*/)S
- 2700 V
- (12895)210 648 A
- 2790 V
- (12896)210 648 A
- (tp->tty_incount)630 1110 A
- 1782(=)S
- (tp->tty_eotct)546 1866 A
- 2454(=)S
- 2538(0;)S
- 2880 V
- (12897)210 648 A
- (tp->tty_intail)588 1110 A
- 1740(=)S
- (tp->tty_inhead;)630 1824 A
- 2970 V
- (12898)210 648 A
- ((*tp->tty_icancel)(tp);)966 1110 A
- 3060 V
- (12899)210 648 A
- 1026(})S
- 3330 V
- (12902)210 648 A
- (/*==========================================================================*)3234 1026 A
- 3420 V
- (12903)210 648 A
- 1068(*)S
- (tty_init)336 2370 A
- 4218(*)S
- 3510 V
- (12904)210 648 A
- (*==========================================================================*/)3234 1068 A
- 3600 V
- (12905)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (tty_init(tp))504 1572 A
- 3690 V
- (12906)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 2370(/*)S
- (TTY)126 2496 A
- (line)168 2664 A
- 2874(to)S
- (initialize.)462 3000 A
- 3504(*/)S
- 3780 V
- (12907)210 648 A
- 1026({)S
- 3870 V
- (12908)210 648 A
- 1026(/*)S
- (Initialize)420 1152 A
- (tty)126 1614 A
- (structure)378 1782 A
- (and)126 2202 A
- (call)168 2370 A
- (device)252 2580 A
- (initialization)588 2874 A
- (routines.)378 3504 A
- 3924(*/)S
- 3960 V
- (12909)210 648 A
- 4050 V
- (12910)210 648 A
- (tp->tty_intail)588 1110 A
- 1740(=)S
- (tp->tty_inhead)588 1824 A
- 2454(=)S
- (tp->tty_inbuf;)588 2538 A
- 4140 V
- (12911)210 648 A
- (tp->tty_min)462 1110 A
- 1614(=)S
- 1698(1;)S
- 4230 V
- (12912)210 648 A
- (tp->tty_termios)630 1110 A
- 1782(=)S
- (termios_defaults;)714 1866 A
- 4320 V
- (12913)210 648 A
- (tp->tty_icancel)630 1110 A
- 1782(=)S
- (tp->tty_ocancel)630 1866 A
- 2538(=)S
- (tp->tty_ioctl)546 2622 A
- 3210(=)S
- (tp->tty_close)546 3294 A
- 3882(=)S
- 4410 V
- (12914)210 648 A
- (tty_devnop;)462 3714 A
- 4500 V
- (12915)210 648 A
- 1110(if)S
- ((tp)126 1236 A
- 1404(<)S
- (tty_addr(NR_CONS)))756 1488 A
- 2286({)S
- 4590 V
- (12916)210 648 A
- (scr_init(tp);)546 1362 A
- 4680 V
- (12917)210 648 A
- 1110(})S
- (else)168 1194 A
- 4770 V
- (12918)210 648 A
- 1110(if)S
- ((tp)126 1236 A
- 1404(<)S
- (tty_addr(NR_CONS+NR_RS_LINES)))1260 1488 A
- 2790({)S
- 4860 V
- (12919)210 648 A
- (rs_init(tp);)504 1362 A
- 4950 V
- (12920)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 5040 V
- (12921)210 648 A
- (pty_init(tp);)546 1362 A
- 5130 V
- (12922)210 648 A
- 1110(})S
- 5220 V
- (12923)210 648 A
- 1026(})S
- 5490 V
- (12926)210 648 A
- (/*==========================================================================*)3234 1026 A
- 5580 V
- (12927)210 648 A
- 1068(*)S
- (tty_wakeup)420 2370 A
- 4218(*)S
- 5670 V
- (12928)210 648 A
- (*==========================================================================*/)3234 1068 A
- 5760 V
- (12929)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (tty_wakeup(now))630 1530 A
- 5850 V
- (12930)210 648 A
- (clock_t)294 1026 A
- (now;)168 1362 A
- 2706(/*)S
- (current)294 2832 A
- (time)168 3168 A
- 3378(*/)S
- 5940 V
- (12931)210 648 A
- 1026({)S
- 6030 V
- (12932)210 648 A
- 1026(/*)S
- (Wake)168 1152 A
- 1362(up)S
- (TTY)126 1488 A
- (when)168 1656 A
- (something)378 1866 A
- (interesting)462 2286 A
- 2790(is)S
- (happening)378 2916 A
- 3336(on)S
- (one)126 3462 A
- 3630(of)S
- (the)126 3756 A
- (terminal)336 3924 A
- 6120 V
- (12933)210 648 A
- 1068(*)S
- (lines,)252 1152 A
- (like)168 1446 A
- 1656(a)S
- (character)378 1740 A
- (arriving)336 2160 A
- 2538(on)S
- 2664(an)S
- (RS232)210 2790 A
- (line,)210 3042 A
- 3294(a)S
- (key)126 3378 A
- (being)210 3546 A
- (typed,)252 3798 A
- 4092(or)S
- 6210 V
- (12934)210 648 A
- 1068(*)S
- 1152(a)S
- (timer)210 1236 A
- 1488(on)S
- 1614(a)S
- (line)168 1698 A
- (expiring)336 1908 A
- 2286(by)S
- (TIME.)210 2412 A
- 8418 V
- EP
- %%Page: 176 176
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (176)180 648 A
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (12935)210 648 A
- 1068(*/)S
- 990 V
- (12936)210 648 A
- (tty_t)210 1110 A
- (*tp;)168 1362 A
- 1080 V
- (12937)210 648 A
- 1170 V
- (12938)210 648 A
- 1110(/*)S
- (Scan)168 1236 A
- (the)126 1446 A
- (timerlist)378 1614 A
- (for)126 2034 A
- (expired)294 2202 A
- (timers)252 2538 A
- (and)126 2832 A
- (compute)294 3000 A
- (the)126 3336 A
- (next)168 3504 A
- (timeout)294 3714 A
- (time.)210 4050 A
- 4302(*/)S
- 1260 V
- (12939)210 648 A
- (tty_timeout)462 1110 A
- 1614(=)S
- (TIME_NEVER;)462 1698 A
- 1350 V
- (12940)210 648 A
- (while)210 1110 A
- (((tp)168 1362 A
- 1572(=)S
- (tty_timelist))546 1656 A
- 2244(!=)S
- (NULL))210 2370 A
- 2622({)S
- 1440 V
- (12941)210 648 A
- 1362(if)S
- ((tp->tty_time)546 1488 A
- 2076(>)S
- (now))168 2160 A
- 2370({)S
- 1530 V
- (12942)210 648 A
- (tty_timeout)462 1698 A
- 2202(=)S
- (tp->tty_time;)546 2286 A
- 3042(/*)S
- (this)168 3168 A
- (timer)210 3378 A
- 3630(is)S
- (next)168 3756 A
- 3966(*/)S
- 1620 V
- (12943)210 648 A
- (break;)252 1698 A
- 1710 V
- (12944)210 648 A
- 1362(})S
- 1800 V
- (12945)210 648 A
- (tp->tty_min)462 1362 A
- 1866(=)S
- 1950(0;)S
- 3042(/*)S
- (force)210 3168 A
- (read)168 3420 A
- 3630(to)S
- (succeed)294 3756 A
- 4092(*/)S
- 1890 V
- (12946)210 648 A
- (tp->tty_events)588 1362 A
- 1992(=)S
- 2076(1;)S
- 1980 V
- (12947)210 648 A
- (tty_timelist)504 1362 A
- 1908(=)S
- (tp->tty_timenext;)714 1992 A
- 2070 V
- (12948)210 648 A
- 1110(})S
- 2160 V
- (12949)210 648 A
- 2250 V
- (12950)210 648 A
- 1110(/*)S
- (Let)126 1236 A
- (TTY)126 1404 A
- (know)168 1572 A
- (there)210 1782 A
- 2034(is)S
- (something)378 2160 A
- (afoot.)252 2580 A
- 2874(*/)S
- 2340 V
- (12951)210 648 A
- (interrupt(TTY);)630 1110 A
- 2430 V
- (12952)210 648 A
- 1026(})S
- 2700 V
- (12955)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2790 V
- (12956)210 648 A
- 1068(*)S
- (settimer)336 2370 A
- 4260(*)S
- 2880 V
- (12957)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2970 V
- (12958)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (settimer(tp,)504 1572 A
- (on))126 2118 A
- 3060 V
- (12959)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 2370(/*)S
- (line)168 2496 A
- 2706(to)S
- (set)126 2832 A
- 3000(or)S
- (unset)210 3126 A
- 3378(a)S
- (timer)210 3462 A
- 3714(on)S
- 3840(*/)S
- 3150 V
- (12960)210 648 A
- (int)126 1026 A
- (on;)126 1194 A
- 2370(/*)S
- (set)126 2496 A
- (timer)210 2664 A
- 2916(if)S
- (true,)210 3042 A
- (otherwise)378 3294 A
- (unset)210 3714 A
- 3966(*/)S
- 3240 V
- (12961)210 648 A
- 1026({)S
- 3330 V
- (12962)210 648 A
- 1026(/*)S
- (Set)126 1152 A
- 1320(or)S
- (unset)210 1446 A
- 1698(a)S
- (TIME)168 1782 A
- (inspired)336 1992 A
- (timer.)252 2370 A
- (This)168 2706 A
- (function)336 2916 A
- 3294(is)S
- (interrupt)378 3420 A
- (sensitive)378 3840 A
- 3420 V
- (12963)210 648 A
- 1068(*)S
- (due)126 1152 A
- 1320(to)S
- (tty_wakeup(),)546 1446 A
- 2034(so)S
- 2160(it)S
- (must)168 2286 A
- 2496(be)S
- (called)252 2622 A
- (from)168 2916 A
- (within)252 3126 A
- (lock()/unlock().)672 3420 A
- 3510 V
- (12964)210 648 A
- 1068(*/)S
- 3600 V
- (12965)210 648 A
- (tty_t)210 1110 A
- (**ptp;)252 1362 A
- 3690 V
- (12966)210 648 A
- 3780 V
- (12967)210 648 A
- 1110(/*)S
- (Take)168 1236 A
- 1446(tp)S
- (out)126 1572 A
- 1740(of)S
- (the)126 1866 A
- (timerlist)378 2034 A
- 2454(if)S
- (present.)336 2580 A
- 2958(*/)S
- 3870 V
- (12968)210 648 A
- (for)126 1110 A
- ((ptp)168 1278 A
- 1488(=)S
- (&tty_timelist;)588 1572 A
- (*ptp)168 2202 A
- 2412(!=)S
- (NULL;)210 2538 A
- (ptp)126 2790 A
- 2958(=)S
- (&(*ptp)->tty_timenext))924 3042 A
- 4008({)S
- 3960 V
- (12969)210 648 A
- 1362(if)S
- ((tp)126 1488 A
- 1656(==)S
- (*ptp))210 1782 A
- 2034({)S
- 4050 V
- (12970)210 648 A
- (*ptp)168 1698 A
- 1908(=)S
- (tp->tty_timenext;)714 1992 A
- 3042(/*)S
- (take)168 3168 A
- 3378(tp)S
- (out)126 3504 A
- 3672(of)S
- (the)126 3798 A
- (list)168 3966 A
- 4176(*/)S
- 4140 V
- (12971)210 648 A
- (break;)252 1698 A
- 4230 V
- (12972)210 648 A
- 1362(})S
- 4320 V
- (12973)210 648 A
- 1110(})S
- 4410 V
- (12974)210 648 A
- 1110(if)S
- ((!on))210 1236 A
- (return;)294 1488 A
- 3042(/*)S
- (unsetting)378 3168 A
- 3588(it)S
- 3714(is)S
- (enough)252 3840 A
- 4134(*/)S
- 4500 V
- (12975)210 648 A
- 4590 V
- (12976)210 648 A
- 1110(/*)S
- (Timeout)294 1236 A
- (occurs)252 1572 A
- (TIME)168 1866 A
- (deciseconds)462 2076 A
- (from)168 2580 A
- (now.)168 2790 A
- 3000(*/)S
- 4680 V
- (12977)210 648 A
- (tp->tty_time)504 1110 A
- 1656(=)S
- (get_uptime())504 1740 A
- 2286(+)S
- (tp->tty_termios.c_cc[VTIME])1134 2370 A
- 3546(*)S
- ((HZ/10);)336 3630 A
- 4770 V
- (12978)210 648 A
- 4860 V
- (12979)210 648 A
- 1110(/*)S
- (Find)168 1236 A
- 1446(a)S
- (new)126 1530 A
- (place)210 1698 A
- 1950(in)S
- (the)126 2076 A
- (list.)210 2244 A
- 2496(*/)S
- 4950 V
- (12980)210 648 A
- (for)126 1110 A
- ((ptp)168 1278 A
- 1488(=)S
- (&tty_timelist;)588 1572 A
- (*ptp)168 2202 A
- 2412(!=)S
- (NULL;)210 2538 A
- (ptp)126 2790 A
- 2958(=)S
- (&(*ptp)->tty_timenext))924 3042 A
- 4008({)S
- 5040 V
- (12981)210 648 A
- 1362(if)S
- ((tp->tty_time)546 1488 A
- 2076(<=)S
- ((*ptp)->tty_time))714 2202 A
- (break;)252 2958 A
- 5130 V
- (12982)210 648 A
- 1110(})S
- 5220 V
- (12983)210 648 A
- (tp->tty_timenext)672 1110 A
- 1824(=)S
- (*ptp;)210 1908 A
- 5310 V
- (12984)210 648 A
- (*ptp)168 1110 A
- 1320(=)S
- (tp;)126 1404 A
- 5400 V
- (12985)210 648 A
- 1110(if)S
- ((tp->tty_time)546 1236 A
- 1824(<)S
- (tty_timeout))504 1908 A
- (tty_timeout)462 2454 A
- 2958(=)S
- (tp->tty_time;)546 3042 A
- 5490 V
- (12986)210 648 A
- 1026(})S
- 5760 V
- (12989)210 648 A
- (/*==========================================================================*)3234 1026 A
- 5850 V
- (12990)210 648 A
- 1068(*)S
- (tty_devnop)420 2370 A
- 4218(*)S
- 5940 V
- (12991)210 648 A
- (*==========================================================================*/)3234 1068 A
- 6030 V
- (12992)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (tty_devnop(tp))588 1530 A
- 6120 V
- (12993)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 6210 V
- (12994)210 648 A
- 1026({)S
- 8418 V
- EP
- %%Page: 177 177
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2089(File:)S
- (src/kernel/tty.c)665 2322 A
- 12 B
- (177)180 4248 A
- 900 V
- 7 LST
- (12995)210 648 A
- 1110(/*)S
- (Some)168 1236 A
- (functions)378 1446 A
- (need)168 1866 A
- (not)126 2076 A
- 2244(be)S
- (implemented)462 2370 A
- 2874(at)S
- (the)126 3000 A
- (device)252 3168 A
- (level.)252 3462 A
- 3756(*/)S
- 990 V
- (12996)210 648 A
- 1026(})S
- 1440 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1530 V
- (src/kernel/keyboard.c)882 2034 A
- 1620 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1800 V
- (13000)210 648 A
- 1026(/*)S
- (Keyboard)336 1152 A
- (driver)252 1530 A
- (for)126 1824 A
- (PC's)168 1992 A
- (and)126 2202 A
- (AT's.)210 2370 A
- 1890 V
- (13001)210 648 A
- 1068(*)S
- 1980 V
- (13002)210 648 A
- 1068(*)S
- (Changed)294 1152 A
- 1488(by)S
- (Marcus)252 1614 A
- (Hampel)252 1908 A
- ((04/02/1994))504 2370 A
- 2070 V
- (13003)210 648 A
- 1068(*)S
- 1194(-)S
- (Loadable)336 1278 A
- (keymaps)294 1656 A
- 2160 V
- (13004)210 648 A
- 1068(*/)S
- 2250 V
- (13005)210 648 A
- 2340 V
- (13006)210 648 A
- (#include)336 1026 A
- ("kernel.h")420 1404 A
- 2430 V
- (13007)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 2520 V
- (13008)210 648 A
- (#include)336 1026 A
- (<signal.h>)420 1404 A
- 2610 V
- (13009)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2700 V
- (13010)210 648 A
- (#include)336 1026 A
- (<minix/callnr.h>)672 1404 A
- 2790 V
- (13011)210 648 A
- (#include)336 1026 A
- (<minix/com.h>)546 1404 A
- 2880 V
- (13012)210 648 A
- (#include)336 1026 A
- (<minix/keymap.h>)672 1404 A
- 2970 V
- (13013)210 648 A
- (#include)336 1026 A
- ("tty.h")294 1404 A
- 3060 V
- (13014)210 648 A
- (#include)336 1026 A
- ("keymaps/us-std.src")840 1404 A
- 3150 V
- (13015)210 648 A
- 3240 V
- (13016)210 648 A
- 1026(/*)S
- (Standard)336 1152 A
- (and)126 1530 A
- 1698(AT)S
- (keyboard.)378 1824 A
- ((PS/2)210 2286 A
- (MCA)126 2538 A
- (implies)294 2706 A
- 3042(AT)S
- (throughout.))504 3168 A
- 3714(*/)S
- 3330 V
- (13017)210 648 A
- (#define)294 1026 A
- (KEYBD)210 1362 A
- (0x60)168 2034 A
- 2370(/*)S
- (I/O)126 2496 A
- (port)168 2664 A
- (for)126 2874 A
- (keyboard)336 3042 A
- (data)168 3420 A
- 3630(*/)S
- 3420 V
- (13018)210 648 A
- 3510 V
- (13019)210 648 A
- 1026(/*)S
- 1152(AT)S
- (keyboard.)378 1278 A
- 1698(*/)S
- 3600 V
- (13020)210 648 A
- (#define)294 1026 A
- (KB_COMMAND)420 1362 A
- (0x64)168 2034 A
- 2370(/*)S
- (I/O)126 2496 A
- (port)168 2664 A
- (for)126 2874 A
- (commands)336 3042 A
- 3420(on)S
- 3546(AT)S
- 3672(*/)S
- 3690 V
- (13021)210 648 A
- (#define)294 1026 A
- (KB_GATE_A20)462 1362 A
- (0x02)168 2034 A
- 2370(/*)S
- (bit)126 2496 A
- 2664(in)S
- (output)252 2790 A
- (port)168 3084 A
- 3294(to)S
- (enable)252 3420 A
- (A20)126 3714 A
- (line)168 3882 A
- 4092(*/)S
- 3780 V
- (13022)210 648 A
- (#define)294 1026 A
- (KB_PULSE_OUTPUT)630 1362 A
- (0xF0)168 2034 A
- 2370(/*)S
- (base)168 2496 A
- (for)126 2706 A
- (commands)336 2874 A
- 3252(to)S
- (pulse)210 3378 A
- (output)252 3630 A
- (port)168 3924 A
- 4134(*/)S
- 3870 V
- (13023)210 648 A
- (#define)294 1026 A
- (KB_RESET)336 1362 A
- (0x01)168 2034 A
- 2370(/*)S
- (bit)126 2496 A
- 2664(in)S
- (output)252 2790 A
- (port)168 3084 A
- 3294(to)S
- (reset)210 3420 A
- (CPU)126 3672 A
- 3840(*/)S
- 3960 V
- (13024)210 648 A
- (#define)294 1026 A
- (KB_STATUS)378 1362 A
- (0x64)168 2034 A
- 2370(/*)S
- (I/O)126 2496 A
- (port)168 2664 A
- (for)126 2874 A
- (status)252 3042 A
- 3336(on)S
- 3462(AT)S
- 3588(*/)S
- 4050 V
- (13025)210 648 A
- (#define)294 1026 A
- (KB_ACK)252 1362 A
- (0xFA)168 2034 A
- 2370(/*)S
- (keyboard)336 2496 A
- (ack)126 2874 A
- (response)336 3042 A
- 3420(*/)S
- 4140 V
- (13026)210 648 A
- (#define)294 1026 A
- (KB_BUSY)294 1362 A
- (0x02)168 2034 A
- 2370(/*)S
- (status)252 2496 A
- (bit)126 2790 A
- (set)126 2958 A
- (when)168 3126 A
- (KEYBD)210 3336 A
- (port)168 3588 A
- (ready)210 3798 A
- 4050(*/)S
- 4230 V
- (13027)210 648 A
- (#define)294 1026 A
- (LED_CODE)336 1362 A
- (0xED)168 2034 A
- 2370(/*)S
- (command)294 2496 A
- 2832(to)S
- (keyboard)336 2958 A
- 3336(to)S
- (set)126 3462 A
- (LEDs)168 3630 A
- 3840(*/)S
- 4320 V
- (13028)210 648 A
- (#define)294 1026 A
- (MAX_KB_ACK_RETRIES)756 1362 A
- (0x1000)252 2160 A
- 2706(/*)S
- (max)126 2832 A
- (#times)252 3000 A
- 3294(to)S
- (wait)168 3420 A
- (for)126 3630 A
- 3798(kb)S
- (ack)126 3924 A
- 4092(*/)S
- 4410 V
- (13029)210 648 A
- (#define)294 1026 A
- (MAX_KB_BUSY_RETRIES)798 1362 A
- (0x1000)252 2202 A
- 2706(/*)S
- (max)126 2832 A
- (#times)252 3000 A
- 3294(to)S
- (loop)168 3420 A
- (while)210 3630 A
- 3882(kb)S
- (busy)168 4008 A
- 4218(*/)S
- 4500 V
- (13030)210 648 A
- (#define)294 1026 A
- (KBIT)168 1362 A
- (0x80)168 2034 A
- 2370(/*)S
- (bit)126 2496 A
- (used)168 2664 A
- 2874(to)S
- (ack)126 3000 A
- (characters)420 3168 A
- 3630(to)S
- (keyboard)336 3756 A
- 4134(*/)S
- 4590 V
- (13031)210 648 A
- 4680 V
- (13032)210 648 A
- 1026(/*)S
- (Miscellaneous.)588 1152 A
- 1782(*/)S
- 4770 V
- (13033)210 648 A
- (#define)294 1026 A
- (ESC_SCAN)336 1362 A
- 2160(1)S
- 2370(/*)S
- (Reboot)252 2496 A
- (key)126 2790 A
- (when)168 2958 A
- (panicking)378 3168 A
- 3588(*/)S
- 4860 V
- (13034)210 648 A
- (#define)294 1026 A
- (SLASH_SCAN)420 1362 A
- 2118(53)S
- 2370(/*)S
- 2496(to)S
- (recognize)378 2622 A
- (numeric)294 3042 A
- (slash)210 3378 A
- 3630(*/)S
- 4950 V
- (13035)210 648 A
- (#define)294 1026 A
- (HOME_SCAN)378 1362 A
- 2118(71)S
- 2370(/*)S
- (first)210 2496 A
- (key)126 2748 A
- 2916(on)S
- (the)126 3042 A
- (numeric)294 3210 A
- (keypad)252 3546 A
- 3840(*/)S
- 5040 V
- (13036)210 648 A
- (#define)294 1026 A
- (DEL_SCAN)336 1362 A
- 2118(83)S
- 2370(/*)S
- (DEL)126 2496 A
- (for)126 2664 A
- (use)126 2832 A
- 3000(in)S
- (CTRL-ALT-DEL)504 3126 A
- (reboot)252 3672 A
- 3966(*/)S
- 5130 V
- (13037)210 648 A
- (#define)294 1026 A
- (CONSOLE)294 1362 A
- 2160(0)S
- 2370(/*)S
- (line)168 2496 A
- (number)252 2706 A
- (for)126 3000 A
- (console)294 3168 A
- 3504(*/)S
- 5220 V
- (13038)210 648 A
- (#define)294 1026 A
- (MEMCHECK_ADR)504 1362 A
- (0x472)210 1992 A
- 2370(/*)S
- (address)294 2496 A
- 2832(to)S
- (stop)168 2958 A
- (memory)252 3168 A
- (check)210 3462 A
- (after)210 3714 A
- (reboot)252 3966 A
- 4260(*/)S
- 5310 V
- (13039)210 648 A
- (#define)294 1026 A
- (MEMCHECK_MAG)504 1362 A
- (0x1234)252 1950 A
- 2370(/*)S
- (magic)210 2496 A
- (number)252 2748 A
- 3042(to)S
- (stop)168 3168 A
- (memory)252 3378 A
- (check)210 3672 A
- 3924(*/)S
- 5400 V
- (13040)210 648 A
- 5490 V
- (13041)210 648 A
- (#define)294 1026 A
- (kb_addr())378 1362 A
- ((&kb_lines[0]))588 2034 A
- 2706(/*)S
- (there)210 2832 A
- 3084(is)S
- (only)168 3210 A
- (one)126 3420 A
- (keyboard)336 3588 A
- 3966(*/)S
- 5580 V
- (13042)210 648 A
- (#define)294 1026 A
- (KB_IN_BYTES)462 1362 A
- 2118(32)S
- 2370(/*)S
- (size)168 2496 A
- 2706(of)S
- (keyboard)336 2832 A
- (input)210 3210 A
- (buffer)252 3462 A
- 3756(*/)S
- 5670 V
- (13043)210 648 A
- 5760 V
- (13044)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (alt1;)210 1530 A
- 2370(/*)S
- (left)168 2496 A
- (alt)126 2706 A
- (key)126 2874 A
- (state)210 3042 A
- 3294(*/)S
- 5850 V
- (13045)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (alt2;)210 1530 A
- 2370(/*)S
- (right)210 2496 A
- (alt)126 2748 A
- (key)126 2916 A
- (state)210 3084 A
- 3336(*/)S
- 5940 V
- (13046)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (capslock;)378 1530 A
- 2370(/*)S
- (caps)168 2496 A
- (lock)168 2706 A
- (key)126 2916 A
- (state)210 3084 A
- 3336(*/)S
- 6030 V
- (13047)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (esc;)168 1530 A
- 2370(/*)S
- (escape)252 2496 A
- (scan)168 2790 A
- (code)168 3000 A
- (detected?)378 3210 A
- 3630(*/)S
- 6120 V
- (13048)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (control;)336 1530 A
- 2370(/*)S
- (control)294 2496 A
- (key)126 2832 A
- (state)210 3000 A
- 3252(*/)S
- 6210 V
- (13049)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (caps_off;)378 1530 A
- 2370(/*)S
- 2496(1)S
- 2580(=)S
- (normal)252 2664 A
- (position,)378 2958 A
- 3378(0)S
- 3462(=)S
- (depressed)378 3546 A
- 3966(*/)S
- 8418 V
- EP
- %%Page: 178 178
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (178)180 648 A
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13050)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (numlock;)336 1530 A
- 2370(/*)S
- (number)252 2496 A
- (lock)168 2790 A
- (key)126 3000 A
- (state)210 3168 A
- 3420(*/)S
- 990 V
- (13051)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (num_off;)336 1530 A
- 2370(/*)S
- 2496(1)S
- 2580(=)S
- (normal)252 2664 A
- (position,)378 2958 A
- 3378(0)S
- 3462(=)S
- (depressed)378 3546 A
- 3966(*/)S
- 1080 V
- (13052)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (slock;)252 1530 A
- 2370(/*)S
- (scroll)252 2496 A
- (lock)168 2790 A
- (key)126 3000 A
- (state)210 3168 A
- 3420(*/)S
- 1170 V
- (13053)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (slock_off;)420 1530 A
- 2370(/*)S
- 2496(1)S
- 2580(=)S
- (normal)252 2664 A
- (position,)378 2958 A
- 3378(0)S
- 3462(=)S
- (depressed)378 3546 A
- 3966(*/)S
- 1260 V
- (13054)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (shift;)252 1530 A
- 2370(/*)S
- (shift)210 2496 A
- (key)126 2748 A
- (state)210 2916 A
- 3168(*/)S
- 1350 V
- (13055)210 648 A
- 1440 V
- (13056)210 648 A
- (PRIVATE)294 1026 A
- (char)168 1362 A
- (numpad_map[])504 1572 A
- 2118(=)S
- 1530 V
- (13057)210 648 A
- ({'H',)210 1698 A
- ('Y',)168 1950 A
- ('A',)168 2160 A
- ('B',)168 2370 A
- ('D',)168 2580 A
- ('C',)168 2790 A
- ('V',)168 3000 A
- ('U',)168 3210 A
- ('G',)168 3420 A
- ('S',)168 3630 A
- ('T',)168 3840 A
- ('@'};)210 4050 A
- 1620 V
- (13058)210 648 A
- 1710 V
- (13059)210 648 A
- 1026(/*)S
- (Keyboard)336 1152 A
- (structure,)420 1530 A
- 1992(1)S
- (per)126 2076 A
- (console.)336 2244 A
- 2622(*/)S
- 1800 V
- (13060)210 648 A
- (struct)252 1026 A
- (kb_s)168 1320 A
- 1530({)S
- 1890 V
- (13061)210 648 A
- (char)168 1110 A
- (*ihead;)294 1320 A
- 2370(/*)S
- (next)168 2496 A
- (free)168 2706 A
- (spot)168 2916 A
- 3126(in)S
- (input)210 3252 A
- (buffer)252 3504 A
- 3798(*/)S
- 1980 V
- (13062)210 648 A
- (char)168 1110 A
- (*itail;)294 1320 A
- 2370(/*)S
- (scan)168 2496 A
- (code)168 2706 A
- 2916(to)S
- (return)252 3042 A
- 3336(to)S
- (TTY)126 3462 A
- 3630(*/)S
- 2070 V
- (13063)210 648 A
- (int)126 1110 A
- (icount;)294 1278 A
- 2370(/*)S
- 2496(#)S
- (codes)210 2580 A
- 2832(in)S
- (buffer)252 2958 A
- 3252(*/)S
- 2160 V
- (13064)210 648 A
- (char)168 1110 A
- (ibuf[KB_IN_BYTES];)756 1320 A
- 2370(/*)S
- (input)210 2496 A
- (buffer)252 2748 A
- 3042(*/)S
- 2250 V
- (13065)210 648 A
- 1026(};)S
- 2340 V
- (13066)210 648 A
- 2430 V
- (13067)210 648 A
- (PRIVATE)294 1026 A
- (struct)252 1362 A
- (kb_s)168 1656 A
- (kb_lines[NR_CONS];)756 1866 A
- 2520 V
- (13068)210 648 A
- 2610 V
- (13069)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (kb_ack,)294 2034 A
- ((void))252 2370 A
- 2664();)S
- 2700 V
- (13070)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (kb_wait,)336 2034 A
- ((void))252 2412 A
- 2706();)S
- 2790 V
- (13071)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (func_key,)378 2034 A
- ((int)168 2454 A
- (scode))252 2664 A
- 2958();)S
- 2880 V
- (13072)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (scan_keyboard,)588 2034 A
- ((void))252 2664 A
- 2958();)S
- 2970 V
- (13073)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (unsigned)336 1866 A
- (make_break,)462 2244 A
- ((int)168 2748 A
- (scode))252 2958 A
- 3252();)S
- 3060 V
- (13074)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (set_leds,)378 2076 A
- ((void))252 2496 A
- 2790();)S
- 3150 V
- (13075)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (kbd_hw_int,)462 2034 A
- ((int)168 2538 A
- (irq))168 2748 A
- 2958();)S
- 3240 V
- (13076)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (kb_read,)336 2076 A
- ((struct)294 2454 A
- (tty)126 2790 A
- (*tp))168 2958 A
- 3168();)S
- 3330 V
- (13077)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (unsigned)336 1866 A
- (map_key,)336 2244 A
- ((int)168 2622 A
- (scode))252 2832 A
- 3126();)S
- 3420 V
- (13078)210 648 A
- 3510 V
- (13079)210 648 A
- 3600 V
- (13080)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3690 V
- (13081)210 648 A
- 1068(*)S
- (map_key0)336 2370 A
- 4260(*)S
- 3780 V
- (13082)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3870 V
- (13083)210 648 A
- 1026(/*)S
- (Map)126 1152 A
- 1320(a)S
- (scan)168 1404 A
- (code)168 1614 A
- 1824(to)S
- 1950(an)S
- (ASCII)210 2076 A
- (code)168 2328 A
- (ignoring)336 2538 A
- (modifiers.)420 2916 A
- 3378(*/)S
- 3960 V
- (13084)210 648 A
- (#define)294 1026 A
- (map_key0(scode))630 1362 A
- 2076(\)S
- 4050 V
- (13085)210 648 A
- (((unsigned))462 1362 A
- (keymap[(scode))588 1866 A
- 2496(*)S
- (MAP_COLS]))420 2580 A
- 4140 V
- (13086)210 648 A
- 4230 V
- (13087)210 648 A
- 4320 V
- (13088)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4410 V
- (13089)210 648 A
- 1068(*)S
- (map_key)294 2370 A
- 4260(*)S
- 4500 V
- (13090)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4590 V
- (13091)210 648 A
- (PRIVATE)294 1026 A
- (unsigned)336 1362 A
- (map_key(scode))588 1740 A
- 4680 V
- (13092)210 648 A
- (int)126 1026 A
- (scode;)252 1194 A
- 4770 V
- (13093)210 648 A
- 1026({)S
- 4860 V
- (13094)210 648 A
- 1026(/*)S
- (Map)126 1152 A
- 1320(a)S
- (scan)168 1404 A
- (code)168 1614 A
- 1824(to)S
- 1950(an)S
- (ASCII)210 2076 A
- (code.)210 2328 A
- 2580(*/)S
- 4950 V
- (13095)210 648 A
- 5040 V
- (13096)210 648 A
- (int)126 1110 A
- (caps,)210 1278 A
- (column;)294 1530 A
- 5130 V
- (13097)210 648 A
- (u16_t)210 1110 A
- (*keyrow;)336 1362 A
- 5220 V
- (13098)210 648 A
- 5310 V
- (13099)210 648 A
- 1110(if)S
- ((scode)252 1236 A
- 1530(==)S
- (SLASH_SCAN)420 1656 A
- 2118(&&)S
- (esc))168 2244 A
- (return)252 2454 A
- ('/';)168 2748 A
- 3042(/*)S
- (don't)210 3168 A
- (map)126 3420 A
- (numeric)294 3588 A
- (slash)210 3924 A
- 4176(*/)S
- 5400 V
- (13100)210 648 A
- 5490 V
- (13101)210 648 A
- (keyrow)252 1110 A
- 1404(=)S
- (&keymap[scode)546 1488 A
- 2076(*)S
- (MAP_COLS];)420 2160 A
- 5580 V
- (13102)210 648 A
- 5670 V
- (13103)210 648 A
- (caps)168 1110 A
- 1320(=)S
- (shift;)252 1404 A
- 5760 V
- (13104)210 648 A
- 1110(if)S
- ((numlock)336 1236 A
- 1614(&&)S
- (HOME_SCAN)378 1740 A
- 2160(<=)S
- (scode)210 2286 A
- 2538(&&)S
- (scode)210 2664 A
- 2916(<=)S
- (DEL_SCAN))378 3042 A
- (caps)168 3462 A
- 3672(=)S
- (!caps;)252 3756 A
- 5850 V
- (13105)210 648 A
- 1110(if)S
- ((capslock)378 1236 A
- 1656(&&)S
- ((keyrow[0])420 1782 A
- 2244(&)S
- (HASCAPS)))378 2328 A
- (caps)168 2748 A
- 2958(=)S
- (!caps;)252 3042 A
- 5940 V
- (13106)210 648 A
- 6030 V
- (13107)210 648 A
- 1110(if)S
- ((alt1)210 1236 A
- 1488(||)S
- (alt2))210 1614 A
- 1866({)S
- 6120 V
- (13108)210 648 A
- (column)252 1362 A
- 1656(=)S
- 1740(2;)S
- 6210 V
- (13109)210 648 A
- 1362(if)S
- ((control)336 1488 A
- 1866(||)S
- (alt2))210 1992 A
- (column)252 2244 A
- 2538(=)S
- 2622(3;)S
- 3042(/*)S
- (Ctrl)168 3168 A
- 3378(+)S
- (Alt1)168 3462 A
- 3672(==)S
- (Alt2)168 3798 A
- 4008(*/)S
- 8418 V
- EP
- %%Page: 179 179
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 12 B
- (179)180 4248 A
- 900 V
- 7 LST
- (13110)210 648 A
- 1362(if)S
- ((caps))252 1488 A
- (column)252 1782 A
- 2076(=)S
- 2160(4;)S
- 990 V
- (13111)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 1080 V
- (13112)210 648 A
- (column)252 1362 A
- 1656(=)S
- 1740(0;)S
- 1170 V
- (13113)210 648 A
- 1362(if)S
- ((caps))252 1488 A
- (column)252 1782 A
- 2076(=)S
- 2160(1;)S
- 1260 V
- (13114)210 648 A
- 1362(if)S
- ((control))378 1488 A
- (column)252 1908 A
- 2202(=)S
- 2286(5;)S
- 1350 V
- (13115)210 648 A
- 1110(})S
- 1440 V
- (13116)210 648 A
- (return)252 1110 A
- (keyrow[column])588 1404 A
- 2034(&)S
- (304HASCAPS;)378 2118 A
- 1530 V
- (13117)210 648 A
- 1026(})S
- 1800 V
- (13120)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1890 V
- (13121)210 648 A
- 1068(*)S
- (kbd_hw_int)420 2370 A
- 4260(*)S
- 1980 V
- (13122)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2070 V
- (13123)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (kbd_hw_int(irq))630 1530 A
- 2160 V
- (13124)210 648 A
- (int)126 1026 A
- (irq;)168 1194 A
- 2250 V
- (13125)210 648 A
- 1026({)S
- 2340 V
- (13126)210 648 A
- 1026(/*)S
- 1152(A)S
- (keyboard)336 1236 A
- (interrupt)378 1614 A
- (has)126 2034 A
- (occurred.)378 2202 A
- (Process)294 2664 A
- (it.)126 3000 A
- 3168(*/)S
- 2430 V
- (13127)210 648 A
- 2520 V
- (13128)210 648 A
- (int)126 1110 A
- (code;)210 1278 A
- 2610 V
- (13129)210 648 A
- (unsigned)336 1110 A
- (km;)126 1488 A
- 2700 V
- (13130)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (kb_s)168 1782 A
- (*kb;)168 1992 A
- 2790 V
- (13131)210 648 A
- 2880 V
- (13132)210 648 A
- 1110(/*)S
- (Fetch)210 1236 A
- (the)126 1488 A
- (character)378 1656 A
- (from)168 2076 A
- (the)126 2286 A
- (keyboard)336 2454 A
- (hardware)336 2832 A
- (and)126 3210 A
- (acknowledge)462 3378 A
- (it.)126 3882 A
- 4050(*/)S
- 2970 V
- (13133)210 648 A
- (code)168 1110 A
- 1320(=)S
- (scan_keyboard();)672 1404 A
- 3060 V
- (13134)210 648 A
- 3150 V
- (13135)210 648 A
- 1110(/*)S
- (The)126 1236 A
- (IBM)126 1404 A
- (keyboard)336 1572 A
- (interrupts)420 1950 A
- (twice)210 2412 A
- (per)126 2664 A
- (key,)168 2832 A
- (once)168 3042 A
- (when)168 3252 A
- (depressed,)420 3462 A
- (once)168 3924 A
- (when)168 4134 A
- 3240 V
- (13136)210 648 A
- 1152(*)S
- (released.)378 1236 A
- (Filter)252 1698 A
- (out)126 1992 A
- (the)126 2160 A
- (latter,)294 2328 A
- (ignoring)336 2664 A
- (all)126 3042 A
- (but)126 3210 A
- (the)126 3378 A
- (shift-type)420 3546 A
- (keys.)210 4008 A
- 3330 V
- (13137)210 648 A
- 1152(*)S
- (The)126 1236 A
- (shift-type)420 1404 A
- (keys)168 1866 A
- (29,)126 2076 A
- (42,)126 2244 A
- (54,)126 2412 A
- (56,)126 2580 A
- (58,)126 2748 A
- (and)126 2916 A
- 3084(69)S
- (must)168 3210 A
- 3420(be)S
- (processed)378 3546 A
- (normally.)378 3966 A
- 3420 V
- (13138)210 648 A
- 1152(*/)S
- 3510 V
- (13139)210 648 A
- 3600 V
- (13140)210 648 A
- 1110(if)S
- ((code)210 1236 A
- 1488(&)S
- (0200))210 1572 A
- 1824({)S
- 3690 V
- (13141)210 648 A
- 1362(/*)S
- 1488(A)S
- (key)126 1572 A
- (has)126 1740 A
- (been)168 1908 A
- (released)336 2118 A
- ((high)210 2496 A
- (bit)126 2748 A
- 2916(is)S
- (set).)210 3042 A
- 3294(*/)S
- 3780 V
- (13142)210 648 A
- 1362(km)S
- 1488(=)S
- (map_key0(code)546 1572 A
- 2160(&)S
- (0177);)252 2244 A
- 3870 V
- (13143)210 648 A
- 1362(if)S
- ((km)126 1488 A
- 1656(!=)S
- (CTRL)168 1782 A
- 1992(&&)S
- 2118(km)S
- 2244(!=)S
- (SHIFT)210 2370 A
- 2622(&&)S
- 2748(km)S
- 2874(!=)S
- (ALT)126 3000 A
- 3168(&&)S
- 3294(km)S
- 3420(!=)S
- (CALOCK)252 3546 A
- 3960 V
- (13144)210 648 A
- 2034(&&)S
- 2160(km)S
- 2286(!=)S
- (NLOCK)210 2412 A
- 2664(&&)S
- 2790(km)S
- 2916(!=)S
- (SLOCK)210 3042 A
- 3294(&&)S
- 3420(km)S
- 3546(!=)S
- (EXTKEY))294 3672 A
- 4050 V
- (13145)210 648 A
- (return)252 1698 A
- 1992(1;)S
- 4140 V
- (13146)210 648 A
- 1110(})S
- 4230 V
- (13147)210 648 A
- 4320 V
- (13148)210 648 A
- 1110(/*)S
- (Store)210 1236 A
- (the)126 1488 A
- (character)378 1656 A
- 2076(in)S
- (memory)252 2202 A
- 2496(so)S
- (the)126 2622 A
- (task)168 2790 A
- (can)126 3000 A
- (get)126 3168 A
- 3336(at)S
- 3462(it)S
- (later.)252 3588 A
- 3882(*/)S
- 4410 V
- (13149)210 648 A
- 1110(kb)S
- 1236(=)S
- (kb_addr();)420 1320 A
- 4500 V
- (13150)210 648 A
- 1110(if)S
- ((kb->icount)462 1236 A
- 1740(<)S
- (KB_IN_BYTES))504 1824 A
- 2370({)S
- 4590 V
- (13151)210 648 A
- (*kb->ihead++)504 1362 A
- 1908(=)S
- (code;)210 1992 A
- 4680 V
- (13152)210 648 A
- 1362(if)S
- ((kb->ihead)420 1488 A
- 1950(==)S
- (kb->ibuf)336 2076 A
- 2454(+)S
- (KB_IN_BYTES))504 2538 A
- (kb->ihead)378 3084 A
- 3504(=)S
- (kb->ibuf;)378 3588 A
- 4770 V
- (13153)210 648 A
- (kb->icount++;)546 1362 A
- 4860 V
- (13154)210 648 A
- (tty_table[current].tty_events)1218 1362 A
- 2622(=)S
- 2706(1;)S
- 4950 V
- (13155)210 648 A
- (force_timeout();)672 1362 A
- 5040 V
- (13156)210 648 A
- 1110(})S
- 5130 V
- (13157)210 648 A
- 1110(/*)S
- (Else)168 1236 A
- 1446(it)S
- (doesn't)294 1572 A
- (fit)126 1908 A
- 2076(-)S
- (discard)294 2160 A
- (it.)126 2496 A
- 2664(*/)S
- 5220 V
- (13158)210 648 A
- (return)252 1110 A
- 1404(1;)S
- 1698(/*)S
- (Reenable)336 1824 A
- (keyboard)336 2202 A
- (interrupt)378 2580 A
- 3000(*/)S
- 5310 V
- (13159)210 648 A
- 1026(})S
- 5580 V
- (13162)210 648 A
- (/*==========================================================================*)3234 1026 A
- 5670 V
- (13163)210 648 A
- 1068(*)S
- (kb_read)294 2370 A
- 4218(*)S
- 5760 V
- (13164)210 648 A
- (*==========================================================================*/)3234 1068 A
- 5850 V
- (13165)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (kb_read(tp))462 1572 A
- 5940 V
- (13166)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 6030 V
- (13167)210 648 A
- 1026({)S
- 6120 V
- (13168)210 648 A
- 1026(/*)S
- (Process)294 1152 A
- (characters)420 1488 A
- (from)168 1950 A
- (the)126 2160 A
- (circular)336 2328 A
- (keyboard)336 2706 A
- (buffer.)294 3084 A
- 3420(*/)S
- 6210 V
- (13169)210 648 A
- 8418 V
- EP
- %%Page: 180 180
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (180)180 648 A
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13170)210 648 A
- (struct)252 1110 A
- (kb_s)168 1404 A
- (*kb;)168 1614 A
- 990 V
- (13171)210 648 A
- (char)168 1110 A
- (buf[3];)294 1320 A
- 1080 V
- (13172)210 648 A
- (int)126 1110 A
- (scode;)252 1278 A
- 1170 V
- (13173)210 648 A
- (unsigned)336 1110 A
- (ch;)126 1488 A
- 1260 V
- (13174)210 648 A
- 1350 V
- (13175)210 648 A
- 1110(kb)S
- 1236(=)S
- (kb_addr();)420 1320 A
- 1440 V
- (13176)210 648 A
- 1110(tp)S
- 1236(=)S
- (&tty_table[current];)840 1320 A
- 2706(/*)S
- (always)252 2832 A
- (use)126 3126 A
- (the)126 3294 A
- (current)294 3462 A
- (console)294 3798 A
- 4134(*/)S
- 1530 V
- (13177)210 648 A
- 1620 V
- (13178)210 648 A
- (while)210 1110 A
- ((kb->icount)462 1362 A
- 1866(>)S
- 1950(0))S
- 2076({)S
- 1710 V
- (13179)210 648 A
- (scode)210 1362 A
- 1614(=)S
- (*kb->itail++;)546 1698 A
- 3042(/*)S
- (take)168 3168 A
- (one)126 3378 A
- (key)126 3546 A
- (scan)168 3714 A
- (code)168 3924 A
- 4134(*/)S
- 1800 V
- (13180)210 648 A
- 1362(if)S
- ((kb->itail)420 1488 A
- 1950(==)S
- (kb->ibuf)336 2076 A
- 2454(+)S
- (KB_IN_BYTES))504 2538 A
- (kb->itail)378 3084 A
- 3504(=)S
- (kb->ibuf;)378 3588 A
- 1890 V
- (13181)210 648 A
- (lock();)294 1362 A
- 1980 V
- (13182)210 648 A
- (kb->icount--;)546 1362 A
- 2070 V
- (13183)210 648 A
- (unlock();)378 1362 A
- 2160 V
- (13184)210 648 A
- 2250 V
- (13185)210 648 A
- 1362(/*)S
- (Function)336 1488 A
- (keys)168 1866 A
- (are)126 2076 A
- (being)210 2244 A
- (used)168 2496 A
- (for)126 2706 A
- (debug)210 2874 A
- (dumps.)252 3126 A
- 3420(*/)S
- 2340 V
- (13186)210 648 A
- 1362(if)S
- ((func_key(scode)))714 1488 A
- (continue;)378 2244 A
- 2430 V
- (13187)210 648 A
- 2520 V
- (13188)210 648 A
- 1362(/*)S
- (Perform)294 1488 A
- (make/break)420 1824 A
- (processing.)462 2286 A
- 2790(*/)S
- 2610 V
- (13189)210 648 A
- 1362(ch)S
- 1488(=)S
- (make_break(scode);)756 1572 A
- 2700 V
- (13190)210 648 A
- 2790 V
- (13191)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(<=)S
- (0xFF))210 1782 A
- 2034({)S
- 2880 V
- (13192)210 648 A
- 1698(/*)S
- 1824(A)S
- (normal)252 1908 A
- (character.)420 2202 A
- 2664(*/)S
- 2970 V
- (13193)210 648 A
- (buf[0])252 1698 A
- 1992(=)S
- (ch;)126 2076 A
- 3060 V
- (13194)210 648 A
- ((void))252 1698 A
- (in_process(tp,)588 1992 A
- (buf,)168 2622 A
- (1);)126 2832 A
- 3150 V
- (13195)210 648 A
- 1362(})S
- (else)168 1446 A
- 3240 V
- (13196)210 648 A
- 1362(if)S
- ((HOME)210 1488 A
- 1740(<=)S
- 1866(ch)S
- 1992(&&)S
- 2118(ch)S
- 2244(<=)S
- (INSRT))252 2370 A
- 2664({)S
- 3330 V
- (13197)210 648 A
- 1698(/*)S
- 1824(An)S
- (ASCII)210 1950 A
- (escape)252 2202 A
- (sequence)336 2496 A
- (generated)378 2874 A
- 3294(by)S
- (the)126 3420 A
- (numeric)294 3588 A
- (pad.)168 3924 A
- 4134(*/)S
- 3420 V
- (13198)210 648 A
- (buf[0])252 1698 A
- 1992(=)S
- (ESC;)168 2076 A
- 3510 V
- (13199)210 648 A
- (buf[1])252 1698 A
- 1992(=)S
- ('[';)168 2076 A
- 3600 V
- (13200)210 648 A
- (buf[2])252 1698 A
- 1992(=)S
- (numpad_map[ch)546 2076 A
- 2664(-)S
- (HOME];)252 2748 A
- 3690 V
- (13201)210 648 A
- ((void))252 1698 A
- (in_process(tp,)588 1992 A
- (buf,)168 2622 A
- (3);)126 2832 A
- 3780 V
- (13202)210 648 A
- 1362(})S
- (else)168 1446 A
- 3870 V
- (13203)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(==)S
- (ALEFT))252 1782 A
- 2076({)S
- 3960 V
- (13204)210 648 A
- 1698(/*)S
- (Choose)252 1824 A
- (lower)210 2118 A
- (numbered)336 2370 A
- (console)294 2748 A
- 3084(as)S
- (current)294 3210 A
- (console.)336 3546 A
- 3924(*/)S
- 4050 V
- (13205)210 648 A
- (select_console(current)924 1698 A
- 2664(-)S
- (1);)126 2748 A
- 4140 V
- (13206)210 648 A
- 1362(})S
- (else)168 1446 A
- 4230 V
- (13207)210 648 A
- 1362(if)S
- ((ch)126 1488 A
- 1656(==)S
- (ARIGHT))294 1782 A
- 2118({)S
- 4320 V
- (13208)210 648 A
- 1698(/*)S
- (Choose)252 1824 A
- (higher)252 2118 A
- (numbered)336 2412 A
- (console)294 2790 A
- 3126(as)S
- (current)294 3252 A
- (console.)336 3588 A
- 3966(*/)S
- 4410 V
- (13209)210 648 A
- (select_console(current)924 1698 A
- 2664(+)S
- (1);)126 2748 A
- 4500 V
- (13210)210 648 A
- 1362(})S
- (else)168 1446 A
- 4590 V
- (13211)210 648 A
- 1362(if)S
- ((AF1)168 1488 A
- 1698(<=)S
- 1824(ch)S
- 1950(&&)S
- 2076(ch)S
- 2202(<=)S
- (AF12))210 2328 A
- 2580({)S
- 4680 V
- (13212)210 648 A
- 1698(/*)S
- (Alt-F1)252 1824 A
- 2118(is)S
- (console,)336 2244 A
- (Alt-F2)252 2622 A
- 2916(is)S
- (ttyc1,)252 3042 A
- (etc.)168 3336 A
- 3546(*/)S
- 4770 V
- (13213)210 648 A
- (select_console(ch)714 1698 A
- 2454(-)S
- (AF1);)210 2538 A
- 4860 V
- (13214)210 648 A
- 1362(})S
- 4950 V
- (13215)210 648 A
- 1110(})S
- 5040 V
- (13216)210 648 A
- 1026(})S
- 5310 V
- (13219)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5400 V
- (13220)210 648 A
- 1068(*)S
- (make_break)420 2370 A
- 4260(*)S
- 5490 V
- (13221)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5580 V
- (13222)210 648 A
- (PRIVATE)294 1026 A
- (unsigned)336 1362 A
- (make_break(scode))714 1740 A
- 5670 V
- (13223)210 648 A
- (int)126 1026 A
- (scode;)252 1194 A
- 2370(/*)S
- (scan)168 2496 A
- (code)168 2706 A
- 2916(of)S
- (key)126 3042 A
- (just)168 3210 A
- (struck)252 3420 A
- 3714(or)S
- (released)336 3840 A
- 4218(*/)S
- 5760 V
- (13224)210 648 A
- 1026({)S
- 5850 V
- (13225)210 648 A
- 1026(/*)S
- (This)168 1152 A
- (routine)294 1362 A
- (can)126 1698 A
- (handle)252 1866 A
- (keyboards)378 2160 A
- (that)168 2580 A
- (interrupt)378 2790 A
- (only)168 3210 A
- 3420(on)S
- (key)126 3546 A
- (depression,)462 3714 A
- 5940 V
- (13226)210 648 A
- 1068(*)S
- 1152(as)S
- (well)168 1278 A
- 1488(as)S
- (keyboards)378 1614 A
- (that)168 2034 A
- (interrupt)378 2244 A
- 2664(on)S
- (key)126 2790 A
- (depression)420 2958 A
- (and)126 3420 A
- (key)126 3588 A
- (release.)336 3756 A
- 6030 V
- (13227)210 648 A
- 1068(*)S
- (For)126 1152 A
- (efficiency,)462 1320 A
- (the)126 1824 A
- (interrupt)378 1992 A
- (routine)294 2412 A
- (filters)294 2748 A
- (out)126 3084 A
- (most)168 3252 A
- (key)126 3462 A
- (releases.)378 3630 A
- 6120 V
- (13228)210 648 A
- 1068(*/)S
- 6210 V
- (13229)210 648 A
- (int)126 1110 A
- (ch,)126 1278 A
- (make;)210 1446 A
- 8418 V
- EP
- %%Page: 181 181
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 12 B
- (181)180 4248 A
- 900 V
- 7 LST
- (13230)210 648 A
- (static)252 1110 A
- (int)126 1404 A
- (CAD_count)378 1572 A
- 1992(=)S
- 2076(0;)S
- 990 V
- (13231)210 648 A
- 1080 V
- (13232)210 648 A
- 1110(/*)S
- (Check)210 1236 A
- (for)126 1488 A
- (CTRL-ALT-DEL,)546 1656 A
- (and)126 2244 A
- 2412(if)S
- (found,)252 2538 A
- (halt)168 2832 A
- (the)126 3042 A
- (computer.)378 3210 A
- (This)168 3630 A
- (would)210 3840 A
- 1170 V
- (13233)210 648 A
- 1152(*)S
- 1236(be)S
- (better)252 1362 A
- (done)168 1656 A
- 1866(in)S
- (keyboard())420 1992 A
- 2454(in)S
- (case)168 2580 A
- (TTY)126 2790 A
- 2958(is)S
- (hung,)210 3084 A
- (except)252 3336 A
- (control)294 3630 A
- (and)126 3966 A
- 1260 V
- (13234)210 648 A
- 1152(*)S
- (alt)126 1236 A
- (are)126 1404 A
- (set)126 1572 A
- 1740(in)S
- (the)126 1866 A
- (high)168 2034 A
- (level)210 2244 A
- (code.)210 2496 A
- 1350 V
- (13235)210 648 A
- 1152(*/)S
- 1440 V
- (13236)210 648 A
- 1110(if)S
- ((control)336 1236 A
- 1614(&&)S
- ((alt1)210 1740 A
- 1992(||)S
- (alt2))210 2118 A
- 2370(&&)S
- (scode)210 2496 A
- 2748(==)S
- (DEL_SCAN))378 2874 A
- 1530 V
- (13237)210 648 A
- 1110({)S
- 1620 V
- (13238)210 648 A
- 1362(if)S
- ((++CAD_count)504 1488 A
- 2034(==)S
- 2160(3))S
- (wreboot(RBT_HALT);)756 2286 A
- 1710 V
- (13239)210 648 A
- (cause_sig(INIT_PROC_NR,)966 1362 A
- (SIGABRT);)378 2370 A
- 1800 V
- (13240)210 648 A
- (return)252 1362 A
- (-1;)126 1656 A
- 1890 V
- (13241)210 648 A
- 1110(})S
- 1980 V
- (13242)210 648 A
- 2070 V
- (13243)210 648 A
- 1110(/*)S
- (High-order)420 1236 A
- (bit)126 1698 A
- (set)126 1866 A
- 2034(on)S
- (key)126 2160 A
- (release.)336 2328 A
- 2706(*/)S
- 2160 V
- (13244)210 648 A
- (make)168 1110 A
- 1320(=)S
- ((scode)252 1404 A
- 1698(&)S
- (0200)168 1782 A
- 1992(?)S
- 2076(0)S
- 2160(:)S
- (1);)126 2244 A
- 2706(/*)S
- 2832(0)S
- 2916(=)S
- (release,)336 3000 A
- 3378(1)S
- 3462(=)S
- (press)210 3546 A
- 3798(*/)S
- 2250 V
- (13245)210 648 A
- 2340 V
- (13246)210 648 A
- 1110(ch)S
- 1236(=)S
- (map_key(scode)546 1320 A
- 1908(&)S
- (0177);)252 1992 A
- 2706(/*)S
- (map)126 2832 A
- 3000(to)S
- (ASCII)210 3126 A
- 3378(*/)S
- 2430 V
- (13247)210 648 A
- 2520 V
- (13248)210 648 A
- (switch)252 1110 A
- ((ch))168 1404 A
- 1614({)S
- 2610 V
- (13249)210 648 A
- (case)168 1362 A
- (CTRL:)210 1572 A
- 2700 V
- (13250)210 648 A
- (control)294 1698 A
- 2034(=)S
- (make;)210 2118 A
- 2790 V
- (13251)210 648 A
- 1698(ch)S
- 1824(=)S
- (-1;)126 1908 A
- 2880 V
- (13252)210 648 A
- (break;)252 1698 A
- 2970 V
- (13253)210 648 A
- (case)168 1362 A
- (SHIFT:)252 1572 A
- 3060 V
- (13254)210 648 A
- (shift)210 1698 A
- 1950(=)S
- (make;)210 2034 A
- 3150 V
- (13255)210 648 A
- 1698(ch)S
- 1824(=)S
- (-1;)126 1908 A
- 3240 V
- (13256)210 648 A
- (break;)252 1698 A
- 3330 V
- (13257)210 648 A
- (case)168 1362 A
- (ALT:)168 1572 A
- 3420 V
- (13258)210 648 A
- 1698(if)S
- ((make))252 1824 A
- 2118({)S
- 3510 V
- (13259)210 648 A
- 2034(if)S
- ((esc))210 2160 A
- (alt2)168 2412 A
- 2622(=)S
- 2706(1;)S
- (else)168 2832 A
- (alt1)168 3042 A
- 3252(=)S
- 3336(1;)S
- 3600 V
- (13260)210 648 A
- 1698(})S
- (else)168 1782 A
- 1992({)S
- 3690 V
- (13261)210 648 A
- (alt1)168 2034 A
- 2244(=)S
- (alt2)168 2328 A
- 2538(=)S
- 2622(0;)S
- 3780 V
- (13262)210 648 A
- 1698(})S
- 3870 V
- (13263)210 648 A
- 1698(ch)S
- 1824(=)S
- (-1;)126 1908 A
- 3960 V
- (13264)210 648 A
- (break;)252 1698 A
- 4050 V
- (13265)210 648 A
- (case)168 1362 A
- (CALOCK:)294 1572 A
- 4140 V
- (13266)210 648 A
- 1698(if)S
- ((make)210 1824 A
- 2076(&&)S
- (caps_off))378 2202 A
- 2622({)S
- 4230 V
- (13267)210 648 A
- (capslock)336 2034 A
- 2412(=)S
- 2496(1)S
- 2580(-)S
- (capslock;)378 2664 A
- 4320 V
- (13268)210 648 A
- (set_leds();)462 2034 A
- 4410 V
- (13269)210 648 A
- 1698(})S
- 4500 V
- (13270)210 648 A
- (caps_off)336 1698 A
- 2076(=)S
- 2160(1)S
- 2244(-)S
- (make;)210 2328 A
- 4590 V
- (13271)210 648 A
- 1698(ch)S
- 1824(=)S
- (-1;)126 1908 A
- 4680 V
- (13272)210 648 A
- (break;)252 1698 A
- 4770 V
- (13273)210 648 A
- (case)168 1362 A
- (NLOCK:)252 1572 A
- 4860 V
- (13274)210 648 A
- 1698(if)S
- ((make)210 1824 A
- 2076(&&)S
- (num_off))336 2202 A
- 2580({)S
- 4950 V
- (13275)210 648 A
- (numlock)294 2034 A
- 2370(=)S
- 2454(1)S
- 2538(-)S
- (numlock;)336 2622 A
- 5040 V
- (13276)210 648 A
- (set_leds();)462 2034 A
- 5130 V
- (13277)210 648 A
- 1698(})S
- 5220 V
- (13278)210 648 A
- (num_off)294 1698 A
- 2034(=)S
- 2118(1)S
- 2202(-)S
- (make;)210 2286 A
- 5310 V
- (13279)210 648 A
- 1698(ch)S
- 1824(=)S
- (-1;)126 1908 A
- 5400 V
- (13280)210 648 A
- (break;)252 1698 A
- 5490 V
- (13281)210 648 A
- (case)168 1362 A
- (SLOCK:)252 1572 A
- 5580 V
- (13282)210 648 A
- 1698(if)S
- ((make)210 1824 A
- 2076(&)S
- (slock_off))420 2160 A
- 2622({)S
- 5670 V
- (13283)210 648 A
- (slock)210 2034 A
- 2286(=)S
- 2370(1)S
- 2454(-)S
- (slock;)252 2538 A
- 5760 V
- (13284)210 648 A
- (set_leds();)462 2034 A
- 5850 V
- (13285)210 648 A
- 1698(})S
- 5940 V
- (13286)210 648 A
- (slock_off)378 1698 A
- 2118(=)S
- 2202(1)S
- 2286(-)S
- (make;)210 2370 A
- 6030 V
- (13287)210 648 A
- 1698(ch)S
- 1824(=)S
- (-1;)126 1908 A
- 6120 V
- (13288)210 648 A
- (break;)252 1698 A
- 6210 V
- (13289)210 648 A
- (case)168 1362 A
- (EXTKEY:)294 1572 A
- 8418 V
- EP
- %%Page: 182 182
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (182)180 648 A
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13290)210 648 A
- (esc)126 1698 A
- 1866(=)S
- 1950(1;)S
- 990 V
- (13291)210 648 A
- (return(-1);)462 1698 A
- 1080 V
- (13292)210 648 A
- (default:)336 1362 A
- 1170 V
- (13293)210 648 A
- 1698(if)S
- ((!make))294 1824 A
- 2160(ch)S
- 2286(=)S
- (-1;)126 2370 A
- 1260 V
- (13294)210 648 A
- 1110(})S
- 1350 V
- (13295)210 648 A