Searched refs:prompt (Results 26 - 50 of 198) sorted by relevance

12345678

/openbsd-current/gnu/lib/libreadline/examples/
H A Dexcallback.c19 interactively change the prompt (which is very nice imo). Also, I
63 * prompt, which can't be done using the regular interface since rl_prompt is
71 * to be re-echoed on the new prompt when it returns. Unfortunately, the default
72 * terminal configuration doesn't do this. After the prompt returns, the user
75 * the prompt and then type "bar" before the prompt returns (you have 3
76 * seconds). Notice how "bar" is re-echoed on the prompt after the prompt
79 * the same thing. When the prompt returns, you should not see "bar". Now type
88 int prompt variable
[all...]
/openbsd-current/games/backgammon/teachgammon/
H A Dtutor.h58 extern const char *const prompt;
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Decho-area.h40 extern char * info_read_completing_internal (WINDOW *window, char *prompt,
46 non-null, is a prompt to print before reading the line. */
47 extern char *info_read_in_echo_area (WINDOW *window, char *prompt);
52 char *prompt, REFERENCE **completions);
58 char *prompt, REFERENCE **completions);
H A Dvariables.h45 extern VARIABLE_ALIST *read_variable_name (char *prompt, WINDOW *window);
H A Dvariables.c112 char prompt[100]; local
123 sprintf (prompt, _("Set %s to value (%d): "),
125 line = info_read_in_echo_area (active_window, prompt);
164 sprintf (prompt, _("Set %s to value (%s): "),
168 line = info_read_completing_in_echo_area (window, prompt, array);
204 read_variable_name (char *prompt, WINDOW *window) argument
215 info_read_completing_in_echo_area (window, prompt, variables);
/openbsd-current/usr.bin/telnet/
H A Dmain.c88 prompt = __progname;
92 rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
155 prompt, errstr, optarg);
185 *argp++ = prompt;
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Devent-top.h29 /* Stack for prompts. Each prompt is composed as a prefix, a prompt
30 and a suffix. The prompt to be displayed at any given time is the
34 'actions' for tracepoints. In these cases, the prompt is '>' and
39 The prompt stack represents part of the saved state. Another part
44 beeen implemented yet. The need for a 3-part prompt arises from
45 the annotation level. When this is set to 2, the prompt is
46 actually composed of a prefix, the prompt itself and a suffix. */
48 /* At any particular time there will be always at least one prompt on
53 time, this is the only use of the prompt stac
66 char *prompt; member in struct:prompts::__anon4472
[all...]
H A Dremote-utils.h77 char *prompt; member in struct:gr_settings
85 /* get and set prompt. */
86 #define gr_get_prompt() (gr_settings->prompt)
87 #define gr_set_prompt(newval) (gr_settings->prompt = (newval))
96 /* Keep discarding input until we see the prompt.
98 The convention for dealing with the prompt is that you
100 o *then* wait for the prompt.
104 wait for the prompt, because the terminal is being handed over
106 is a bug_wait which does wait for the prompt.
/openbsd-current/regress/bin/ksh/edit/
H A Dedit.c32 #define PRTIM 5000 /* prompt read timeout */
44 const char *prompt = ""; local
56 prompt = optarg;
64 if (argc == 0 || strlen(prompt) == 0)
115 warnx("timeout waiting from prompt");
134 (n = findprompt(out + nprompt, prompt)) > 0) {
163 findprompt(const char *str, const char *prompt) argument
168 if ((cp = strstr(str, prompt)) == NULL)
170 len = strlen(prompt);
184 fprintf(stderr, "usage: edit -p prompt comman
[all...]
/openbsd-current/usr.sbin/tokeninit/
H A Dtokeninit.c219 static char prompt[1024]; local
221 snprintf(prompt, sizeof prompt,
225 snprintf(prompt, sizeof prompt,
228 return prompt;
/openbsd-current/lib/libcrypto/ui/
H A Dui_lib.c140 general_allocate_prompt(const char *prompt, int dup_prompt, argument
145 if (prompt == NULL) {
159 uis->out_string = prompt;
161 if ((uis->out_string = strdup(prompt)) == NULL) {
179 general_allocate_string(UI *ui, const char *prompt, int dup_prompt, argument
186 if ((s = general_allocate_prompt(prompt, dup_prompt, type, input_flags,
206 general_allocate_boolean(UI *ui, const char *prompt, const char *action_desc, argument
222 if ((s = general_allocate_prompt(prompt, dup_strings, type, input_flags,
263 * direct reference to the prompt.
266 UI_add_input_string(UI *ui, const char *prompt, in argument
276 UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) argument
285 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
294 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
303 UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) argument
312 UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) argument
355 char *prompt; local
[all...]
/openbsd-current/gnu/llvm/lldb/source/Core/
H A DIOHandler.cpp136 IOHandlerConfirm::IOHandlerConfirm(Debugger &debugger, llvm::StringRef prompt, argument
141 llvm::StringRef(), // No prompt
142 llvm::StringRef(), // No continuation prompt
144 false, // Don't colorize the prompt (i.e. the confirm message.)
148 prompt_stream.PutCString(prompt);
228 llvm::StringRef prompt, llvm::StringRef continuation_prompt,
237 prompt, continuation_prompt, multi_line, color_prompts,
245 llvm::StringRef prompt, llvm::StringRef continuation_prompt,
256 SetPrompt(prompt);
301 SetPrompt(prompt);
225 IOHandlerEditline( Debugger &debugger, IOHandler::Type type, const char *editline_name, llvm::StringRef prompt, llvm::StringRef continuation_prompt, bool multi_line, bool color_prompts, uint32_t line_number_start, IOHandlerDelegate &delegate) argument
240 IOHandlerEditline( Debugger &debugger, IOHandler::Type type, const lldb::FileSP &input_sp, const lldb::StreamFileSP &output_sp, const lldb::StreamFileSP &error_sp, uint32_t flags, const char *editline_name, llvm::StringRef prompt, llvm::StringRef continuation_prompt, bool multi_line, bool color_prompts, uint32_t line_number_start, IOHandlerDelegate &delegate) argument
359 const char *prompt = nullptr; local
473 SetPrompt(llvm::StringRef prompt) argument
488 SetContinuationPrompt(llvm::StringRef prompt) argument
620 const char *prompt = GetPrompt(); local
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/HTTP/
H A DCredentials.pm71 ExtUtils::MakeMaker->import(qw(prompt));
72 $username = prompt($username_message);
81 $password = prompt("Password:");
/openbsd-current/usr.bin/encrypt/
H A Dencrypt.c94 int prompt = 0; local
110 prompt = 1;
137 if (prompt) {
164 if (prompt)
/openbsd-current/gnu/llvm/lldb/source/Interpreter/
H A Dembedded_interpreter.py54 def readfunc(prompt):
55 line = input(prompt)
59 def readfunc_stdio(prompt):
60 sys.stdout.write(prompt)
/openbsd-current/games/boggle/boggle/
H A Dextern.h55 void prompt(char *);
/openbsd-current/games/monop/
H A Dgetinp.c47 getinp(char *prompt, char *list[]) argument
53 printf("%s", prompt);
/openbsd-current/gnu/usr.bin/cvs/windows-NT/
H A Dwin32.c105 getpass (const char *prompt) argument
110 fputs (prompt, stderr);
/openbsd-current/usr.bin/cu/
H A Dinput.c47 get_input(const char *prompt) argument
64 printf("%s ", prompt);
/openbsd-current/games/battlestar/
H A Dgetcom.c40 getcom(char *buf, int size, const char *prompt, const char *error) argument
43 fputs(prompt, stdout);
/openbsd-current/gnu/usr.bin/binutils/gdb/tui/
H A Dtui-windata.c109 tui_erase_data_content (char *prompt) argument
113 if (prompt != (char *) NULL)
118 if (strlen (prompt) >= half_width)
121 x_pos = half_width - strlen (prompt);
125 prompt);
/openbsd-current/lib/libc/gen/
H A Dreadpassphrase.c40 readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags) argument
113 (void)write(output, prompt, strlen(prompt));
181 getpass(const char *prompt) argument
185 return(readpassphrase(prompt, buf, sizeof(buf), RPP_ECHO_OFF));
/openbsd-current/gnu/usr.bin/perl/utils/
H A Dlibnetcfg.PL104 use ExtUtils::MakeMaker qw(prompt);
160 my($prompt,$def) = @_;
164 chomp($prompt);
168 print $prompt,," [",$def,"]\n";
171 prompt($prompt,$def);
180 my($prompt,$def) = @_;
188 my $ans = Prompt($prompt,$def);
205 my($prompt,$def) = @_;
211 my $ans = Prompt($prompt,
[all...]
/openbsd-current/gnu/llvm/lldb/utils/lui/
H A Dcui.py250 """ Embed an 'editline'-compatible prompt inside a CursesWin. """
258 self.prompt = ''
264 def draw(self, prompt=None):
265 if not prompt:
266 prompt = self.prompt
268 if (len(prompt) + len(self.content)) / w + self.starty >= h - 1:
277 self.win.addstr(y, x, prompt)
279 self.win.addstr(remain[:w - len(prompt)])
280 remain = remain[w - len(prompt)
[all...]
/openbsd-current/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dreplwrap.py23 :param str orig_prompt: The prompt to expect at first.
24 :param str prompt_change: A command to change the prompt to something more
25 unique. If this is ``None``, the prompt will not be changed. This will
29 :param str new_prompt: The more unique prompt to expect after the change.
48 self.prompt = orig_prompt
52 self.prompt = new_prompt
65 return self.child.expect_exact([self.prompt, self.continuation_prompt],
73 if a continuation prompt is found after sending input, :exc:`ValueError`
75 :param int timeout: How long to wait for the next prompt. -1 means the
94 # Command was fully submitted, now wait for the next prompt
[all...]

Completed in 291 milliseconds

12345678