Displaying 2 results from an estimated 2 matches for "ctrl_f".
Did you mean:
  ctrl_w
  
2008 Aug 31
1
[RFC][PATCH] ui: label completion on tab key
...ve SI
+		cmp cx,0
+		jz .print
+		push di
+		push cx
+		mov si,command_line
+		es repe cmpsb
+		pop cx
+		pop di
+		jne .next
+.print:
+		mov al,' '
+		call writechr
+
+		mov si,di
+		call writestr
+.next:
+		pop si				; restore SI
+		jmp .scan
+.not_vk:
+		call crlf
+		jmp enter_command
+
 ctrl_f:
 		xor ah,ah
 		mov [FuncFlag],ah
Index: syslinux-3.71-27-g3d39943/core/keywords
===================================================================
--- syslinux-3.71-27-g3d39943.orig/core/keywords	2008-08-31 22:45:26.000000000 +0200
+++ syslinux-3.71-27-g3d39943/core/keywords	2008-08-31 22:45:28....
2010 Jul 15
1
Accessing command_line from core C code
....print
   push di
-  push cx
-  mov si,command_line
-  es repe cmpsb
-  pop cx
-  pop di
-  jne .next
-.print:
-  mov al,' '
-  call writechr
-
-  mov si,di
-  call writestr
-.next:
-  pop si    ; restore SI
-  jmp .scan
-.not_vk:
-  call crlf
+  pm_call pm_display_labels
   jmp fk_wrcmd
 
 ctrl_f:
This is the output:
boot:
command_line:
 justtesting kernelwithmenu linux local0 a b c d e f g h
boot: k
command_line: k
 kernelwithmenu kernelonly
boot:
command_line: k
 kernelwithmenu kernelonly
boot:
command_line:
 justtesting kernelwithmenu linux local0 a b c d e f g h
boot:
With empty com...