search for: display_label

Displaying 3 results from an estimated 3 matches for "display_label".

Did you mean: display_labels
2010 Jul 15
1
Accessing command_line from core C code
I tried to replace display_labels asm code (ui.inc) with new C code (pm_display_labels), but the data i access in command_line doesn't seem to be always up to date. The patch i am working on is only for PXELINUX because of different vkernel structure: diff --git a/core/com32.inc b/core/com32.inc index 111590c..f19df7c 100644...
2008 Aug 31
1
[RFC][PATCH] ui: label completion on tab key
...=================================== --- syslinux-3.71-27-g3d39943.orig/core/ui.inc 2008-08-31 22:45:26.000000000 +0200 +++ syslinux-3.71-27-g3d39943/core/ui.inc 2008-08-31 22:51:44.000000000 +0200 @@ -108,6 +108,8 @@ not_ascii: cmp al,0Dh ; Enter je command_done + cmp al,09h ; Tab + je display_labels cmp al,'F' & 1Fh ; <Ctrl-F> je set_func_flag %if IS_PXELINUX @@ -142,6 +144,48 @@ mov byte [FuncFlag],1 jmp short get_char_2 +display_labels: + cmp word [LabelCompl],1 ; Label completion enabled? + jnz get_char_2 + mov cx,di + sub cx,command_line + call crlf...
2006 Jul 12
2
Can''t get observe_field to take a variable for a field name
The subject pretty much says it all: I can''t?get observe_field to take a variable for a field name I''ve tried: <%= observe_field(var_name, ... <%= observe_field("#{var_name}", ... <%= observe_field(:"#{var_name}", ... No luck. Am I missing something? Thanks, : ) Jason -- Posted via http://www.ruby-forum.com/.