CONSOLE
Section: Linux Programmer's Manual
(4)
Updated: October 31, 1994
Index
Return to Main Contents
À̸§
console - ÄÜ¼Ö Å͹̳¯°ú °¡»ó ÄܼÖ
¼³¸í
¸®´ª½º ½Ã½ºÅÛÀº 63°³°¡ ³Ñ´Â °¡»ó ÄܼÖÀ» °¡Áö°í ÀÖ´Ù.
(ÁÖ ¹øÈ£4¹ø°ú º¸Á¶ ¹øÈ£ 1ºÎÅÍ 63±îÁö °¡Áø ¹®ÀÚ ÀåÄ¡),
ÀϹÝÀûÀ¸·Î /dev/ttyn¶ó°í ºÎ¸£°í nÀÇ ¹üÀ§´Â1 < n < 63ÀÌ´Ù.
ÇöÁ¦ ÄܼÖÀº /dev/console À̳ª ÁÖ ¹øÈ£ 4¿Í º¸Á¶ ¹øÈ£ 0À» °¡Áø ¹®ÀÚ ÀåÄ¡
/dev/tty0, ·Î ÁöĪÇϱ⵵ ÇÑ´Ù.
ÀåÄ¡ ÆÄÀÏ /dev/* ´Â º¸Åë 0622¸ðµå³ª root.tty ±ÇÇÑÀÇ ·çÆ®·Î
½ºÅ©¸³Æ®MAKEDEVÀ̳ª mknod(1)¸¦ »ç¿ëÇÏ¿© »ý±ä´Ù,
Ä¿³Î ¹öÀü1.1.54ÀÌÀü¿¡´Â ¼ö¸¹Àº °¡»ó ÄܼÖÀÌ Ä¿³Î¾È¿¡ ÄÄÆÄÀÏ µÇ¾î ÀÖ¾ú´Ù.
(itty.h¾È¿¡: #define NR_CONSOLES 8)
±×·¡¼ ÆíÁýÇÏ°í ´Ù½Ã ÄÄÆÄÀÏÇؼ ¹Ù²Ü ¼ö ÀÖ¾ú´Ù.
¹öÀü 1.1.54ºÎÅÍ´Â °¡»ó ÄܼÖÀÌ ÇÊ¿äÇÒ ¶© ¾ðÁ¦³ª »ç¿ë Áß¿¡ ¸¸µé¾îÁø´Ù.
Äֻܼ󿡼 ÀÛ¾÷À» ½ÃÀÛÇÒ ¼ö ÀÖ´Â ÀϹÝÀûÀÎ ¹æÁ¢Àº: (a) init(8)¿¡°Ô
(inittab(5)¾È¿¡¼) stagetty(8)À» Äֻܼ󿡼 ½ÇÇàÇϵµ·Ï Çϰųª; (b) open(1)¿¡°Ô
ÀÛ¾÷À» Äֻܼ󿡼 ½ÃÀÛÇϵµ·Ï Çϰųª; (c)X¸¦ ½ÇÇàÇÑ´Ù - ÀÌ°ÍÀº
ù¹ø° ÀÛ¾÷ÇÏÁö ¾Ê´Â ÄܼÖÀ» ã¾Æ¼ Ç¥½ÃÇØÁØ´Ù.
(¿¾³¯¿¡ ¾²´ø doshell(8)µµ ÀÖ´Ù.)
ÄܼÖÀ» ¹Ù²Ù´Â ÀϹÝÀûÀÎ ¹æ¹ýÀº: (a)ÄܼÖnÀ¸·Î ¹Ù²Ù±â À§ÇØ
Alt+FnÀ̳ª Ctrl+Alt+Fn¸¦ »ç¿ëÇÑ´Ù;
; AltGr+Fn´Â ¾Æ¸¶ ÄܼÖn+12·Î ¿Å±æ °ÍÀÌ´Ù.
[¿©±â¼ Alt¿Í AltGr´Â AltÅ°ÀÇ ÁÂ,¿ì¸¦ ¶æÇÑ´Ù];
(b) ÇöÁ¦ ÇÒ´ÜµÈ ÄֵܼéÀ» µ¹¾Æº¼ ¶§´Â Alt+RightArrow³ª
Alt+LeftArrowÀ» »ç¿ëÇÑ´Ù.; (c) chvt(1)¸¦ »ç¿ëÇÒ ¼öµµ ÀÖ´Ù..
(Å° ¸ÊÇÎÀ» »ç¿ëÇϸé Æí¸®´Ù. loadkeys(1)À» ÂüÁ¶ÇÏÀÚ; À§¿¡¼ ¾ð±ÞÇÑ
Å° Á¶ÇÕÀº µðÆúÆ® »óÅÂÀÎ °æ¿ìÀÌ´Ù.)
deallocvt(1)¸í·É¾î´Â (ÀϹÝÀûÀ¸·Î disalloc)
°úÁ¤°ú »ó°ü¾ø´Â ÄܼÖÀ» À§ÇÑ È¸é ¹öÆÛ¿¡°Ô ¾²ÀÌ´Â ¸Þ¸ð¸®¸¦
»ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇØÁØ´Ù.
PROPERTIES
ÄܼÖÀº ¸¹Àº »óŸ¦ Ç¥½ÃÇÑ´Ù. ³ª´Â ±×°Í¿¡ ´ëÇØ ´ÙÀ½±âȸ¿¡ »ó¼¼È÷ ´Ù·ïº¸°í ½Í´Ù.
°¡Àå Áß¿äÇÑ »ç½ÇÀº ÄܼÖÀÌ vt100 Å͹̳ÎÀ» Èä³»³½ °ÍÀ̶ó´Â Á¡ÀÌ´Ù.
ƯÈ÷, ÄܼÖÀº ESC c¶ó´Â µÎ ±ÛÀÚ¸¦ ¾¸À¸·Î½á Ãʱ⠻óÅ·Πµ¹¾Æ°£´Ù.
¸ðµç escape ½ÃÄö½º´Â
console_codes(4).
¿¡¼ ãÀ» ¼ö ÀÖ´Ù.
ÆÄÀÏ
/dev/console
/dev/tty*
°ü·Ã Ç׸ñ
chvt(1),
deallocvt(1),
loadkeys(1),
mknod(1),
open(1),
console_codes(4),
console_ioctl(4),
tty(4),
ttys(4),
charsets(7),
getty(8),
init(8),
mapscrn(8)
resizecons(8),
setfont(8),
Index
- À̸§
-
- ¼³¸í
-
- PROPERTIES
-
- ÆÄÀÏ
-
- °ü·Ã Ç׸ñ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:01 GMT, March 25, 2004