[syslinux:master] lua: docs: add new bindings to syslinux.asc

syslinux-bot for Ferenc Wágner wferi at niif.hu
Sat Feb 14 11:09:12 PST 2015


Commit-ID:  e8e42cdcbfb05a82b19b8b16ef7398a3873e5335
Gitweb:     http://www.syslinux.org/commit/e8e42cdcbfb05a82b19b8b16ef7398a3873e5335
Author:     Ferenc Wágner <wferi at niif.hu>
AuthorDate: Thu, 3 Jul 2014 16:19:04 +0200
Committer:  Ferenc Wágner <wferi at niif.hu>
CommitDate: Sat, 11 Oct 2014 21:59:15 +0200

lua: docs: add new bindings to syslinux.asc

Signed-off-by: Ferenc Wágner <wferi at niif.hu>

---
 com32/lua/doc/syslinux.asc | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/com32/lua/doc/syslinux.asc b/com32/lua/doc/syslinux.asc
index 4e0b48d..4e8a1ef 100644
--- a/com32/lua/doc/syslinux.asc
+++ b/com32/lua/doc/syslinux.asc
@@ -70,8 +70,14 @@ FIXME
 
 FIXME
 
+.IMAGE_TYPE
+
+A table containing the possible "kernel" types for +run_kernel_image()+.
+
 .run_kernel_image(kernel, cmdline, ipappend_flags, type)
 
+Run the specified kernel. +type+ is one of the values of the +IMAGE_TYPE+ table.
+
 FIXME
 
 .loadfile(filname)
@@ -86,7 +92,7 @@ Return size of +file+ (loaded by loadfile())
 
 Return name of +file+ (loaded by loadfile())
 
-.in itramfs_init()
+.initramfs_init()
 
 Return empty initramfs object
 
@@ -124,6 +130,20 @@ _Example_:
 	
 ......................................................
 
+.KEY
+
+Table containing the return values of +get_key()+ for special (eg. function)
+keys.
+
+.KEY_CTRL(key)
+
+Return the code for the Ctrl-modified version of the given ASCII code.
+
+.get_key(timeout)
+
+Wait at most +timeout+ ms for a key press.
+Return the ASCII code of the pressed key, some other value of the +KEY+
+table, or +KEY.NONE+ on timeout.
 
 
 DMI


More information about the Syslinux-commits mailing list