@@ -17,9 +17,8 @@ msgstr ""
17
17
"Generated-By : Babel 2.17.0\n "
18
18
19
19
#: ../../library/termios.rst:2
20
- #, fuzzy
21
20
msgid ":mod:`!termios` --- POSIX style tty control"
22
- msgstr ":mod:`termios` --- POSIX 스타일 tty 제어"
21
+ msgstr ":mod:`! termios` --- POSIX 스타일 tty 제어"
23
22
24
23
#: ../../library/termios.rst:14
25
24
msgid ""
@@ -79,31 +78,28 @@ msgstr ""
79
78
"사용해서 이루어져야 합니다."
80
79
81
80
#: ../../library/termios.rst:46
82
- #, fuzzy
83
81
msgid ""
84
82
"Set the tty attributes for file descriptor *fd* from the *attributes*, "
85
83
"which is a list like the one returned by :func:`tcgetattr`. The *when* "
86
84
"argument determines when the attributes are changed:"
87
85
msgstr ""
88
86
"파일 기술자 *fd*\\ 에 대한 tty 어트리뷰트를 *attributes*\\ 로 설정합니다. *attributes*\\ 는 "
89
87
":func:`tcgetattr`\\ 에 의해 반환된 것과 같은 리스트입니다. *when* 인자는 언제 어트리뷰트가 변경되는지를 "
90
- "결정합니다: 즉시 변경하려면 :const:`TCSANOW`, 계류 중인 모든 출력을 전송한 후에 변경하려면 "
91
- ":const:`TCSADRAIN`, 계류 중인 모든 출력을 전송하고 계류 중인 모든 입력을 버린 후 변경하려면 "
92
- ":const:`TCSAFLUSH`."
88
+ "결정합니다:"
93
89
94
90
#: ../../library/termios.rst:52
95
91
msgid "Change attributes immediately."
96
- msgstr ""
92
+ msgstr "어트리뷰트를 즉시 변경합니다. "
97
93
98
94
#: ../../library/termios.rst:56
99
95
msgid "Change attributes after transmitting all queued output."
100
- msgstr ""
96
+ msgstr "계류 중인 모든 출력을 전송한 후에 어트리뷰트를 변경합니다. "
101
97
102
98
#: ../../library/termios.rst:60
103
99
msgid ""
104
100
"Change attributes after transmitting all queued output and discarding all"
105
101
" queued input."
106
- msgstr ""
102
+ msgstr "계류 중인 모든 출력을 전송하고 계류 중인 모든 입력을 버린 후에 어트리뷰트를 변경합니다. "
107
103
108
104
#: ../../library/termios.rst:66
109
105
msgid ""
@@ -139,7 +135,7 @@ msgid ""
139
135
msgstr ""
140
136
"파일 기술자 *fd*\\ 에서 입력 또는 출력을 일시 중단하거나 다시 시작합니다. *action* 인자는 출력을 일시 중단하는 "
141
137
":const:`TCOOFF`, 출력을 다시 시작하는 :const:`TCOON`, 입력을 일시 중단하는 :const:`TCIOFF` "
142
- "또는 입력을 다시 시작하는 :const:`TCION`\\ 가 될 수 있습니다."
138
+ "또는 입력을 다시 시작하는 :const:`TCION`\\ 이 될 수 있습니다."
143
139
144
140
#: ../../library/termios.rst:91
145
141
msgid ""
@@ -195,16 +191,28 @@ msgid ""
195
191
" termios.tcsetattr(fd, termios.TCSADRAIN, old)\n"
196
192
" return passwd"
197
193
msgstr ""
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"
198
206
199
207
#: ../../library/termios.rst:8
200
208
msgid "POSIX"
201
- msgstr ""
209
+ msgstr "POSIX "
202
210
203
211
#: ../../library/termios.rst:8
204
212
msgid "I/O control"
205
- msgstr ""
213
+ msgstr "I/O 제어 "
206
214
207
215
#: ../../library/termios.rst:8
208
216
msgid "tty"
209
- msgstr ""
217
+ msgstr "tty "
210
218
0 commit comments