search for: 033e

Displaying 9 results from an estimated 9 matches for "033e".

Did you mean: 033
2008 Dec 10
1
reference for console printing
Hi there, Can someone suggest a good reference or documentation for the syntax used for printing to the console in comboot programs? I have found a few examples but they don't go into much detail. Thanks for the help. Example: void clear_screen { fputs("\033e\033%@\033)0\033(B\1#0\033[?25l\033[2J", stdout); }
1998 Sep 08
0
SysV interface script
...t for the service name? Something like: # smbclient -L $server | grep Printer | awk '{ print $1 }' -ne $service ?? # i=1 while [ $i -le $copies ] do ( trap "exit 1" 13 echo translate echo "print -" case "$printer" in An-HPLJ-printer) echo '\033E\c' ;; esac cat $* case "$printer" in HPLJ) echo '\033E\c' ;; esac ) | $smbclient "\\\\$server\\$service" $pw -N -P -U % > /dev/null 2> /dev/null i=`expr $i + 1` done exit=$? if [ $exit -ne 0 ] then # # Lpsched seems a lit...
2009 Feb 22
2
NEW: COM32 module to run another command, optionally clearing the screen
From: Gene Cumm <gene.cumm at gmail.com> run.c: A simple COM32 module that will optionally clear the screen (using newlines) then run a command. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- This is based on my alias COM32 module that I submitted back in October, with some improvements to clean up debugging code and optionally clear the screen. LABEL et KERNEL run.c32
2012 May 04
3
[GIT PULL] elflink fixes
.../elflink/ldlinux/cli.c +++ b/com32/elflink/ldlinux/cli.c @@ -19,8 +19,6 @@ #include "cli.h" #include "config.h" -static jmp_buf timeout_jump; - static struct list_head cli_history_head; void clear_screen(void) @@ -29,46 +27,37 @@ void clear_screen(void) fputs("\033e\033%@\033)0\033(B\1#0\033[?25l\033[2J", stdout); } -int mygetkey(clock_t timeout) +static int mygetkey_timeout(clock_t *kbd_to, clock_t *tto) { - clock_t t0, t; - clock_t tto, to; + clock_t t0, t1; int key; - //dprintf("enter"); - if (!totaltimeout) - return...
2010 Apr 23
1
Path simple menu integrated progress indicator
...p++; + } + + return found; +} + +void console_prepare(void) +{ + fputs("\033[0m\033[25l", stdout); +} + +void console_cleanup(void) +{ + /* For the serial console, be nice and clean up */ + fputs("\033[0m", stdout); +} + +void +clear_screen(void) +{ + fputs("\033e\033%@\033)0\033(B\1#0\033[?25l\033[2J", stdout); +} + +int initramfs_load_archive_w_callback(struct initramfs *ihead, const char *filename, void (*callback)(const char* name, size_t cur, size_t total)) +{ + void *data; + size_t len; + + if (loadfile_w_callback(filename, &data, &len,...
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com> These patches are based on the elflink branch. This set of patches is my attempt at moving the command-line interface functionality out of the core and into an ELF module to reduce the size of the core. The most interesting patch is [PATCH 4/4] which moves the cli code out of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com> This series fixes some bugs and switches the elflink branch to be entirely ELF modules. It applies on top of, http://syslinux.zytor.com/archives/2011-April/016369.html The deletions in the diff stat below are mainly from deleting com32/elflink/modules (finally!). Now there should be no duplicate code because we don't need COM32 and