blob: a38aec44d125453d01a654e3926f402cce04267a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "init.h"
#include <fcntl.h>
using namespace std;
namespace ov4
{
void init()
{
cout << "\
You are using ccshell. \n\
This is free software; see the source for copying conditions. \
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. \n\
Published under GNU AFFERO GENERAL PUBLIC LICENSE (AGPL) Version 3." << endl;
signal_init();
tty_fd = open("/dev/tty", O_RDWR);
}
}
|