Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/stapgames/tapset/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/stapgames/tapset/cursor.stp
# ANSI Escape sequences
# Copyright (C) 2008 Masami Hiramatsu <[email protected]>
#
# This file is free software and is distributed under the terms of the GNU
# General Public License (GPL); either version 2, or (at your option) any
# later version.

/*
 * cursor_move
 *
 * Move cursor to x-y position
 */
function cursor_move(x:long, y:long)
{
	printf("\033[%d;%dH", y, x)
}

function cursor_cls()
{
	print("\033[1;1H\033[J")
}

function cursor_show()
{
	print("\033[>5h")
}

function cursor_hide()
{
	print("\033[>5I")
}

function cursor_save()
{
	print("\033[s")
}

function cursor_restore()
{
	print("\033[u")
}

function cursor_set_color(parm1:long)
{
	printf("\033[%dm", parm1)
}
function cursor_set_color2(parm1:long, parm2:long)
{
	printf("\033[%d;%dm", parm1, parm2)
}
function cursor_set_color3(parm1:long, parm2:long, parm3:long)
{
	printf("\033[%d;%d;%dm", parm1, parm2, parm3)
}

function cursor_reset_color()
{
	cursor_set_color2(0,0)
}


Spamworldpro Mini