clex: update to 4.0

This commit is contained in:
Juergen Daubert 2008-12-24 12:05:25 +01:00
parent c79953e8be
commit 96e3fd44f4
5 changed files with 5 additions and 31 deletions

View File

@ -1,6 +1,8 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/cfg-clex
-rwxr-xr-x root/root usr/bin/clex
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/cfg-clex.1.gz
-rw-r--r-- root/root usr/man/man1/clex.1.gz

View File

@ -1,2 +1 @@
5547890e8cb873eab85894775e8e2d21 clex-3.18.tar.gz
ee270c60bc5e8b0afc81340528c7d32f clex-bs.patch
57eb7b245e6aa5f60fd66076861c5895 clex-4.0.tar.gz

View File

@ -4,14 +4,12 @@
# Depends on: ncurses
name=clex
version=3.18
version=4.0
release=1
source=(http://www.clex.sk/download/$name-$version.tar.gz \
$name-bs.patch)
source=(http://www.clex.sk/download/$name-$version.tar.gz)
build () {
cd $name-$version
patch -p1 -i $SRC/$name-bs.patch
./configure --prefix=/usr --mandir=/usr/man
make
make DESTDIR=$PKG install

View File

@ -1,13 +0,0 @@
README for clex 3.1.x
To get working function keys F1-F4 with xterm append
the following lines to /etc/X11/app-defaults/Xterm:
*VT100.translations: #override \
~s<Key>F1: string(0x1b) string("[11~") \n\
~s<Key>F2: string(0x1b) string("[12~") \n\
~s<Key>F3: string(0x1b) string("[13~") \n\
~s<Key>F4: string(0x1b) string("[14~") \n\
Note: this is not a problem of clex, but of the
standard configuration of xterm.

View File

@ -1,12 +0,0 @@
diff -Nru clex-3.15_test1.orig/src/inout.c clex-3.15_test1/src/inout.c
--- clex-3.15_test1.orig/src/inout.c 2006-05-10 20:54:10.000000000 +0200
+++ clex-3.15_test1/src/inout.c 2006-05-10 20:55:42.000000000 +0200
@@ -290,7 +290,7 @@
if (key == KEY_SUSPEND)
return CH_CTRL('Z');
#endif
- if (key == KEY_BACKSPACE)
+ if (key == KEY_BACKSPACE || key == 127)
return CH_CTRL('H');
if (key == KEY_ENTER)
return CH_CTRL('M');