Sun May 31 22:02:33 1998 Norbert Warmuth <k3190@fh-sw.de>

* po/it.po: deleted additional "\n" in one msgstr


Sun May 31 10:23:01 1998  Norbert Warmuth  <k3190@fh-sw.de>

* key.c (define_sequence): If a sequence clashes the last
definition made will be used. This makes it possible to override
wrong definitions in terminfo/termcap database with learn keys (or
the appropriate entries in mc.lib and ~/.mc/ini).

* widget.c (show_hist): Don't display the listbox partly
off screen (the left panel's history started in column - 2).

* keyxdef.c: include tty.h instead of myslang.h as suggested by
Tamasi Gyorgy <gt_cosy@usa.net>


Fri May 29 15:41:19 1998  Alexander V. Lukyanov <lav@yars.free.net>

* widget.c (update_input): this patch allows entering 8-bit
characters in input fields without screwing attributes. (the
same old sign extension...)


Wed May 27 22:23:48 1998  Ed Cogburn <ecogburn@greene.xtn.net>

* lib/xterm.ti: The 'xterm-color' definition needs 'sgr0'. The tic
program from ncurses 4.2 doesn't like the xterm.ti file that comes
with mc.


Wed May 27 15:29:01 1998  Alexander V. Lukyanov <lav@yars.free.net>

* key.c (get_key_code): characters with high bit set were input
as 0x80 char when use_8th_bit_as_meta was set
This commit is contained in:
Norbert Warmuth 1998-05-31 20:27:44 +00:00
parent cf4ab0a753
commit 5c693c75be
7 changed files with 45 additions and 7 deletions

View File

@ -115,7 +115,7 @@ xterm|vs100|xterm terminal emulator (X Window System),
sgr0=\E[m^O,
xterm-color|color-xterm|color xterm terminal emulator (X Window System),
use=xterm-basic,
use=xterm,
colors#8, pairs#64,
# Set all color pairs to the original ones

View File

@ -1,3 +1,7 @@
Sun May 31 22:02:33 1998 Norbert Warmuth <k3190@fh-sw.de>
* it.po: deleted additional "\n" in one msgstr
Wed May 13 12:24:30 1998 Norbert Warmuth <k3190@fh-sw.de>
* Makefile.in.in: Don't depend on VPATH when checking the

View File

@ -2155,9 +2155,8 @@ msgid ""
" Help file format error\n"
"\004"
msgstr ""
"\n"
" Errore nel formato del file di aiuto\n"
""
"\004"
#: src/help.c:320
msgid " Internal bug: Double start of link area "

View File

@ -1,3 +1,33 @@
Sun May 31 10:23:01 1998 Norbert Warmuth <k3190@fh-sw.de>
* key.c (define_sequence): If a sequence clashes the last
definition made will be used. This makes it possible to override
wrong definitions in terminfo/termcap database with learn keys (or
the appropriate entries in mc.lib and ~/.mc/ini).
* widget.c (show_hist): Don't display the listbox partly
off screen (the left panel's history started in column - 2).
* keyxdef.c: include tty.h instead of myslang.h as suggested by
Tamasi Gyorgy <gt_cosy@usa.net>
Fri May 29 15:41:19 1998 Alexander V. Lukyanov <lav@yars.free.net>
* widget.c (update_input): this patch allows entering 8-bit
characters in input fields without screwing attributes. (the
same old sign extension...)
Wed May 27 22:23:48 1998 Ed Cogburn <ecogburn@greene.xtn.net>
* lib/xterm.ti: The 'xterm-color' definition needs 'sgr0'. The tic
program from ncurses 4.2 doesn't like the xterm.ti file that comes
with mc.
Wed May 27 15:29:01 1998 Alexander V. Lukyanov <lav@yars.free.net>
* key.c (get_key_code): characters with high bit set were input
as 0x80 char when use_8th_bit_as_meta was set
1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* ext.h (MC_USER_EXT): New name for the per-user extension file

View File

@ -394,6 +394,8 @@ void define_sequence (int code, char *seq, int action)
return;
} else {
/* The sequence clashes */
base->code = code;
base->action = action;
return;
}
} else {
@ -531,7 +533,7 @@ int get_key_code (int no_delay)
parent = NULL;
if ((c & 0x80) && use_8th_bit_as_meta) {
c &= ~0x7f;
c &= 0x7f;
/* The first sequence defined starts with esc */
parent = keys;

View File

@ -40,7 +40,7 @@
#include <config.h>
#include "mouse.h" /* required before key.h */
#include "key.h"
#include "myslang.h"
#include "tty.h"
#ifdef __QNX__

View File

@ -828,7 +828,7 @@ update_input (WInput *in, int clear_first)
#ifndef HAVE_XVIEW
int has_history = 0;
int i, j;
char c;
unsigned char c;
int buf_len = strlen (in->buffer);
if (should_show_history_button (in))
@ -1049,7 +1049,10 @@ char *show_hist (Hist *history, int widget_x, int widget_y)
h = min(h, LINES - y);
}
x = widget_x - 2;
if (widget_x > 2)
x = widget_x - 2;
else
x = 0;
if ((w = maxlen + 4) + x > COLS)
{
w = min(w,COLS);