|
1 |
| -/* |
2 |
| - * Copyright (C) 2021-2022 The Aero Project Developers. |
3 |
| - * |
4 |
| - * This file is part of The Aero Project. |
5 |
| - * |
6 |
| - * Aero is free software: you can redistribute it and/or modify |
7 |
| - * it under the terms of the GNU General Public License as published by |
8 |
| - * the Free Software Foundation, either version 3 of the License, or |
9 |
| - * (at your option) any later version. |
10 |
| - * |
11 |
| - * Aero is distributed in the hope that it will be useful, |
12 |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
| - * GNU General Public License for more details. |
15 |
| - * |
16 |
| - * You should have received a copy of the GNU General Public License |
17 |
| - * along with Aero. If not, see <https://www.gnu.org/licenses/>. |
18 |
| - */ |
| 1 | +// Copyright (C) 2021-2022 The Aero Project Developers. |
| 2 | +// |
| 3 | +// This file is part of The Aero Project. |
| 4 | +// |
| 5 | +// Aero is free software: you can redistribute it and/or modify |
| 6 | +// it under the terms of the GNU General Public License as published by |
| 7 | +// the Free Software Foundation, either version 3 of the License, or |
| 8 | +// (at your option) any later version. |
| 9 | +// |
| 10 | +// Aero is distributed in the hope that it will be useful, |
| 11 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | +// GNU General Public License for more details. |
| 14 | +// |
| 15 | +// You should have received a copy of the GNU General Public License |
| 16 | +// along with Aero. If not, see <https://www.gnu.org/licenses/>. |
19 | 17 |
|
20 | 18 | use std::error::Error;
|
21 | 19 | use std::fs::{File, OpenOptions};
|
22 | 20 | use std::os::fd::AsRawFd;
|
23 | 21 | use std::process::Command;
|
24 | 22 |
|
25 |
| -const TTY_PATH: &str = "/dev/tty"; |
| 23 | +const TTY_PATH: &str = "/dev/vtty"; |
26 | 24 | const DEV_NULL: &str = "/dev/null";
|
27 | 25 |
|
28 | 26 | struct FileSet<const N: usize>([File; N]);
|
|
0 commit comments