Debian Codegraph @

debian/FAQ

raw
1 This file is a list of frequently reported problems with ncurses which are
2 considered bugs elsewhere or configuration problems. If you're going to report a
3 bug in ncurses, you should probably look over this list first.
4
5 ********
6
7 If you use escape codes to configure a terminal, ncurses applications will just
8 overwrite your settings when they exit.
9
10 The proper way to do this is to also provide a custom terminfo type which sets
11 the terminal correctly. For instance, for controlling the cursor
12 shape/color/etc., change the 'cnorm' capability.
13
14 ********
15
16 If you hit the "Print Screen" key while in a Linux console, your current
17 application will likely dump core.
18
19 The kernel maps that key to ^\, which generates a SIGQUIT by default. There's no
20 bug here (although why that key was chosen is unclear).
21
22 ********
23
24 Home/End keys don't work in some non-full-screen applications.
25
26 The situation with this is somewhat complicated. For a background summary, see:
27
28 http://invisible-island.net/xterm/xterm.faq.html#xterm_pc_style
29 http://invisible-island.net/xterm/xterm.faq.html#xterm_arrows
30
31 Essentially, the key sequences in terminfo entries (particularly khome and kend)
32 are for full-screen applications only. This means that they are only valid after
33 an 'smkx' sequence, to put the terminal into application mode. If you want to
34 use these sequences in non-application mode, you need to recognize similar
35 sequences - the versions which start with CSI (\E [) rather than SS3 (\E O). One
36 example of how is in /etc/zshrc in recent Debian ZSH packages.
37
38 ********
39
40 The Debian terminfo entry for xterm doesn't work with some other xterms
41
42 There's no way to win this. For a while, Debian made its xterm default to a
43 terminal type of 'xterm-debian', which seemed to fix the problem. In that case,
44 however, connecting to remote non-Debian machines requires you to change your
45 terminal type (since there will be no entry for xterm-debian there). Having
46 changed back to a default terminal type of 'xterm', when you sit at a non-Debian
47 system using some other version of xterm, applications on the Debian system may
48 use features not available in your current xterm.
49
50 The only workaround for this problem is to set your terminal type from xterm to
51 one of the feature-limited versions when you log in to a Debian system remotely.
52 "xterm-r6" and the associated terminal types are appropriate for this.