search for: use_default_color

Displaying 9 results from an estimated 9 matches for "use_default_color".

Did you mean: use_default_colors
2005 Apr 29
2
[PATCH] xen-booloader: pygrub improvement & bug fix
...he take pygrub.aq2.patch instead (this patch includes fix on /boot/grub/menu.lst problem). # diffstat pygrub.aq2.patch pygrub | 63 ++++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 36 insertions(+), 27 deletions(-) List of changes: - temporarily remove usage of use_default_colors(), since python 2.3 doesnt support this method. - allow user to press ''q'' to quit pygrub - corretly handle timeout feature - fix bug on fill_entries (incorrect check & display menu items) - incorrect check on boot entry (idx variable) - remove abundant checking on disk image...
2007 May 21
1
pygrub cannot find kernel
...ot;/usr/bin/pygrub", line 358, in run self.run_main(timeout) File "/usr/bin/pygrub", line 381, in run_main draw() File "/usr/bin/pygrub", line 366, in draw self.draw_main_windows() File "/usr/bin/pygrub", line 159, in draw_main_windows curses.use_default_colors() _curses.error: use_default_colors() returned ERR No handlers could be found for logger "xend" Error: Boot loader didn't return any data! Usage: xm create <ConfigFile> [options] [vars] Create a domain based on <ConfigFile>. Options: Anything I'm missing? Thanks...
2006 Oct 17
0
[PATCH] misc compile fixes for tools on Solaris
...static void attr_addstr(int attr, const static void attr_addstr(int attr, const char *str) { attron(attr); - addstr(str); + addstr((char *)str); attroff(attr); } @@ -1035,7 +1036,9 @@ int main(int argc, char **argv) nonl(); keypad(stdscr, TRUE); halfdelay(5); +#ifndef __sun__ use_default_colors(); +#endif init_pair(1, -1, COLOR_YELLOW); do { diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.c --- a/tools/xenstore/xenstored_core.c +++ b/tools/xenstore/xenstored_core.c @@ -1688,7 +1688,7 @@ static void write_pidfile(const char *pi if (lockf(fd, F_TLOCK,...
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...print 'Please enable CONFIG_DEBUG_FS in your kernel' + sys.exit(1) +if not os.access('/sys/module/vhost_net', os.F_OK): + print 'Please make sure vhost_net module are loaded' + sys.exit(1) + +label_width = 40 +number_width = 10 + +def tui(screen, stats): + curses.use_default_colors() + curses.noecho() + drilldown = False + fields_filter = stats.fields_filter + def update_drilldown(): + if not fields_filter: + if drilldown: + stats.set_fields_filter(None) + else: + stats.set_fields_filter(r'^[^\(]*$...
2006 Jun 03
4
xentop.c error
...#39;' xentop.c:864: error: `stdscr'' undeclared (first use in this function) xentop.c:864: error: `TRUE'' undeclared (first use in this function) xentop.c:865: warning: implicit declaration of function `halfdelay'' xentop.c:866: warning: implicit declaration of function `use_default_colors'' xentop.c:867: warning: implicit declaration of function `init_pair'' xentop.c:867: error: `COLOR_YELLOW'' undeclared (first use in this function) xentop.c:872: warning: implicit declaration of function `clear'' xentop.c:875: warning: implicit declaration of functi...
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics displaying script were introduced to help the troubleshooting. TODO: - net specific tracepoints? --- Jason Wang (2): vhost: basic tracepoints tools: virtio: add a
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics displaying script were introduced to help the troubleshooting. TODO: - net specific tracepoints? --- Jason Wang (2): vhost: basic tracepoints tools: virtio: add a
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of tracepoints. So to help in vhost{net} debugging and performance analyzing, the following series adding basic tracepoints to vhost. Operations of both vhost and vhost_net were traced in current implementation. A top-like satistics displaying script were introduced to help the troubleshooting: vhost statistics vhost_virtio_update_used_idx
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of tracepoints. So to help in vhost{net} debugging and performance analyzing, the following series adding basic tracepoints to vhost. Operations of both vhost and vhost_net were traced in current implementation. A top-like satistics displaying script were introduced to help the troubleshooting: vhost statistics vhost_virtio_update_used_idx