Open caltrop2075 opened 6 years ago
What do you exactly mean by "trapping"?
F1 (help), F10 (menu) and F11 (fullscreen) are not delivered to the app running inside the terminal emulator, but are handled by mate-terminal itself by default. You can change this under Edit -> Keyboard shortcuts.
If this is not what you meant, could you please attach an example ncurses app, or step by step instructions what you're trying to do in nano
, and explain what behavior you expect vs what happens actually? Thanks!
Expected behaviour
trapping of F-Keys
Actual behaviour
mate-terminal will NOT allow trapping of F-Keys. This makes custom programming impossible using ncurses & other programs like nano. This also violates POSIX Standards.
Steps to reproduce the behaviour
write ncurses code to trap F-Keys
MATE general version
MATE 1.18.0
Package version
unknown
Linux Distribution
Linux Mint 18.2 Sonya
Link to downstream report of your Distribution
none
Additional Information
CPU: AMD Athlon(tm) II P360 Dual-Core x 2 MEM: 3783MB (1009MB used) SCSI: ATA WDC WD3200BEVT-7 320 GB TSSTcorp DVD+-RW TS-L633C DISP: Resolution 1366x768 pixels OpenGL Renderer Gallium 0.4 AMD RS880 (DRM 2.49.0 / 4.10.0-32-generic,LLVM 4.0.0) USR: XXXXXXX (XXXXXXXXX XXXXXXXX) Linux Mint 18.2 Sonya Kernal Linux 4.10.0-33-generic x86_64 MATE 1.18.0 mate-terminal 1.18.1 Fri Oct 13 01:11:36 ~ $ echo $TERM xterm ncurses Copyright (c) 1998-2015,2016 Free Software Foundation, Inc.