× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi

I'm trying to run tn5250 with a 5250 host simulator. Other 5250 clients (i.e. 
WRQ) have no problem connecting to it but tn5250 fails with unknown opcode. 
Below is the trace. I tried removing the assert at line 264 in session.c, but 
the connection just hangs then, probably the host waits for an answer to the 
opcode.

Kasper Rönning

------------------------------------

Non-Blocking
tn5250_dbuffer_clear_table() entered.
tn5250_char_map_new: map = "37"
Found string for cap '@8': 'M'.
'.und string for cap 'cr': '
Found string for cap 'kB'. '
Found string for cap 'k1': 'P'.
Found string for cap 'k2': 'Q'.
Found string for cap 'k3': 'R'.
Found string for cap 'k4': 'S'.
Found string for cap 'k5': ''.
Found string for cap 'k6': ''.
Found string for cap 'k7': ''.
Found string for cap 'k8': ''.
Found string for cap 'k9': ''.
Found string for cap 'k;': ''.
Found string for cap 'F1': ''.
Found string for cap 'F2': ''.
Found string for cap 'F3': '2P'.
Found string for cap 'F4': '2Q'.
Found string for cap 'F5': '2R'.                                        001/001
Found string for cap 'F6': '2S'.
Found string for cap 'F7': ''.
Found string for cap 'F8': ''.
Found string for cap 'F9': ''.
Found string for cap 'FA': ''.
Found string for cap 'FB': ''.
Found string for cap 'FC': ''.
Found string for cap 'FD': ''.
Found string for cap 'FE': ''.
Found string for cap 'kl': 'D'.
Found string for cap 'kr': 'C'.
Found string for cap 'ku': 'A'.
Found string for cap 'kd': 'B'.
Found string for cap 'kP': ''.
Found string for cap 'kN': ''.
Found string for cap 'kb': '.
Found string for cap 'kh': 'H'.
Found string for cap '@7': 'F'.
Found string for cap 'kI': ''.
Found string for cap 'kD': ''.
HOST, This->status  = 8 0
GotVerb(2):<IAC><DO>ý
GotVerb(3):<IAC><DO>ý
HandleReceive: entered.
HandleReceive: entered.
HOST, This->status  = 8 0
GotVerb(2):<IAC><WILL>û
GotVerb(3):<IAC><WILL>û
HandleReceive: entered.
HandleReceive: entered.
HOST, This->status  = 8 0
GotVerb(2):<IAC><DO><NEWENV>
GotVerb(3):<IAC><DO><NEWENV>
HandleReceive: entered.
GotSB:<IAC><SB><NEWENV><SEND>
        <USERVAR>IBMRSEED<7D 4C 23 19 F2 80 04 B2>
        <VAR><USERVAR><IAC><SE>
SentSB:<IAC><SB><NEWENV><IS>
        <VAR>TERM
        <USERVAR>IBM-3179-2<IAC><SE>
