search for: x1b

Displaying 20 results from an estimated 104 matches for "x1b".

Did you mean: 1b
2014 Nov 25
3
[PATCH] mllib: use Unix.isatty
...on_utils.ml b/mllib/common_utils.ml index 295981c..9fcd8dd 100644 --- a/mllib/common_utils.ml +++ b/mllib/common_utils.ml @@ -207,15 +207,15 @@ let rec combine3 xs ys zs = (* ANSI terminal colours. *) let ansi_green ?(chan = stdout) () = - if TTY.isatty_stdout () then output_string chan "\x1b[0;32m" + if Unix.isatty Unix.stdout then output_string chan "\x1b[0;32m" let ansi_red ?(chan = stdout) () = - if TTY.isatty_stdout () then output_string chan "\x1b[1;31m" + if Unix.isatty Unix.stdout then output_string chan "\x1b[1;31m" let ansi_blue ?(chan =...
2000 Dec 21
2
Réf. : configure.in: Someone please show me a better way :)
...onfigure.in: Someone please show me a better way :) | >----------------------------------------------------------------------------| Q: What platform don't run this script: ---------------------------------------- #!/bin/sh export X0='x0' export X1a="$X0/1" export X1b='$X0/1' export X2a="$X1a/2" export X2b='$X1b/2' $SHELL <<EOF_2 $SHELL <<EOF_1 cat <<EOF #define a "$X2a/aa" #define b "$X2b/bb" EOF EOF_1 EOF_2 ---------------------------------------- Output must be: #define a &quo...
2008 Dec 22
1
sorting variable names containing digits
...g for a way of sorting variable names in a "natural" order, when the names are composed of digits and other characters. I know that this is a vague idea, and that sorting character strings is a complex topic, but perhaps a couple of examples will clarify what I mean: > s <- c("x1b", "x1a", "x02b", "x02a", "x02", "y1a1", "y10a2", + "y10a10", "y10a1", "y2", "var10a2", "var2", "y10") > sort(s) [1] "var10a2" "var2" "x02&...
2014 Jul 31
2
Re: hang after seabios
...-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 > \ > -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check > acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 > guestfs_verbose=1 TERM=xterm edd=off' > \x1b[1;256r\x1b[256;256H\x1b[6n > Google, Inc. > Serial Graphics Adapter 10/14/11 > SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@ > ca-build44.us.oracle.com) Fri Oct 14 20:04:36 UTC 2011 > Term: 80x24 > 4 0 > SeaBIOS (version seabios-0.6.1....
2014 Jan 23
2
Errors Running on Ubuntu 13.10
...l0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-0/kernel.2492 \ -initrd /var/tmp/.guestfs-0/initrd.2492 \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm'\x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 06/09/13 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (buildd@allspice) Sun Jun 9 17:23:53 UTC 2013 Term: 80x24 4 0 SeaBIOS (version 1.7.3-20130708_231806-aatxe) Booting from ROM... \x1b[2J[ 0.000000] Initializing cgroup...
2014 Jan 23
3
Re: Errors Running on Ubuntu 13.10
...> -kernel /var/tmp/.guestfs-0/kernel.2492 \ >> -initrd /var/tmp/.guestfs-0/initrd.2492 \ >> -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off >> printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 >> guestfs_verbose=1 TERM=xterm'\x1b[1;256r\x1b[256;256H\x1b[6n >> Google, Inc. >> Serial Graphics Adapter 06/09/13 >> SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (buildd@allspice) >> Sun Jun 9 17:23:53 UTC 2013 >> Term: 80x24 >> 4 0 >> SeaBIOS (version 1.7.3-20130708_231806-aatxe...
2016 Mar 21
0
Re: [PATCH v2 0/7] tests/qemu: Add program for tracing and analyzing boot times.
...s -v One and a half minute passes, nothing is printed on the screen. . . Okay, let's try 'libguestfs-test-tool' (untruncated output attached), it fails with: ------------------------------------- [...] Could not open option rom 'linuxboot_dma.bin': No such file or directory \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 11/03/11 SGABIOS $Id$ (pbonzini@yakj.usersys.redhat.com) Thu Nov 3 13:33:51 UTC 2011 Term: 80x24 4 0 \x1b[2J SeaBIOS (version rel-1.9.1-0-gb3ef39f-prebuilt.qemu-project.org) Booting from Hard Disk... Boot failed: not a bootable di...
2000 Dec 21
1
configure.in: Someone please show me a better way :)
Q: What platform don't run this script: ---------------------------------------- #!/bin/sh export X0='x0' export X1a="$X0/1" export X1b='$X0/1' export X2a="$X1a/2" export X2b='$X1b/2' $SHELL <<EOF_2 $SHELL <<EOF_1 cat <<EOF #define a "$X2a/aa" #define b "$X2b/bb" EOF EOF_1 EOF_2 ---------------------------------------- Output must be: #define a &quo...
2009 Jul 26
2
Verbose() messages go unnoticed
...sequences to make my messages bold and black on yellow background. apps/app_verbose.c: static int verbose_exec(struct ast_channel *chan, void *data) { ... switch (vsize) { case 0: - ast_verbose("%s\n", vtext); + ast_verbose("\x1B[103;30;1m %s \x1B[0m\n", vtext); break; case 1: - ast_verbose(VERBOSE_PREFIX_1 "%s\n", vtext); + ast_verbose(VERBOSE_PREFIX_1 "\x1B[103;30;1m %s \x1B[0m\n", vtext); break; That's just an ugly...
2012 Jun 13
0
Plotted circle does not go through desired points - very long email with code
...irst dependency (point "B") ? i=8 j=1 ? m <- xy$y[i]/xy$x[i] a.m <- atan(m) # angle in radians b.m <-( pi/2)+a.m m1 <- tan(b.m) # slope of tangent line on "H" b1 <- xy$y[i] -(m1*xy$x[i]) ? # decide on 2 random points on the tangent line x1a <- -100 x1b <- 100 y1a <- m1*x1a + b1 y1b <- m1*x1b + b1 ? # Get the point dependency for "H" mati <- mat[i,][mat[i,] ==1] cmati <- names(mati) n1 <- length(cmati) ? # Get the first dependency: j=1 pt2 <- xy[cmati[j],] ? # Get coordinates of the middle of segment &quo...
2014 Jan 15
4
Double fault panic in L2 upon v2v conversion
...0,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net=169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=dumb' \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 02/18/13 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Feb 18 08:29:02 UTC 2013 Term: 80x24 4 0 SeaBIOS (version ?-20131118_112708-) iPXE (http://ipxe.org) 00:04.0 C100 PCI2.10 PnP PMM+1F3C7C60+1F327C60 C10...
2014 Jan 23
0
Re: Errors Running on Ubuntu 13.10
...annel.0 \ > -kernel /var/tmp/.guestfs-0/kernel.2492 \ > -initrd /var/tmp/.guestfs-0/initrd.2492 \ > -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off > printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 > guestfs_verbose=1 TERM=xterm'\x1b[1;256r\x1b[256;256H\x1b[6n > Google, Inc. > Serial Graphics Adapter 06/09/13 > SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (buildd@allspice) > Sun Jun 9 17:23:53 UTC 2013 > Term: 80x24 > 4 0 > SeaBIOS (version 1.7.3-20130708_231806-aatxe) > Booting from ROM... &...
2014 Jul 31
0
Re: hang after seabios
...rialport,chardev=channel0,name=org.libguestfs.channel.0 >> \ >> -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check >> acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 >> guestfs_verbose=1 TERM=xterm edd=off' >> \x1b[1;256r\x1b[256;256H\x1b[6n >> Google, Inc. >> Serial Graphics Adapter 10/14/11 >> SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@ >> ca-build44.us.oracle.com) Fri Oct 14 20:04:36 UTC 2011 >> Term: 80x24 >> 4 0 >> Sea...
2014 Jan 23
0
Re: Errors Running on Ubuntu 13.10
...p/.guestfs-0/kernel.2492 \ > >> -initrd /var/tmp/.guestfs-0/initrd.2492 \ > >> -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off > >> printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 > >> guestfs_verbose=1 TERM=xterm'\x1b[1;256r\x1b[256;256H\x1b[6n > >> Google, Inc. > >> Serial Graphics Adapter 06/09/13 > >> SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (buildd@allspice) > >> Sun Jun 9 17:23:53 UTC 2013 > >> Term: 80x24 > >> 4 0 > >> SeaBIOS (...
2014 Jan 15
0
Double fault panic in L2 upon v2v conversion
...0,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net=169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=dumb' \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 02/18/13 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Feb 18 08:29:02 UTC 2013 Term: 80x24 4 0 SeaBIOS (version ?-20131118_112708-) iPXE (http://ipxe.org) 00:04.0 C100 PCI2.10 PnP PMM+1F3C7C60+1F327C60 C10...
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
...om-seed" libguestfs: trace: filesize = 512 libguestfs: trace: truncate "/var/lib/systemd/random-seed" libguestfs: trace: truncate = 0 libguestfs: trace: write_append "/var/lib/systemd/random-seed" "\x9e\x92\xa5\xae\xa3\x13\xb3Qt'\x1fn\x00\xd9\xf6\xcd\x1cYP\x14U\x1b\xfbc\xdd\xa2\x95\xd1\xdf\x0d\x94\xf7\xb8\xba$\x18z \xe2,\xd3\xd0u\xb9F\xd9\x87G\x8c\x16S\x90q\xf12(a\x89\xb1\xab\x8b\xd4\xd4M\xc4\xc6\xb0\x186\xe2A\x09\x99\xd1\xb8;\xee\x9b\xef\xee\x01co$\xfe\xf0I\xd5\x1a\xac{C&:y\xc8\xf2\xf5H\xe116\x97$\x02\xc9\xc0u\xcf7\x094\xb0SM\x8d\x0f\x0b\xc8\xf1\x1e\xae\...
2014 Jan 23
2
Re: Errors Running on Ubuntu 13.10
...-0/kernel.2492 \ >>>> -initrd /var/tmp/.guestfs-0/initrd.2492 \ >>>> -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off >>>> printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 >>>> guestfs_verbose=1 TERM=xterm'\x1b[1;256r\x1b[256;256H\x1b[6n >>>> Google, Inc. >>>> Serial Graphics Adapter 06/09/13 >>>> SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (buildd@allspice) >>>> Sun Jun 9 17:23:53 UTC 2013 >>>> Term: 80x24 >>>> 4 0 >&...
2014 Jan 16
0
Re: Double fault panic in L2 upon v2v conversion
...,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net= 169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=dumb' \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 02/18/13 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Feb 18 08:29:02 UTC 2013 Term: 80x24 4 0 SeaBIOS (version ?-20131118_112708-) iPXE ( http://ipxe.org ) 00:04.0 C100 PCI2.10 PnP PMM+1F3C7C60+1F327C60 C...
2016 Jun 18
8
[PATCH 0/7] p2v: Multiple improvements to the look of virt-p2v.
In the run dialog, I have implemented an ANSI colour escape sequence interpreter, so that colours displayed by the remote virt-v2v are now shown to the user. (https://bugzilla.redhat.com/show_bug.cgi?id=1314244) This requires virt-v2v to send colours. It wasn't doing that because the output was a pipe (as we capture the output into the log file). So I added a global --colours option to make
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
...libguestfs: trace: filesize = 512 > libguestfs: trace: truncate "/var/lib/systemd/random-seed" > libguestfs: trace: truncate = 0 > libguestfs: trace: write_append "/var/lib/systemd/random-seed" "\x9e\x92\xa5\xae\xa3\x13\xb3Qt'\x1fn\x00\xd9\xf6\xcd\x1cYP\x14U\x1b\xfbc\xdd\xa2\x95\xd1\xdf\x0d\x94\xf7\xb8\xba$\x18z \xe2,\xd3\xd0u\xb9F\xd9\x87G\x8c\x16S\x90q\xf12(a\x89\xb1\xab\x8b\xd4\xd4M\xc4\xc6\xb0\x186\xe2A\x09\x99\xd1\xb8;\xee\x9b\xef\xee\x01co$\xfe\xf0I\xd5\x1a\xac{C&:y\xc8\xf2\xf5H\xe116\x97$\x02\xc9\xc0u\xcf7\x094\xb0SM\x8d\x0f\x0b\xc8\xf1\x1e\xae\...