@@ -17,9 +17,8 @@ msgstr ""
1717"Generated-By : Babel 2.17.0\n "
1818
1919#: ../../library/termios.rst:2
20- #, fuzzy
2120msgid ":mod:`!termios` --- POSIX style tty control"
22- msgstr ":mod:`termios` --- POSIX 스타일 tty 제어"
21+ msgstr ":mod:`! termios` --- POSIX 스타일 tty 제어"
2322
2423#: ../../library/termios.rst:14
2524msgid ""
@@ -79,31 +78,28 @@ msgstr ""
7978"사용해서 이루어져야 합니다."
8079
8180#: ../../library/termios.rst:46
82- #, fuzzy
8381msgid ""
8482"Set the tty attributes for file descriptor *fd* from the *attributes*, "
8583"which is a list like the one returned by :func:`tcgetattr`. The *when* "
8684"argument determines when the attributes are changed:"
8785msgstr ""
8886"파일 기술자 *fd*\\ 에 대한 tty 어트리뷰트를 *attributes*\\ 로 설정합니다. *attributes*\\ 는 "
8987":func:`tcgetattr`\\ 에 의해 반환된 것과 같은 리스트입니다. *when* 인자는 언제 어트리뷰트가 변경되는지를 "
90- "결정합니다: 즉시 변경하려면 :const:`TCSANOW`, 계류 중인 모든 출력을 전송한 후에 변경하려면 "
91- ":const:`TCSADRAIN`, 계류 중인 모든 출력을 전송하고 계류 중인 모든 입력을 버린 후 변경하려면 "
92- ":const:`TCSAFLUSH`."
88+ "결정합니다:"
9389
9490#: ../../library/termios.rst:52
9591msgid "Change attributes immediately."
96- msgstr ""
92+ msgstr "어트리뷰트를 즉시 변경합니다. "
9793
9894#: ../../library/termios.rst:56
9995msgid "Change attributes after transmitting all queued output."
100- msgstr ""
96+ msgstr "계류 중인 모든 출력을 전송한 후에 어트리뷰트를 변경합니다. "
10197
10298#: ../../library/termios.rst:60
10399msgid ""
104100"Change attributes after transmitting all queued output and discarding all"
105101" queued input."
106- msgstr ""
102+ msgstr "계류 중인 모든 출력을 전송하고 계류 중인 모든 입력을 버린 후에 어트리뷰트를 변경합니다. "
107103
108104#: ../../library/termios.rst:66
109105msgid ""
@@ -139,7 +135,7 @@ msgid ""
139135msgstr ""
140136"파일 기술자 *fd*\\ 에서 입력 또는 출력을 일시 중단하거나 다시 시작합니다. *action* 인자는 출력을 일시 중단하는 "
141137":const:`TCOOFF`, 출력을 다시 시작하는 :const:`TCOON`, 입력을 일시 중단하는 :const:`TCIOFF` "
142- "또는 입력을 다시 시작하는 :const:`TCION`\\ 가 될 수 있습니다."
138+ "또는 입력을 다시 시작하는 :const:`TCION`\\ 이 될 수 있습니다."
143139
144140#: ../../library/termios.rst:91
145141msgid ""
@@ -195,16 +191,28 @@ msgid ""
195191" termios.tcsetattr(fd, termios.TCSADRAIN, old)\n"
196192" return passwd"
197193msgstr ""
194+ "def getpass(prompt=\" Password: \" ):\n"
195+ " import termios, sys\n"
196+ " fd = sys.stdin.fileno()\n"
197+ " old = termios.tcgetattr(fd)\n"
198+ " new = termios.tcgetattr(fd)\n"
199+ " new[3] = new[3] & ~termios.ECHO # lflags\n"
200+ " try:\n"
201+ " termios.tcsetattr(fd, termios.TCSADRAIN, new)\n"
202+ " passwd = input(prompt)\n"
203+ " finally:\n"
204+ " termios.tcsetattr(fd, termios.TCSADRAIN, old)\n"
205+ " return passwd"
198206
199207#: ../../library/termios.rst:8
200208msgid "POSIX"
201- msgstr ""
209+ msgstr "POSIX "
202210
203211#: ../../library/termios.rst:8
204212msgid "I/O control"
205- msgstr ""
213+ msgstr "I/O 제어 "
206214
207215#: ../../library/termios.rst:8
208216msgid "tty"
209- msgstr ""
217+ msgstr "tty "
210218
0 commit comments