This file is indexed.

/var/lib/ghc/package.conf.d/ncurses-0.2.11.conf is in libghc-ncurses-dev 0.2.11-3build1.

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
name: ncurses
version: 0.2.11
id: ncurses-0.2.11-075c61150b999185c7d1ce8c87d9bb6d
key: ncurs_AXGgp7GHOHGAl8KKGn1LNg
license: GPL-3
maintainer: John Millikin <jmillikin@gmail.com>
stability: experimental
homepage: https://john-millikin.com/software/haskell-ncurses/
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 displays 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.Compat UI.NCurses.Types
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/ncurses-0.2.11-AXGgp7GHOHGAl8KKGn1LNg
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/ncurses-0.2.11-AXGgp7GHOHGAl8KKGn1LNg
data-dir: /usr/share/ncurses
hs-libraries: HSncurses-0.2.11-AXGgp7GHOHGAl8KKGn1LNg
extra-libraries:
    panelw ncursesw pthread
depends:
    base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d
    containers-0.5.6.2-59326c33e30ec8f6afd574cbac625bbb
    text-1.2.2.0-2c09cfae3213a07ad08b7cc1c9a4bb52
    transformers-0.4.2.0-81450cd8f86b36eaa8fa0cbaf6efc3a3
haddock-interfaces: /usr/lib/ghc-doc/haddock/ncurses-0.2.11/ncurses.haddock
haddock-html: /usr/share/doc/libghc-ncurses-doc/html/