Home
last modified time | relevance | path

Searched +refs:readline +refs:input +refs:stream (Results 26 – 50 of 2106) sorted by relevance

12345678910>>...85

/dports/www/npm/npm-6.14.8/lib/node_modules/npm/node_modules/read/
H A DREADME.md3 For reading user input from stdin.
5 Similar to the `readline` builtin's `question()` method, but with a
15 The callback gets called with either the user input, or the default
23 * `prompt` What to write to stdout before reading input.
26 * `timeout` Number of ms to wait for user input before giving up.
30 * `input` Readable stream to get input data from. (default `process.stdin`)
31 * `output` Writeable stream to write prompts to. (default: `process.stdout`)
41 On node version 0.6, it will remove all listeners on the input
42 stream's `data` and `keypress` events, because the readline module did
47 Additionally, some of the readline options (like `terminal`) will not
[all …]
/dports/www/npm-node14/npm-6.14.8/lib/node_modules/npm/node_modules/read/
H A DREADME.md3 For reading user input from stdin.
5 Similar to the `readline` builtin's `question()` method, but with a
15 The callback gets called with either the user input, or the default
23 * `prompt` What to write to stdout before reading input.
26 * `timeout` Number of ms to wait for user input before giving up.
30 * `input` Readable stream to get input data from. (default `process.stdin`)
31 * `output` Writeable stream to write prompts to. (default: `process.stdout`)
41 On node version 0.6, it will remove all listeners on the input
42 stream's `data` and `keypress` events, because the readline module did
47 Additionally, some of the readline options (like `terminal`) will not
[all …]
/dports/www/npm-node17/npm-6.14.8/lib/node_modules/npm/node_modules/read/
H A DREADME.md3 For reading user input from stdin.
5 Similar to the `readline` builtin's `question()` method, but with a
15 The callback gets called with either the user input, or the default
23 * `prompt` What to write to stdout before reading input.
26 * `timeout` Number of ms to wait for user input before giving up.
30 * `input` Readable stream to get input data from. (default `process.stdin`)
31 * `output` Writeable stream to write prompts to. (default: `process.stdout`)
41 On node version 0.6, it will remove all listeners on the input
42 stream's `data` and `keypress` events, because the readline module did
47 Additionally, some of the readline options (like `terminal`) will not
[all …]
/dports/www/node10/node-v10.24.1/deps/npm/node_modules/read/
H A DREADME.md3 For reading user input from stdin.
5 Similar to the `readline` builtin's `question()` method, but with a
15 The callback gets called with either the user input, or the default
23 * `prompt` What to write to stdout before reading input.
26 * `timeout` Number of ms to wait for user input before giving up.
30 * `input` Readable stream to get input data from. (default `process.stdin`)
31 * `output` Writeable stream to write prompts to. (default: `process.stdout`)
41 On node version 0.6, it will remove all listeners on the input
42 stream's `data` and `keypress` events, because the readline module did
47 Additionally, some of the readline options (like `terminal`) will not
[all …]
/dports/lang/clisp/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/readline/
H A Dtest.tst8 (let ((ver-num (and (boundp 'readline:readline-version)
9 readline:readline-version)))
15 (integerp (show readline:gnu-readline-p)) T
21 (if (boundp 'readline:readline-name) readline:readline-name "CLISP") "CLISP"
22 (setq readline:readline-name "abazonk") "abazonk"
23 readline:readline-name "abazonk"
42 (when (zerop (logand readline:readline-state readline:STATE-INITIALIZED))
67 "Run readline:readline, with fake input."
69 (readline:readline ""))
91 (read readline:*readline-input-stream*)) (1 2 3 4)
[all …]
/dports/www/py-flask/Flask-2.0.2/docs/patterns/
H A Drequestchecksum.rst11 Fortunately this is however very simple to change by wrapping the input
12 stream.
21 def __init__(self, stream):
22 self._stream = stream
30 def readline(self, size_hint):
31 rv = self._stream.readline(size_hint)
37 stream = ChecksumCalcStream(env['wsgi.input'])
38 env['wsgi.input'] = stream
39 return stream._hash
41 To use this, all you need to do is to hook the calculating stream in
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_codecs.py27 def check_partial(self, input, partialresults): argument
65 encoded = input.encode(self.encoding)
67 input,
72 def getreader(input): argument
73 stream = StringIO.StringIO(input.encode(self.encoding))
74 return codecs.getreader(self.encoding)(stream)
76 def readalllines(input, keepends=True, size=None): argument
77 reader = getreader(input)
223 stream = StringIO.StringIO(s)
238 stream = StringIO.StringIO(s)
[all …]
/dports/net/gnu-radius/radius-1.6.1/lib/
H A Dreadline.c50 grad_readline_internal(FILE *input) in grad_readline_internal() argument
56 if (!input) in grad_readline_internal()
57 input = stdin; in grad_readline_internal()
69 p = fgets(p, alloclen - linelen, input); in grad_readline_internal()
109 readline(char *prompt) in readline() function
120 grad_getc(FILE * stream) in grad_getc() argument
125 if (read(fileno(stream), &c, 1) == 1) in grad_getc()
162 return readline(prompt); in grad_readline()
/dports/lang/python27/Python-2.7.18/Lib/
H A Dgetpass.py47 input = tty
48 if not stream:
56 input = sys.stdin
71 passwd = _raw_input(prompt, stream, input=input)
82 del input, tty # clean up unused file objects before blocking
115 if not stream:
121 def _raw_input(prompt="", stream=None, input=None): argument
124 if not stream:
126 if not input:
127 input = sys.stdin
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/
H A Dgetpass.py47 input = tty
48 if not stream:
56 input = sys.stdin
71 passwd = _raw_input(prompt, stream, input=input)
82 del input, tty # clean up unused file objects before blocking
115 if not stream:
121 def _raw_input(prompt="", stream=None, input=None): argument
124 if not stream:
126 if not input:
127 input = sys.stdin
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dgetpass.py47 input = tty
48 if not stream:
56 input = sys.stdin
71 passwd = _raw_input(prompt, stream, input=input)
82 del input, tty # clean up unused file objects before blocking
115 if not stream:
121 def _raw_input(prompt="", stream=None, input=None): argument
124 if not stream:
126 if not input:
127 input = sys.stdin
[all …]
/dports/x11-wm/sawfish/sawfish_1.13.0/scripts/
H A Dsawfish-client.jl94 (require 'rep.io.readline)
108 (let ((input (readline
111 (when input
120 (and (repl-iterate r ',input)
122 (get-output-stream-string
131 (let ((text (make-string-output-stream)))
132 (copy-stream standard-input text)
135 (get-output-stream-string text)
/dports/devel/py-click/click-8.0.3/src/click/
H A Dtesting.py41 def readline(self, n: int = -1) -> bytes: member in EchoingStdin
42 return self._echo(self._input.readline(n))
55 def _pause_echo(stream: t.Optional[EchoingStdin]) -> t.Iterator[None]:
56 if stream is None:
59 stream._paused = True
61 stream._paused = False
94 input = b""
96 input = input.encode(charset)
280 val = text_input.readline().rstrip("\r\n")
289 return text_input.readline().rstrip("\r\n")
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/lang/python310/Python-3.10.1/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/lang/python37/Python-3.7.12/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/lang/python38/Python-3.8.12/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/lang/python39/Python-3.9.9/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/
H A Dgetpass.py51 input = io.TextIOWrapper(tty)
52 stack.enter_context(input)
54 stream = input
63 input = sys.stdin
77 passwd = _raw_input(prompt, stream, input=input)
88 if stream is not input:
123 if not stream:
129 def _raw_input(prompt="", stream=None, input=None): argument
133 if not input:
134 input = sys.stdin
[all …]
/dports/lang/python-legacy/Python-2.7.18/Doc/library/
H A Dtokenize.rst18 To simplify token stream handling, all :ref:`operators` and :ref:`delimiters`
27 .. function:: generate_tokens(readline)
29 The :func:`generate_tokens` generator requires one argument, *readline*,
31 :meth:`~file.readline` method of built-in file objects (see section
33 of input as a string. Alternately, *readline* may be a callable object that
48 .. function:: tokenize(readline[, tokeneater])
50 The :func:`.tokenize` function accepts two parameters: one representing the input
51 stream, and one providing an output mechanism for :func:`.tokenize`.
56 line of input as a string. Alternately, *readline* may be a callable object that
83 for creating tools that tokenize a script, modify the token stream, and write
[all …]
/dports/lang/python27/Python-2.7.18/Doc/library/
H A Dtokenize.rst18 To simplify token stream handling, all :ref:`operators` and :ref:`delimiters`
27 .. function:: generate_tokens(readline)
29 The :func:`generate_tokens` generator requires one argument, *readline*,
31 :meth:`~file.readline` method of built-in file objects (see section
33 of input as a string. Alternately, *readline* may be a callable object that
48 .. function:: tokenize(readline[, tokeneater])
50 The :func:`.tokenize` function accepts two parameters: one representing the input
51 stream, and one providing an output mechanism for :func:`.tokenize`.
56 line of input as a string. Alternately, *readline* may be a callable object that
83 for creating tools that tokenize a script, modify the token stream, and write
[all …]
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/psy/psysh/src/
H A DConfiguration.php114 private $readline; variable in Psy\\Configuration
240 if ($input->hasOption($name) && $input->getOption($name)) {
748 public function setReadline(Readline\Readline $readline) argument
750 $this->readline = $readline;
766 if (!isset($this->readline)) {
768 $this->readline = new $className(
775 return $this->readline;
1773 * @param resource|int $stream
1777 private static function looksLikeAPipe($stream) argument
1780 return !\posix_isatty($stream);
[all …]

12345678910>>...85