aboutsummaryrefslogtreecommitdiff
path: root/src/init.cc
blob: a28b5bb758c1840bd25effb9afa8a083e5890b2c (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
25
26

#include "init.h"

#include <fcntl.h>
#include "pipe.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;

    self_pipe_init();
    signal_init();

    tty_fd = open("/dev/tty", O_RDWR);

}

}