You can produce a tracefile, and then playback the entire session
from start to finish by specifying the tracefile instead of a host to connect
to.
#produce the tracefile to the /tmp/trace.log file
tn5250 -t /tmp/trace.log -u bgi400
#playback the trace file
tn5250 -u debug:/tmp/trace.log
Beware, the tracefile may get very large, and may contain sensitive information such as the password used to log in.
grep "^@" /tmp/trace.log > /tmp/smaller-trace.log
The last version is 0.15.3-1 (Build Date: Wed Nov 24 16:20:13)
You can get sources and binaries in the RPM (RedHat Package Manager) format at : ftp://ftp.falsehope.com/home/gomez/tn5250
Built under Redhat 5.2 + Updates + RPM 3.0.2 and work under RH 5.x and 6.x.
Signed with my PGP Key (PGP Key can be found at ftp://ftp.falsehope.com/home/gomez/Henri_Gomez.pgp.key )
Uploaded also to ftp://incoming.redhat.com so soon on all contrib mirrors
Name : tn5250
Relocations: /usr
Version : 0.15.3
Vendor: (none)
Release : 1
Build Date: Wed Nov 24 16:20:13
1999
Install date: Wed Nov 24 16:20:46 1999
Build Host: css5.cs
Group : Applications/Networking
Source RPM: tn5250-0.15.3-1.src.rpm
Size : 241368
License: GPL
Packager : Henri
Gomez <gomez@slib.fr>
URL : http://www.blarg.net/~mmadore/5250.html
Summary : 5250 Telnet protocol and Terminal
Description :
tn5250 is an implementation of the 5250 Telnet protocol.
It provide 5250 library and 5250 terminal emulation.
* Wed Nov 24 1999 Henri Gomez <gomez@slib.fr>
* Thu Nov 18 1999 Henri Gomez <gomez@slib.fr>
* Wed Nov 17 1999 Henri Gomez <gomez@slib.fr>
* Tue Nov 02 1999 Henri Gomez <gomez@slib.fr>
* Wed Oct 06 1999 Henri Gomez <gomez@slib.fr>
- updated Readme
Henri Gomez
___[_]____
EMAIL : gomez@slib.fr
(. .)
PGP KEY : 4912D659 ...oOOo..(_)..oOOo...
PGP Fingerprint : 8CAD0D50356DA7E45C540B010FFE39E8
This manual assumes that
the user is familiar with a real 5250 terminal, or another 5250 emulator,
and only describes features
relevant to tn5250 itself.
Keyboard Mapping
The following table lists
the 5250 functions implemented by tn5250, and the
corresponding key
presses. Keys
are represented as Emacs does: C-a means hold Ctrl and press A, M-a means
press Esc
or C-g followed by A, and
C-M-a means press Esc or C-g followed by C-a.
Function
Keypress
----------------------------------------
F1 - F10
f1 to f10, M-1 to M-
F11
f11 [1], M--
F12
f12 [1], M-=
F13 - F24
f13 to f24 [1], M-! to M-+
Enter
return, enter, C-j, C-m
Left
left
Right
right
Up
up
Down
down
Roll Up
next, pagedown, C-d, C-f
Roll Down
prev, pageup, C-b, C-u
Backspace
backspace [1]
Home
home, C-o
End
end
Insert
insert, M-i, M-delete
Delete
delete [1]
Reset
C-r, M-r
Print
C-p, M-p
Help
M-h
SysReq
C-c, M-s
Clear
M-c
FieldExit
C-k, C-x, M-x
TestReq
C-t
Toggle
M-t
Erase
C-e
Attn
C-a, M-a
Dup
M-d
Field+
+ [2], same as FieldExit
Field-
M-m, - [2]
NewLine
C-M-j
Next Field tab,
C-i
Prev Field backtab
[1]
----------------------------------------
Refresh
C-l, M-l
Quit
C-q
[1] Which
keys generate f11-f24, backtab, backspace and delete is very dependent
on the configuration of the terminal.
[2] + and
- only work as Field+ and Field- in signed numeric fields.