similar to: scripts with the dialog command

Displaying 20 results from an estimated 60000 matches similar to: "scripts with the dialog command"

2018 Dec 14
0
[PATCH nbdkit 1/3] sh: Implement inline scripts.
This implements something like a readonly 1MB disk reading as zeroes: nbdkit sh script=- <<'EOF' case "$1" in get_size) echo 1M ;; pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; *) exit 2 ;; esac EOF Use of "-" is analogous to reading passwords from stdin. --- plugins/sh/nbdkit-sh-plugin.pod | 17 ++++++++++ plugins/sh/sh.c
2018 Dec 15
0
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On Fri, Dec 14, 2018 at 04:31:32PM -0600, Eric Blake wrote: > On 12/14/18 4:16 PM, Richard W.M. Jones wrote: > >This implements something like a readonly 1MB disk reading as zeroes: > > > >nbdkit sh script=- <<'EOF' > > case "$1" in > > get_size) echo 1M ;; > > pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; > >
2018 Dec 14
2
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On 12/14/18 4:16 PM, Richard W.M. Jones wrote: > This implements something like a readonly 1MB disk reading as zeroes: > > nbdkit sh script=- <<'EOF' > case "$1" in > get_size) echo 1M ;; > pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; > *) exit 2 ;; > esac > EOF > > Use of "-" is analogous to reading
2007 Aug 21
2
dialog boxes on X
All, I have been looking at zenity to pop up messages on the X screen. Is there another alternative to zenity that I have not found? I need to be able to completely remove the OK button, I cannot find a way in zenity to do this. also It would be nice to have a --timeout 5 option on the command line also. Any suggestions? Jerry
2020 Apr 14
0
[nbdkit PATCH v2 1/3] server: Add nbdkit_stdio_safe
Trying to read a password or inline script from stdin when the -s option was used to connect to our client over stdin is not going to work. It would be nice to fail such usage as soon as possible, by giving plugins a means to decide if it is safe to use stdio during .config. Update nbdkit_read_password and the sh plugin to take advantage of the new entry point. Signed-off-by: Eric Blake
2020 Apr 04
0
[nbdkit PATCH 1/2] server: Add nbdkit_stdio_safe
Trying to read a password or inline script from stdin when the -s option was used to connect to our client over stdin is not going to work. It would be nice to fail such usage as soon as possible, by giving plugins a means to decide if it is safe to use stdio during .config. Update nbdkit_read_password and the sh plugin to take advantage of the new entry point. Also, treat 'nbdkit -s
2023 Aug 31
2
[PATCH nbdkit] sh: In pwrite, allow scripts to ignore stdin
See comment for explanation and https://listman.redhat.com/archives/libguestfs/2023-August/032468.html --- tests/Makefile.am | 2 + plugins/sh/call.c | 33 +++++++----- tests/test-sh-pwrite-ignore-stdin.sh | 77 ++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+), 12 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index
2020 Apr 15
0
Re: [PATCH nbdkit 9/9] eval, sh: Define $nbdkit_safe_stdio = 0|1 in scripts.
On Wed, Apr 15, 2020 at 01:09:21PM -0500, Eric Blake wrote: > On 4/15/20 11:16 AM, Richard W.M. Jones wrote: > > In the subject, you describe $nbdkit_safe_stdio, but in the patch body... > > >--- > > plugins/eval/nbdkit-eval-plugin.pod | 11 +++-------- > > plugins/sh/nbdkit-sh-plugin.pod | 18 +++++++++++++++++- > > plugins/sh/call.c |
2004 Apr 01
3
[Bug 830] Check immediate EOF coming on stdin
http://bugzilla.mindrot.org/show_bug.cgi?id=830 Summary: Check immediate EOF coming on stdin Product: Portable OpenSSH Version: 3.8p1 Platform: Other OS/Version: other Status: NEW Severity: minor Priority: P2 Component: ssh AssignedTo: openssh-bugs at mindrot.org ReportedBy: ignasi.roca at
2007 Nov 15
2
reload command
All, I have noticed that placing a call in the outgoing spool during a reload the call may fail. Try the call again after the reload is done and it will complete. This seems like a bug. During a reload calls should be suspended or something? Thoughts? Jerry
2009 Mar 28
3
command line programs for ldap
Hi all. I am looking for some command line programs (pre made) that will connect to an ldap server and list out the users in question provided by the search argument given. I found some mention of it from oracle but I did not see where they can be downloaded. Is something like this available and I just havent found them? Thanks, Jerry
2014 Sep 30
2
CentOS 7 turn off power saving by command line
In CentOS 6 gconftool-2 (command line) is used to enable/disable items. In CentOS 7 I found "settings->power-> blank screen" as something I wish to configure by the command line? How is that accomplished? I brought up gconf-editor and searched for power and blank and found nothing. How can I control this setting from the command line? Thanks Jerry
2020 Apr 15
0
[PATCH nbdkit 9/9] eval, sh: Define $nbdkit_safe_stdio = 0|1 in scripts.
--- plugins/eval/nbdkit-eval-plugin.pod | 11 +++-------- plugins/sh/nbdkit-sh-plugin.pod | 18 +++++++++++++++++- plugins/sh/call.c | 8 ++++++-- tests/test-single-sh.sh | 4 ++++ 4 files changed, 30 insertions(+), 11 deletions(-) diff --git a/plugins/eval/nbdkit-eval-plugin.pod b/plugins/eval/nbdkit-eval-plugin.pod index 602fd3aa..a016aa78 100644 ---
2020 Apr 15
1
Re: [PATCH nbdkit 9/9] eval, sh: Define $nbdkit_safe_stdio = 0|1 in scripts.
On 4/15/20 1:18 PM, Richard W.M. Jones wrote: > On Wed, Apr 15, 2020 at 01:09:21PM -0500, Eric Blake wrote: >> On 4/15/20 11:16 AM, Richard W.M. Jones wrote: >> >> In the subject, you describe $nbdkit_safe_stdio, but in the patch body... >> >>> --- >>> plugins/eval/nbdkit-eval-plugin.pod | 11 +++-------- >>> plugins/sh/nbdkit-sh-plugin.pod
2011 Jul 10
1
Samba4 - Cannot get quick test to succeed
Hi All, I'm currently using/testing samba-4.0.0alpha15. I downloaded the tar ball, followed the Samba4 HOWTO wiki at http://wiki.samba.org/index.php/Samba4/HOWTO and got stuff working pretty well. I have experienced issues with GPOs and such and dynamic dns and so thought I'd try the current version but I cannot now get samba4 to pass quicktest (or any other test). I've tried
2020 Apr 15
2
Re: [PATCH nbdkit 9/9] eval, sh: Define $nbdkit_safe_stdio = 0|1 in scripts.
On 4/15/20 11:16 AM, Richard W.M. Jones wrote: In the subject, you describe $nbdkit_safe_stdio, but in the patch body... > --- > plugins/eval/nbdkit-eval-plugin.pod | 11 +++-------- > plugins/sh/nbdkit-sh-plugin.pod | 18 +++++++++++++++++- > plugins/sh/call.c | 8 ++++++-- > tests/test-single-sh.sh | 4 ++++ > 4 files changed, 30
2020 Jun 01
0
[PATCH nbdkit 1/3] server: Disallow password=- from non-tty and fix error message (RHBZ#1842440).
This command fails with an incorrect error message: $ nbdkit ssh host=localhost /nosuchfile password=- --run 'qemu-img info $nbd' </dev/null password: nbdkit: error: could not read password from stdin: Inappropriate ioctl for device The error (ENOTTY Inappropriate ioctl for device) is actually a leftover errno from the previous isatty call. This happens because getline(3) can
2003 Apr 09
2
[Bug 542] OpenSSH 3.6.1p1 - sftp exit codes and improved logging for scripting
http://bugzilla.mindrot.org/show_bug.cgi?id=542 Summary: OpenSSH 3.6.1p1 - sftp exit codes and improved logging for scripting Product: Portable OpenSSH Version: -current Platform: Sparc OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo:
2013 Jan 21
6
the at command
I was trying to use the 'at' command. Does it not have "resolution" to the second? When I run it with 'at -f /tmp/tt.sh "01/21/2013 15:20:45" syntax error. Last token seen: 15:20 Garbled time How do I run a command in the future including "seconds". Thanks, Jerry
2020 Jun 01
1
Re: [PATCH nbdkit 1/3] server: Disallow password=- from non-tty and fix error message (RHBZ#1842440).
On 6/1/20 5:31 AM, Richard W.M. Jones wrote: > This command fails with an incorrect error message: > > $ nbdkit ssh host=localhost /nosuchfile password=- --run 'qemu-img info $nbd' </dev/null > password: > nbdkit: error: could not read password from stdin: Inappropriate ioctl for device > > The error (ENOTTY Inappropriate ioctl for device) is actually a