initial checkin from subversion

This commit is contained in:
Tretter
2017-02-07 20:07:58 +00:00
commit e4f468da4b
84 changed files with 18782 additions and 0 deletions

31
drittes.cc Normal file
View File

@@ -0,0 +1,31 @@
#include <curses.h>
int main()
{
WINDOW *stdscr;
const char *str1 = "Eins ";
int z;
stdscr = initscr();
int sc=start_color();
nonl();
intrflush(stdscr, FALSE);
keypad(stdscr, TRUE);
int cp=init_pair(1,(COLOR_BLUE),COLOR_BLACK);
cp=init_pair(2,COLOR_BLUE,COLOR_MAGENTA);
attrset(COLOR_PAIR(1));
attron(WA_BOLD);
box(stdscr,0,0);
for (z=1;z < 5;z++)
{
move(z,1);
attrset(COLOR_PAIR(1));
addstr(str1);
attrset(COLOR_PAIR(2));
addstr(str1);
}
refresh();
sleep(1);
endwin();
return 0;
}