1- # SOME DESCRIPTIVE TITLE .
1+ # German translation of the Python documentation .
22# Copyright (C) 2001 Python Software Foundation
33# This file is distributed under the same license as the Python package.
4- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4+ #
5+ # Translators:
6+ # Swen Bachmann, 2026
57#
68msgid ""
79msgstr ""
810"Project-Id-Version : Python 3.15\n "
911"Report-Msgid-Bugs-To : \n "
1012"POT-Creation-Date : 2026-08-22 12:07+0200\n "
11- "PO-Revision-Date : 2025-09-16 00:01+0000\n "
12- "Language-Team : German (https://app.transifex.com/python-doc/teams/5390/de/)\n "
13+ "PO-Revision-Date : 2026-10-23 22:10+0200\n "
14+ "Last-Translator : python-doc bot, 2025\n "
15+ "Language-Team : German (https://github.com/python/python-docs-de)\n "
1316"Language : de\n "
1417"MIME-Version : 1.0\n "
1518"Content-Type : text/plain; charset=UTF-8\n "
@@ -18,7 +21,7 @@ msgstr ""
1821
1922#: ../../library/termios.rst:2
2023msgid ":mod:`!termios` --- POSIX style tty control"
21- msgstr ""
24+ msgstr ":mod:`!termios` --- tty-Steuerung im POSIX-Stil "
2225
2326#: ../../library/termios.rst:13
2427msgid ""
@@ -27,17 +30,27 @@ msgid ""
2730"manual page. It is only available for those Unix versions that support "
2831"POSIX *termios* style tty I/O control configured during installation."
2932msgstr ""
33+ "Dieses Modul stellt eine Schnittstelle zu den POSIX-Aufrufen für die tty-E/A-"
34+ "Steuerung bereit. Eine vollständige Beschreibung dieser Aufrufe steht in der "
35+ "Unix-Man-Page :manpage:`termios(3)`. Es ist nur für diejenigen Unix-"
36+ "Fassungen verfügbar, die eine tty-E/A-Steuerung im POSIX-*termios*-Stil "
37+ "unterstützen und bei deren Installation sie eingerichtet wurde."
3038
3139#: ../../library/termios.rst:18
3240msgid "Availability"
33- msgstr ""
41+ msgstr "Verfügbarkeit "
3442
3543#: ../../library/termios.rst:20
3644msgid ""
3745"All functions in this module take a file descriptor *fd* as their first "
38- "argument. This can be an integer file descriptor, such as returned by ``sys."
39- "stdin.fileno()``, or a :term:`file object`, such as ``sys.stdin`` itself."
46+ "argument. This can be an integer file descriptor, such as returned by "
47+ "``sys.stdin.fileno()``, or a :term:`file object`, such as ``sys.stdin`` "
48+ "itself."
4049msgstr ""
50+ "Alle Funktionen in diesem Modul nehmen einen Dateideskriptor *fd* als erstes "
51+ "Argument. Das kann ein ganzzahliger Dateideskriptor sein, wie "
52+ "``sys.stdin.fileno()`` ihn zurückgibt, oder ein :term:`Dateiobjekt <file "
53+ "object>` wie ``sys.stdin`` selbst."
4154
4255#: ../../library/termios.rst:24
4356msgid ""
@@ -46,10 +59,15 @@ msgid ""
4659"refer to your system documentation for more information on using these "
4760"terminal control interfaces."
4861msgstr ""
62+ "Dieses Modul legt außerdem alle Konstanten fest, die zum Arbeiten mit den "
63+ "hier bereitgestellten Funktionen nötig sind. Sie haben dieselben Namen wie "
64+ "ihre Gegenstücke in C. Weitere Informationen zur Verwendung dieser "
65+ "Schnittstellen zur Terminalsteuerung stehen in der Dokumentation deines "
66+ "Systems."
4967
5068#: ../../library/termios.rst:29
5169msgid "The module defines the following functions:"
52- msgstr ""
70+ msgstr "Das Modul legt die folgenden Funktionen fest: "
5371
5472#: ../../library/termios.rst:34
5573msgid ""
@@ -61,88 +79,129 @@ msgid ""
6179"as well as the indexing in the *cc* array must be done using the symbolic "
6280"constants defined in the :mod:`!termios` module."
6381msgstr ""
82+ "Gibt eine Liste mit den tty-Attributen für den Dateideskriptor *fd* zurück, "
83+ "und zwar so: ``[iflag, oflag, cflag, lflag, ispeed, ospeed, cc]``, wobei "
84+ "*cc* eine Liste der tty-Sonderzeichen ist (jedes eine Zeichenkette der Länge "
85+ "1, außer den Elementen mit den Indizes :const:`VMIN` und :const:`VTIME`, die "
86+ "ganze Zahlen sind, wenn diese Felder festgelegt sind). Die Auslegung der "
87+ "Flags und der Geschwindigkeiten sowie die Indizierung im Array *cc* müssen "
88+ "über die symbolischen Konstanten erfolgen, die im Modul :mod:`!termios` "
89+ "festgelegt sind."
6490
6591#: ../../library/termios.rst:45
6692msgid ""
6793"Set the tty attributes for file descriptor *fd* from the *attributes*, which "
6894"is a list like the one returned by :func:`tcgetattr`. The *when* argument "
6995"determines when the attributes are changed:"
7096msgstr ""
97+ "Setzt die tty-Attribute für den Dateideskriptor *fd* aus *attributes*, einer "
98+ "Liste wie der, die :func:`tcgetattr` zurückgibt. Das Argument *when* "
99+ "bestimmt, wann die Attribute geändert werden:"
71100
72101#: ../../library/termios.rst:51
73102msgid "Change attributes immediately."
74- msgstr ""
103+ msgstr "Ändert die Attribute sofort. "
75104
76105#: ../../library/termios.rst:55
77106msgid "Change attributes after transmitting all queued output."
78107msgstr ""
108+ "Ändert die Attribute, nachdem alle in der Warteschlange stehende Ausgabe "
109+ "übertragen wurde."
79110
80111#: ../../library/termios.rst:59
81112msgid ""
82113"Change attributes after transmitting all queued output and discarding all "
83114"queued input."
84115msgstr ""
116+ "Ändert die Attribute, nachdem alle in der Warteschlange stehende Ausgabe "
117+ "übertragen und alle in der Warteschlange stehende Eingabe verworfen wurde."
85118
86119#: ../../library/termios.rst:65
87120msgid ""
88121"Send a break on file descriptor *fd*. A zero *duration* sends a break for "
89122"0.25--0.5 seconds; a nonzero *duration* has a system dependent meaning."
90123msgstr ""
124+ "Sendet ein Break auf dem Dateideskriptor *fd*. Eine *duration* von null "
125+ "sendet ein Break für 0,25--0,5 Sekunden, eine *duration* ungleich null hat "
126+ "eine systemabhängige Bedeutung."
91127
92128#: ../../library/termios.rst:71
93129msgid ""
94130"Wait until all output written to file descriptor *fd* has been transmitted."
95131msgstr ""
132+ "Wartet, bis alle auf den Dateideskriptor *fd* geschriebene Ausgabe "
133+ "übertragen wurde."
96134
97135#: ../../library/termios.rst:76
98136msgid ""
99137"Discard queued data on file descriptor *fd*. The *queue* selector specifies "
100138"which queue: :const:`TCIFLUSH` for the input queue, :const:`TCOFLUSH` for "
101139"the output queue, or :const:`TCIOFLUSH` for both queues."
102140msgstr ""
141+ "Verwirft die in der Warteschlange stehenden Daten auf dem Dateideskriptor "
142+ "*fd*. Der Selektor *queue* gibt an, welche Warteschlange: :const:`TCIFLUSH` "
143+ "für die Eingabewarteschlange, :const:`TCOFLUSH` für die Ausgabewarteschlange "
144+ "oder :const:`TCIOFLUSH` für beide."
103145
104146#: ../../library/termios.rst:83
105147msgid ""
106148"Suspend or resume input or output on file descriptor *fd*. The *action* "
107149"argument can be :const:`TCOOFF` to suspend output, :const:`TCOON` to restart "
108150"output, :const:`TCIOFF` to suspend input, or :const:`TCION` to restart input."
109151msgstr ""
152+ "Setzt die Eingabe oder Ausgabe auf dem Dateideskriptor *fd* aus oder nimmt "
153+ "sie wieder auf. Das Argument *action* kann :const:`TCOOFF` sein, um die "
154+ "Ausgabe auszusetzen, :const:`TCOON`, um die Ausgabe wieder zu "
155+ "starten, :const:`TCIOFF`, um die Eingabe auszusetzen, oder :const:`TCION`, "
156+ "um die Eingabe wieder zu starten."
110157
111158#: ../../library/termios.rst:90
112159msgid ""
113160"Return a tuple ``(ws_row, ws_col)`` containing the tty window size for file "
114- "descriptor *fd*. Requires :const:`termios.TIOCGWINSZ` or :const:`termios. "
115- "TIOCGSIZE`."
161+ "descriptor *fd*. Requires :const:`termios.TIOCGWINSZ` "
162+ "or :const:`termios. TIOCGSIZE`."
116163msgstr ""
164+ "Gibt ein Tupel ``(ws_row, ws_col)`` mit der tty-Fenstergröße für den "
165+ "Dateideskriptor *fd* zurück. Erfordert :const:`termios.TIOCGWINSZ` "
166+ "oder :const:`termios.TIOCGSIZE`."
117167
118168#: ../../library/termios.rst:99
119169msgid ""
120170"Set the tty window size for file descriptor *fd* from *winsize*, which is a "
121- "two-item tuple ``(ws_row, ws_col)`` like the one returned by :func: "
122- "`tcgetwinsize`. Requires at least one of the pairs (:const:`termios. "
123- "TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`); ( :const:`termios.TIOCGSIZE`, : "
124- "const:`termios.TIOCSSIZE`) to be defined."
171+ "two-item tuple ``(ws_row, ws_col)`` like the one returned "
172+ "by :func: `tcgetwinsize`. Requires at least one of the pairs "
173+ "( :const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`); "
174+ "(:const:`termios.TIOCGSIZE`, : const:`termios.TIOCSSIZE`) to be defined."
125175msgstr ""
176+ "Setzt die tty-Fenstergröße für den Dateideskriptor *fd* aus *winsize*, einem "
177+ "zweielementigen Tupel ``(ws_row, ws_col)`` wie dem, das :func:`tcgetwinsize` "
178+ "zurückgibt. Erfordert, dass mindestens eines der Paare "
179+ "(:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`) und "
180+ "(:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) festgelegt ist."
126181
127182#: ../../library/termios.rst:110
128183msgid "Module :mod:`tty`"
129- msgstr ""
184+ msgstr "Modul :mod:`tty` "
130185
131186#: ../../library/termios.rst:111
132187msgid "Convenience functions for common terminal control operations."
133- msgstr ""
188+ msgstr "Bequeme Funktionen für häufige Vorgänge der Terminalsteuerung. "
134189
135190#: ../../library/termios.rst:117
136191msgid "Example"
137- msgstr ""
192+ msgstr "Beispiel "
138193
139194#: ../../library/termios.rst:119
140195msgid ""
141196"Here's a function that prompts for a password with echoing turned off. Note "
142- "the technique using a separate :func:`tcgetattr` call and a :keyword: "
143- "`try` ... :keyword:`finally` statement to ensure that the old tty attributes "
144- "are restored exactly no matter what happens::"
197+ "the technique using a separate :func:`tcgetattr` call and "
198+ "a :keyword: `try` ... :keyword:`finally` statement to ensure that the old tty "
199+ "attributes are restored exactly no matter what happens::"
145200msgstr ""
201+ "Hier eine Funktion, die ohne Bildschirmausgabe nach einem Passwort fragt. "
202+ "Beachte die Technik, über einen eigenen Aufruf von :func:`tcgetattr` und "
203+ "eine :keyword:`try` ... :keyword:`finally`-Anweisung dafür zu sorgen, dass "
204+ "die alten tty-Attribute auf jeden Fall genau wiederhergestellt werden::"
146205
147206#: ../../library/termios.rst:124
148207msgid ""
@@ -159,15 +218,27 @@ msgid ""
159218" termios.tcsetattr(fd, termios.TCSADRAIN, old)\n"
160219" return passwd"
161220msgstr ""
221+ "def getpass(prompt=\" Password: \" ):\n"
222+ " import termios, sys\n"
223+ " fd = sys.stdin.fileno()\n"
224+ " old = termios.tcgetattr(fd)\n"
225+ " new = termios.tcgetattr(fd)\n"
226+ " new[3] = new[3] & ~termios.ECHO # lflags\n"
227+ " try:\n"
228+ " termios.tcsetattr(fd, termios.TCSADRAIN, new)\n"
229+ " passwd = input(prompt)\n"
230+ " finally:\n"
231+ " termios.tcsetattr(fd, termios.TCSADRAIN, old)\n"
232+ " return passwd"
162233
163234#: ../../library/termios.rst:7
164235msgid "POSIX"
165- msgstr ""
236+ msgstr "POSIX "
166237
167238#: ../../library/termios.rst:7
168239msgid "I/O control"
169240msgstr "I/O Kontrolle"
170241
171242#: ../../library/termios.rst:7
172243msgid "tty"
173- msgstr ""
244+ msgstr "tty "
0 commit comments