This file is indexed.

/var/lib/ghc/package.conf.d/ncurses-0.2.1.conf is in libghc-ncurses-dev 0.2.1-4.

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
62
63
64
65
66
name: ncurses
version: 0.2.1
id: ncurses-0.2.1-778a02a5ff5ee0033e48d90a7fcd9158

license: GPL-3
copyright:
maintainer: John Millikin <jmillikin@gmail.com>
stability: experimental
homepage: https://john-millikin.com/software/haskell-ncurses/
package-url:
synopsis: Modernised bindings to GNU ncurses
description: GNU ncurses is a library for creating command-line application with
             pseudo-graphical interfaces. This package is a nice, modern binding
             to GNU ncurses.
             .
             The following example is a program that display the message
             \"Hello world!\" until the user hits Q:
             .
             @
             import UI.NCurses
             .
             main :: IO ()
             main = runCurses $ do
             &#x20;   setEcho False
             &#x20;   w <- defaultWindow
             &#x20;   updateWindow w $ do
             &#x20;       moveCursor 1 10
             &#x20;       drawString \"Hello world!\"
             &#x20;       moveCursor 3 10
             &#x20;       drawString \"(press q to quit)\"
             &#x20;       moveCursor 0 0
             &#x20;   render
             &#x20;   waitFor w (\ev -> ev == EventCharacter \'q\' || ev == EventCharacter \'Q\')
             .
             waitFor :: Window -> (Event -> Bool) -> Curses ()
             waitFor w p = loop where
             &#x20;   loop = do
             &#x20;       ev <- getEvent w Nothing
             &#x20;       case ev of
             &#x20;           Nothing -> loop
             &#x20;           Just ev' -> if p ev' then return () else loop
             @
category: User Interfaces, Foreign
author: John Millikin <jmillikin@gmail.com>
exposed: True
exposed-modules: UI.NCurses UI.NCurses.Panel
hidden-modules: UI.NCurses.Enums UI.NCurses.Types
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/ncurses-0.2.1/ghc-7.6.3
library-dirs: /usr/lib/haskell-packages/ghc/lib/ncurses-0.2.1/ghc-7.6.3
hs-libraries: HSncurses-0.2.1
extra-libraries: panel ncursesw
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
         containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2
         text-0.11.3.1-e38859e86485c167fa7c9441789e7607
         transformers-0.3.0.0-ff2bb6ac67241ebb987351a3db564af0
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/ncurses-0.2.1/ncurses.haddock
haddock-html: /usr/share/doc/libghc-ncurses-doc/html/