Maybe better screenshot of exported html file without inspector tools
Screenshot of exported html
Hello, I have problem with exporting some "fancy" screens to HTML. On x3270/wc3270 is everything displayed correctly (screenshot x3270.png), but HTML file is created incorrectly, whole deep sky blue "frame" is inverted (html_export.png). When I change color to background color and vice versa (for certain parts in html file) everything looks fine. I don't know if this is bug or incorrect settings, but I can't find any relevant settings. I know support of IBM i (AS/400) isn't main goal for this project,...
You probably want to look at this: https://x3270.miraheze.org/wiki/Idle_facility In your session file, you can add these definitions: wc3270.idleCommand: Enter() wc3270.idleCommandEnabled: true wc3270.idleTimeout: 60s
Hi everyone, i need crear a Script can send a key enter on a cycle , pls My season of mainframe logout my session if no press any key on 5 minutes, i hope that everyone can help pls I have this old script pero only run for other emulator: Enter1: KEY ENTER WAIT 60000 KEY ENTER WAIT 60000 GOTO Enter1: thanks you
Yes, oversize is supported by wc3270.
Thanks Paul, just to confirm , the "-oversize 160x162" does work with wc3270? Regards Tina
There is no exact equivalent, unfortunately. The closest you can come would be this: conhost wc3270.exe -model 3279-5 -oversize 160x62 -accepthostname 10.242.x.x 141.124.xxx.xxx:992 The differences are: * wc3270 does not use the same fonts as x3270. You can use the wc3270 Session Wizard to create a desktop shortcut that specifies a larger font than the default, but there is no way to do that from the command line. * You cannot specify a CA file from the Windows command line. You need to install the...
Hello all, from the Linux (Debian) command line, I run this x3270 string - x3270 -model 3279-5 -efont "3270gt32" -oversize 160x62 -cafile CPM5neu.txt -accepthostname 10.242.x.x 141.125.xxx.xxx:992. This works flawlessly. What would the exact equivalent of the above be, using windoze WC3270 from the command line? TIA Tina
Hello all, from the Linux (Debian) command line, I run this x3270 string - x3270 -model 3279-5 -efont "3270gt32" -oversize 160x62 -cafile CPM5neu.txt -accepthostname 10.242.x.x 141.125.xxx.xxx:992. This works flawlessly. What would the exact equivalent using windoze WC3270 from the command line? TIA Tina
Hello all, from the Linux (Debian) command line, I run this x3270 string - x3270 -model 3279-5 -efont "3270gt32" -oversize 160x62 -cafile CPM5neu.txt -accepthostname 10.242.x.x 141.125.xxx.xxx:992. This works flawlessly. What would the exact equivalent using windoze WC3270 from the command line? TIA Teddy
Have you let the OpenSSL project know, or is there a fixed 3.3 available?
Fix webpage build with symlinks gone
Paul, Thanks again for all your help. We finally figured out it is an issue with Openssl v 3.3 that was being used. I've been able to spin up a docker image, and use Openssl v3.0.14, and it finally works. What a weird one.
Allow CUT transfers even when the host uses EWA instead of EW
st-relay tweaks
will do, thanks so much for all your time looking into it! Hopefully we can get the host admin to figure something out; in contact with them now to see if they know. On Mon, Aug 19, 2024 at 2:08 PM Paul Mattes pmattes@users.sourceforge.net wrote: Either way, it appears to be beyond my control. You might want to take it up with the admins on the host (in case they have some sort of special TLS config, or can help with tracing on their end) or with the OpenSSL project. Please update this thread with...
Either way, it appears to be beyond my control. You might want to take it up with the admins on the host (in case they have some sort of special TLS config, or can help with tracing on their end) or with the OpenSSL project. Please update this thread with anything you find.
That won't connect either. Now i wonder if they have a server misconfiguration or its an openssl issue.
This is disappointingly unhelpful. It looks like the host rejected the TLS negotiation immediately -- it read the HELLO message and broke the connection. My best guess is that it requires a cipher that OpenSSL does not support. That seems a bit strange, though, because the Windows trace shows the successfully negotiated cipher as AES256, which as far as I know, OpenSSL does support. You might try the 'openssl' command (openssl s_client -state -debug host:port) to see if it is able to connect and...
Here is a trace from the Mac.
thanks! i can get you the trace from the linux box, if that would provide some info?
If the host does not support 1.3, then I don't know what would be obviously wrong with s3270. But I will do some experiments regardless, to see if I can hit a combination that fails as you have reported. If you get any other data points, please let me know.
Thanks, this host seems to have 1.3 disabled, from running sslscan. Its interesting .. Thanks for taking a look!
Interestingly, from the trace it appears to be using TLS 1.2, but I will dig into what happens when s3270+OpenSSL tries connecting to a host that wants to do 1.3.
Looks like its connecting via 1.3. Here is the py3270 trace, hopefully that has what you are looking for.
Yes, the fundamental difference is that Ubuntu and macOS use OpenSSL, but Windows uses schannel (built into Windows). I'm wondering if the difference is TLS 1.3. When you are connected via Windows s3270, would it be possible to capture the output of the action 'Show(TlsSessionInfo)'? That would give me the details of the successful connection.
Issues connecting to MF via TLS on Mac \ Linux
Move tightvncserver into a common class
Aha..okay, I understand. Nevermind then. Thanks!!
What password are you referring to? If this is something appearing on the 3270 screen, the size of those fields is controlled by the host, not by wc3270.
How can i get wc3270 to accept passwords longer than 6 postions? /Christer H
Remove interference between tightvncserver sessions and the GNOME desktop
Fix clean and clobber targets
Added -utenv option to explicitly enable UT-specific environment variables
I'm glad I don't need to go down the iffy path. Yes, wc3270 and wx3270 have two network-based APIs, a proprietary one (https://x3270.miraheze.org/wiki/S3270_protocol) and an HTTP server (https://x3270.miraheze.org/wiki/HTTP_server). There is an interface library to make the former a bit simpler with things like vbscript, but I end up using the HTTP server most of the time, along with the Python requests library.
This has been an iffy area in almost all the emulators I have used. For the most part, I can get it to work. Here is where I am at, and I think I can live with it. I can map all the keys on the keypad except Num Lock. So I can shift-F1 if I need it. The other key mapping is an irritation, but I can live with work arounds. Thanks for your attention to this stuff. By the way, I have long ago stopped support HLLAPI and EHLLAPI since it is not really a standard any longer as it is unmanaged. Just curious...
I did quite a bit of experimentation, and came close, but the more I think about the idea of forcing NumLock on, the less I like it. The best I could get was to force it on whenever wx3270 is active, with the side-effect of leaving it on for other apps, which may or may not want it that way. It's more work to explain the strangeness of that behavior than it is to explain that you simply can't map the NumLock key. The intrinsic problem is that it is trying to second-guess and circumvent how Windows...
For PrintScreen, this is not surprising. There are a number of key combinations that Windows intercepts and interprets before an application can see them, if it sees them at all. The days of apps having complete control over the keyboard are long gone. For mapping the End key, try adding the '3270 mode' qualifier to your key mapping. The default mapping for End is 3270-mode-specific and takes precedence over any mapping you might add which does not have the 3270-mode qualifier. I am working on a...
Just an FYI, the Print Screen key seems to be grabbed before you can do anything with it, and Windows (11) goes into Print Screen mode. And, I am trying to remap End to be EraseEOF, but even if I redefine the key, it still acts like End and just skips to the end of the field.
Just an FYI, the Print Screen key seems to be grabbed before you can do anything with it, and Windows (11) goes into Print Screen mode.
I don't just use the scan codes in wx3270. I also use the virtual key codes. KeyValue is the integer representation of KeyCode, which is an enumeration of the VK_XXX values in <winuser.h> -- the virtual key code. For example, when you press the key that is labeled 9/PgUp on the keypad, KeyValue is either VK_NUMPAD9 (0x69, 105) if NumLock is toggled on, or it is VK_PRIOR (0x21, 33) if NumLock is toggled off. The problem is that you get exactly the same KeyValue (33) if you press the PageUp key on...
There is a way to distinguish the key other than the just the Scan Code. I alluded to this in my original post. If you use the KeyDown event, you can get the KeyValue that I spoke of in the post. See if that gives you any ideas. I will try to map everything except PF13 (NumLock) and see if I can make that work for me until you come up with something brilliant.
make fails starting recently
Oops -- fixed.
Add missing Makefile
Fix mkicon dependencies
make fails starting recently
The first part of your request is already there. When the Keyboard Map window is up, you can just press a key instead of clicking with the mouse. Your second request is a bit more difficult. As far as I know, when NumLock is clear, there is nothing available to a Windows application that can distinguish between the Home, End, Page Up, Page Down or cursor arrows keys on the keypad and their counterparts on the main keyboard. They have the same scan codes, which is the lowest-level indication an application...
I am old enough to have used a real 3278/9, and I try to remap the keys to emulate one. The first issue is that the keymap that you present does not represent the actual keyboard I have, so that is the first confusion. Specifically the cluster of keys starting with PrtScn at the top left and ending at the Page Down key. My goal is this: NewLine for the Enter key, Enter for right Ctrl and Clear for the Esc key. Those I can manage. The PA keys and the mapping of PF13-24 is what I am having a problem...
This has been corrected. x3270.bgp.nu now properly supports https.
Fix VS build issues
Add security cookies
Simplify port listen function in test infra
Added URI support
Doc tweak
Map port 992 to L:
Add st-relay script
Split build targets and remove symlinks
Allow contentionResolution to be toggled at runtime
Manipulate the environment correctly in the unit tests
Fix failing x3270if test
Added cp1390/cp1399
Separate CFLAGS, LDFLAGS and LIBS for build-machine executables
Address some secure-mode issues
Use proper open() contstant
Fix z/OS TLS connect issue
Make sure print dialog is topmost
Allow wc3270 shortcuts to work in Windows versions prior to Windows 10
Oops
Identify error messages in the s3270 protocol, plus fixes
Start 4.3pre10
4.3ga9
Ignore some files that are in master
Allow contentionResolution to be toggled at runtime
Manipulate the environment correctly in the unit tests
Added cp1390/cp1399
Separate CFLAGS, LDFLAGS and LIBS for build-machine executables
Address some secure-mode issues
Use proper open() contstant
Fix z/OS TLS connect issue
Make sure print dialog is topmost
Allow wc3270 shortcuts to work in Windows versions prior to Windows 10
Fix Python class declarations
Here is the relevant code from wx3270: /// <summary> /// Pop up a help window. /// </summary> /// <param name="path">Relative path of help file.</param> public static void GetHelp(string path) { var version = typeof(Wx3270App).Assembly.GetName().Version; var fullPath = new[] { "http://x3270.bgp.nu/wx3270-help", version.Major + "." + version.Minor, I18nBase.EffectiveCulture, path, }; Process.Start(string.Join("/", fullPath)); } It is explicitly asking for http, not https. Something on Windows may...
One is using the ? on the window in wx3270. I just verified this. That is not part of a web page, but is in your product itself. In WC3270, click File/Help and I get the same thing. I think it is that way on the README items as well. I think this comes up after an install, but that is only from memory.
Can you give me an example of a link to bgp.nu that uses https? The only ones I know of are on the Wiki's Downloads page, and those are all http.
I would suggest changing your links so that they specify http rather than https.
bgp.nu is a rather old server that did not (until recently) support https at all. x3270.bgp.nu cannot be accessed using https -- it only works with plain old http.
I cannot view documentation or other areas because I get this error for anything in the bgp.nu domain: we could not verify the certificate: reason = wrongHost
Excellent!
Paul, we're testing wx3270 version 1.2ga4. Your instructions worked perfectly - thank you! I had read on the wiki about the different layers but it didn't click until you explained it in your reply. Once I checked the 3270 only box then overwrote the default actions with my preferred actions, it worked immediately. I knew about using shift-enter for newline and alt-e to get EraseEOF but we may need to deploy wx3270 on several hundred desktops where users will expect the same keyboard map as the existing...