HandleReceive: entered.
HandleReceive: entered.
HOST, This->status  = 8 0
GotVerb(2):<IAC><DO><TERMTYPE>
GotVerb(3):<IAC><DO><TERMTYPE>
HandleReceive: entered.
GotSB:<IAC><SB><TERMTYPE><SEND><IAC><SE>
SentSB:<IAC><SB><TERMTYPE><IS>IBM-3179-2<IAC><SE>
HandleReceive: entered.
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><DO><BINARY>
GotVerb(3):<IAC><DO><BINARY>
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><DO><BINARY>
GotVerb(3):<IAC><DO><BINARY>
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><WILL><BINARY>
GotVerb(3):<IAC><WILL><BINARY>
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><WILL><BINARY>
GotVerb(3):<IAC><WILL><BINARY>
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><DO><END_OF_REC>
GotVerb(3):<IAC><DO><END_OF_REC>
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><DO><END_OF_REC>
GotVerb(3):<IAC><DO><END_OF_REC>
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><WILL><END_OF_REC>
GotVerb(3):<IAC><WILL><END_OF_REC>
HandleReceive: entered.
HOST, This->status  = 8 1
GotVerb(2):<IAC><WILL><END_OF_REC>
GotVerb(3):<IAC><WILL><END_OF_REC>
HandleReceive: entered.
tn5250_char_map_new: map = "37"
Dumping buffer (length=1185):
@record +0000 4e65676f 74696174 696e6720 54656c6e  +..?../..>....%>
@record +0010 6574206f 7074696f 6e732e2e 2e0d0a53  ...?...?>.......
@record +0020 656e7420 444f2053 47410d0a 53656e74  .>...|........>.
@record +0030 2057494c 4c205347 410d0a53 656e7420  ...<<........>..
@record +0040 444f204e 4557454e 5649524f 4e0d0a53  .|.+...+...|+...
@record +0050 656e7420 444f2054 45524d54 5950450d  .>...|....(..&..
@record +0060 0a53656e 74205749 4c4c2042 494e4152  ...>....<<...+..
@record +0070 590d0a53 656e7420 444f2042 494e4152  .....>...|...+..
@record +0080 590d0a53 656e7420 57494c4c 20454f52  .....>....<<..|.
@record +0090 0d0a5365 6e742044 4f20454f 520d0a04  ....>...|..|....
@record +00A0 0212a000 00040000 03044004 11001801  ...  .  .. .. ..
@record +00B0 07000000 19000000 1101013a 02011040  .   .   .......
@record +00C0 c6409940 85408540 c6409340 96408140  F r e e F l o a
@record +00D0 a34040c6 40814092 40854040 e340d540  t  F a k e  T N
@record +00E0 f540f240 f540f040 40e24085 409940a5  5 2 5 0  S e r v
@record +00F0 40854099 02014f40 bb020216 40c39697   e r..| ]... Cop
@record +0100 a8998987 88a340c6 998585c6 939681a3  yright FreeFloat
@record +0110 40c1c240 40a6a6a6 4b869985 85869396   AB  www.freeflo
@record +0120 81a34b83 96940202 4f40bb02 034f40bb  at.com..| ]..| ]
@record +0130 22c1c9c4 4020c485 a2839989 97a38996  .AID .Descriptio
@record +0140 95020428 4022c1c9 c4402040 404040c4  n... .AID .    D
@record +0150 85a28399 8997a389 96950204 4f40bb22  escription..| ].
@record +0160 60606060 2002051e 60020528 40220205  ----....-... ...
@record +0170 30602040 02054d60 4040bb22 d7c6f120  .-. ..(-  ].PF1.
@record +0180 40d48189 95409485 95a4404d a38889a2   Main menu (this
@record +0190 40a28399 8585955d 02062840 22c1e3e3   screen)... .ATT
@record +01A0 d5204040 4040e288 96a640c1 a3a38595  N.    Show Atten
@record +01B0 a3899695 40899586 9640a283 99858595  tion info screen
@record +01C0 404040bb 22d7c6f2 2040d396 87960207     ].PF2. Logo..
@record +01D0 284022c8 c5d3d720 40404040 e28896a6  . .HELP.    Show
@record +01E0 40888593 9740a283 99858595 02074f40   help screen..|
@record +01F0 bb22d7c6 f32040c3 96939699 4081a3a3  ].PF3. Color att
@record +0200 998982a4 a38540a3 85a2a302 08284022  ribute test... .
@record +0210 e2e8e2d9 c5d82040 40e385a2 a340a281  SYSREQ.  Test sa
@record +0220 a5856199 85a2a396 998540a2 83998585  ve/restore scree
@record +0230 9502084f 40bb22d7 c6f42040 e2898795  n..| ].PF4. Sign
@record +0240 60969502 09284022 d9969393 40e4d761  -on... .Roll UP/
@record +0250 c4d6e6d5 20e28399 969393a2 40978199  DOWN.Scrolls par
@record +0260 a3409686 40a28399 85859540 4040bb22  t of screen   ].
@record +0270 d7c6f520 40c68985 938440a3 85a2a302  PF5. Field test.
@record +0280 0a4f40bb 22d7c6f6 2040e689 958496a6  .| ].PF6. Window
@record +0290 40a385a2 a3020b4f 40bb22d7 c6f72040   test..| ].PF7.
@record +02A0 c3888199 8183a385 99409481 97020c4f  Character map..|
@record +02B0 40bb22d7 c6f82040 c2819983 96848540   ].PF8. Barcode
@record +02C0 99858184 020d4f40 bb22d7c6 f92040e3  read..| ].PF9. T
@record +02D0 85a2a340 96864094 81a74086 89859384  est of max field
@record +02E0 a2404df2 f5f65d02 0e4f40bb 020f4f40  s (256)..| ]..|
@record +02F0 bb02104f 40bb22d7 c6f1f020 e28599a5  ]..| ].PF10.Serv
@record +0300 85994089 9589a389 81a38584 40839695  er initiated con
@record +0310 958583a3 89969540 a288a4a3 8496a695  nection shutdown
@record +0320 02114f40 bb22d7c6 f1f620e3 85a2a340  ..| ].PF16.Test
@record +0330 96864083 93858199 40a38182 93854083  of clear table c
@record +0340 96949481 9584404d 99859496 a585a240  ommand (removes
@record +0350 81939340 86898593 84a24096 954083a4  all fields on cu
@record +0360 99998595 a340a283 99858595 5d02124f  rrent screen)..|
@record +0370 40bb22d7 c6f1f720 e385a2a3 40968640   ].PF17.Test of
@record +0380 9489a283 4b4086a4 9583a389 9695a202  misc. functions.
@record +0390 134f40bb 22d7c6f1 f820e385 a2a34096  .| ].PF18.Test o
@record +03A0 86409695 85408289 87408689 85938440  f one big field
@record +03B0 8396a585 99899587 40a38885 408595a3  covering the ent
@record +03C0 89998540 a2839985 85950214 4f40bb22  ire screen..| ].
@record +03D0 d7c6f1f9 20e385a2 a3409686 40949699  PF19.Test of mor
@record +03E0 85408689 859384a2 40a38881 95409496  e fields than mo
@record +03F0 a2a34085 94a49381 a39699a2 40838195  st emulators can
@record +0400 40888195 84938502 154f40bb 22d7c6f2   handle..| ].PF2
@record +0410 f020d682 a3818995 40899586 96999481  0.Obtain informa
@record +0420 a3899695 40818296 a4a340a3 85999489  tion about termi
@record +0430 95819340 83819781 82899389 a38985a2  nal capabilities
@record +0440 404da288 96a68584 40969540 a28599a5   (showed on serv
@record +0450 859940a2 83998585 955d40bb 22d7c6f2  er screen) ].PF2
@record +0460 f120e288 96a640e2 a38199e6 8199a240  1.Show StarWars
@record +0470 81958994 81a38996 95404da2 a3969740  animation (stop
@record +0480 81958994 81a38996 9540a689 a38840c1  animation with A
@record +0490 e3e3d540 9285a85d 02174f40 bb045200  TTN key)..| ]..
@record +04A0 00

@eor
HandleReceive: entered.
tn5250_stream_get_record: offset = 103
HandleReceive: cur_opcode = 0x6E 1
Error: unknown opcode 6E

Assertion 0 failed at session.c, line 264.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.