Commit 49318958 authored by Jason 'Eraserhead' Felice's avatar Jason 'Eraserhead' Felice
Browse files

- Okay, really applied second patch from Dave McKenzie *sigh*

- Applied patch from Carey Evans to fix option parsing in xt5250.
- Changed src/Makefile.am for compatibility with robodoc 3.2.2.
- Released 0.16.1
parent bab062a2
2000-12-19 Jay 'Eraserhead' Felice <jfelice@cronosys.com>
- Okay, really applied second patch from Dave McKenzie *sigh*
- Applied patch from Carey Evans to fix option parsing in xt5250.
- Changed src/Makefile.am for compatibility with robodoc 3.2.2.
- Released 0.16.1
2000-12-06 Jay 'Eraserhead' Felice <jfelice@cronosys.com>
- Fixed text of LGPL exception clause in src/*.[ch]
......
......@@ -2,7 +2,7 @@ dnl ** Process this file with autoconf to produce a configure script.
AC_INIT(src/tn5250.c)
dnl ** Automake Intialization
AM_INIT_AUTOMAKE(tn5250, 0.16.0)
AM_INIT_AUTOMAKE(tn5250, 0.16.1)
AM_CONFIG_HEADER(src/tn5250-config.h)
AC_ARG_ENABLE(old-keys,
[ --enable-old-keys Use the old key handler, which has some quirks
......
......@@ -118,7 +118,7 @@ docs:
for file in $(DOCFILES) ; do \
robodoc $$file ../doc/$$file.html HTML -x ../doc/index.xrefs ; \
done ; \
robodoc ../doc/index.xrefs ../doc/index.html INDEX ; \
robodoc ../doc/index.xrefs ../doc/index.html INDEX HTML ; \
rm -f ../doc/*.xref ../doc/index.xrefs )
clean-local:
......
......@@ -1053,7 +1053,7 @@ static int curses_terminal_getkey (Tn5250Terminal *This)
/* Retreive all keys from the keyboard buffer. */
while (This->data->k_buf_len < MAX_K_BUF_LEN && (ch = getch ()) != ERR) {
TN5250_LOG(("curses_getch: recevied 0x%02X.\n", ch));
TN5250_LOG(("curses_getch: received 0x%02X.\n", ch));
/* FIXME: Here would be the proper place to get mouse events :) */
......
......@@ -496,7 +496,6 @@ static void tn5250_session_process_stream(Tn5250Session * This)
int cur_command;
TN5250_LOG(("ProcessStream: entered.\n"));
tn5250_display_clear_pending_insert (This->display);
while (!tn5250_record_is_chain_end(This->record)) {
cur_command = tn5250_record_get_byte(This->record);
......@@ -541,7 +540,6 @@ static void tn5250_session_process_stream(Tn5250Session * This)
case CMD_RESTORE_SCREEN:
/* Ignored, the data following this should be a valid
* Write To Display command. */
tn5250_session_clear_unit(This);
break;
case CMD_WRITE_ERROR_CODE:
tn5250_session_write_error_code(This);
......@@ -717,7 +715,9 @@ static void tn5250_session_write_to_display(Tn5250Session * This)
int old_x = tn5250_display_cursor_x(This->display);
int old_y = tn5250_display_cursor_y(This->display);
int is_x_system;
int will_be_unlocked;
int cur_opcode;
TN5250_LOG(("WriteToDisplay: entered.\n"));
CC1 = tn5250_record_get_byte(This->record);
......@@ -818,9 +818,12 @@ static void tn5250_session_write_to_display(Tn5250Session * This)
is_x_system = tn5250_display_indicators(This->display)
& TN5250_DISPLAY_IND_X_SYSTEM;
will_be_unlocked = ((CC2 & TN5250_SESSION_CTL_UNLOCK) != 0);
cur_opcode = tn5250_record_opcode(This->record);
if (end_y != 0xff && end_x != 0xff)
tn5250_display_set_cursor(This->display, end_y, end_x);
else if(is_x_system) {
else if((is_x_system && will_be_unlocked) ||
cur_opcode == TN5250_RECORD_OPCODE_RESTORE_SCR) {
tn5250_display_set_cursor_home (This->display);
} else {
tn5250_display_set_cursor(This->display, old_y, old_x);
......
......@@ -21,14 +21,11 @@ get_host () {
XT5250_HOST=""
while [ $# -ne 0 ] ; do
case "$1" in
-h|--help)
-help)
exec "$bindir/tn5250";;
-V|--version)
exec "$bindir/tn5250" -V;;
-m|-s|-t|-y)
shift
;;
-*)
-version)
exec "$bindir/tn5250" -version;;
-*|*=*)
;;
*)
if [ -z "$XT5250_HOST" ] ; then XT5250_HOST="$1" ; fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment