This file is indexed.

/usr/include/scilab/termcapManagement.h is in scilab-include 6.0.1-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2011 - DIGITEO - Karim Mamode
*
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
*/

#ifndef CAP_FUNC_H_
#define CAP_FUNC_H_

/* TODO: Check if it is really portable */

/* Token used to differentiate DEL key from Backspace key for rmChar */

/* When backspace is pressed */
#define SCI_BACKSPACE 0x7f
/* when delete is pressed */
#define SCI_DELETE 0X1b5b337e

/* Value returned by getchar/getwchar by pressing ctrl + key */
#define CTRL_A 0x01
#define CTRL_B 0x02
#define CTRL_D 0x04
#define CTRL_E 0x05
#define CTRL_F 0x06
#define CTRL_H 0x08
#define CTRL_I 0x09
#define CTRL_K 0x0B
#define CTRL_L 0x0C
#define CTRL_M 0x0D
#define CTRL_N 0x0E
#define CTRL_P 0x10
#define CTRL_U 0x15
#define CTRL_W 0x17

/* Define for meta key (alt + key or escape) */
#define ESCAPE 0x1b

/**
 * Turn a capacity on, Useful to simplify termcap use.
 * TODO: please rename for something more explicit (startTermcap ?)
 * @param capacity to activate.
 */
void setStringCapacities(const char *str);

/**
 * Move cursor using termcap, Useful to simplify termcap use.
 * Note: Can be consider as x,y coordinates.
 * @param column where cursor will move
 * @param line where cursor will move
 */
void capGoto(int col, int li);

#endif /* !CAP_FUNC_H_ */