!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/share/doc/ncurses-devel-5.4/test/   drwxr-xr-x
Free 3.76 GB of 27.03 GB (13.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     background.c (1.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
* $Id: background.c,v 1.1 2003/12/07 00:06:33 tom Exp $
*/

#include <test.priv.h>

int
main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
{
    short f, b;

    initscr();
    cbreak();
    noecho();

    if (has_colors()) {
    start_color();

    pair_content(0, &f, &b);
    printw("pair 0 contains (%d,%d)\n", f, b);
    getch();

    printw("Initializing pair 1 to red/black\n");
    init_pair(1, COLOR_RED, COLOR_BLACK);
    bkgdset(' ' | COLOR_PAIR(1));
    printw("RED/BLACK\n");
    getch();

    printw("Initializing pair 2 to white/blue\n");
    init_pair(2, COLOR_WHITE, COLOR_BLUE);
    bkgdset(' ' | COLOR_PAIR(2));
    printw("WHITE/BLUE\n");
    getch();

    printw("Resetting colors to pair 0\n");
    bkgdset(' ' | COLOR_PAIR(0));
    printw("Default Colors\n");
    getch();

    printw("Resetting colors to pair 1\n");
    bkgdset(' ' | COLOR_PAIR(1));
    printw("RED/BLACK\n");
    getch();

    printw("Setting screen to pair 0\n");
    bkgd(' ' | COLOR_PAIR(0));
    getch();

    printw("Setting screen to pair 1\n");
    bkgd(' ' | COLOR_PAIR(1));
    getch();

    printw("Setting screen to pair 2\n");
    bkgd(' ' | COLOR_PAIR(2));
    getch();

    printw("Setting screen to pair 0\n");
    bkgd(' ' | COLOR_PAIR(0));
    getch();

    } else {
    printw("This demo requires a color terminal");
    getch();
    }
    endwin();

    ExitProgram(EXIT_SUCCESS);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.003 ]--