mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Make it work with "Sun Function-Keys" Xterm
- Bump PORTREVISION PR: ports/156521 Submitted by: David O'Brien (obrien@)
This commit is contained in:
parent
e07f24e4aa
commit
a8cd5b4193
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273046
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= omnitty
|
||||
PORTVERSION= 0.3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
|
@ -1,6 +1,19 @@
|
||||
--- main.c.orig 2005-10-26 06:08:25.000000000 +0800
|
||||
+++ main.c 2008-02-17 22:45:29.000000000 +0800
|
||||
@@ -335,9 +335,10 @@
|
||||
+++ main.c 2011-04-22 23:14:33.000000000 +0800
|
||||
@@ -88,6 +88,12 @@
|
||||
define_key("\e[15~", KEY_F(5)); define_key("\e[17~", KEY_F(6));
|
||||
define_key("\e[18~", KEY_F(7)); define_key("\e[19~", KEY_F(8));
|
||||
define_key("\e[20~", KEY_F(9)); define_key("\e[21~", KEY_F(10));
|
||||
+ /* If "Sun Function-Keys" is enabled in your Xterm: */
|
||||
+ define_key("\e[224z", KEY_F(1)); define_key("\e[225z", KEY_F(2));
|
||||
+ define_key("\e[226z", KEY_F(3)); define_key("\e[227z", KEY_F(4));
|
||||
+ define_key("\e[228z", KEY_F(5)); define_key("\e[229z", KEY_F(6));
|
||||
+ define_key("\e[230z", KEY_F(7)); define_key("\e[231z", KEY_F(8));
|
||||
+ define_key("\e[232z", KEY_F(9)); define_key("\e[233z", KEY_F(10));
|
||||
|
||||
getmaxyx(stdscr, h, w);
|
||||
if (h < MIN_REQUIRED_HEIGHT || w < MIN_REQUIRED_WIDTH) {
|
||||
@@ -335,9 +341,10 @@
|
||||
|
||||
while (!quit) {
|
||||
if (zombie_count) {
|
||||
|
Loading…
Reference in New Issue
Block a user