After terminal exit, background color changes
After Copy and Get with Prefix macros -- odd artifact
Thanks for finding and reporting the bug Warren.
in execute.c I commented out: /*~~~ * If there is no second argument, no filename supplied... */ if ( target.spare == (-1) ) { append = FALSE; filename = tempfilename; /* WVW 07/03/25 fprintf(stderr, "1:%s\n",filename); */ } else { ~~~ The spurious artifact no longer appears.
Lastly, trace with prfget.the and the temp file -- see attached.
steps after entering 'the file2.txt file1.txt '
and
Also
For the record, I'm using AlmaLinux 9.6 and configured THE with ./configure --with-rexx=regina --with-curses=ncurses The prfget.the macro goes back over 30 years to CMS-Xedit days. See attached. Still compat XEDIT XEDIT XEDIT for me -- old dog.
After Copy and Get with Prefix macros -- odd artifact
Warren, please provide the code for the prefix macros that cause the error so I can reproduce the problem.
P.S. Not an issue with THE 3.3 RC 8. aka version THE 3.3 UNIX 27-Jun-2020 Linux
After Copy and Get with Prefix macros -- odd artifact
In the description of THE 4.0 I find the note UTF8 support is incomplete and only available by building THE from source; I downloaded the source and hoped it would include a recipe showing prerequisites, options and procedure, some failsafe advice for a mainframe dinosaur like me. Without help the build-from-source hurdle is too high for me. Moreover I try to migrate some XEDIT tools from VM/CMS. There are several variations between THE and XEDIT, but now I got a real show-stopper: Error 5 running...
RC(5) from "COMMAND EXTRACT /V"
The subject of this ticket should be "ooRexx inapt to run demo.the" The a. m. Error 0054 results from '#' being an invalid character in code for ooRexx. Replacing in demo.the all '#' by '?' does the trick. Alas, another error shows in section 4 of the demo. Error 99 running C:\Program Files\rexx.org\THE\extras\demo.the line 292: Translation error. Error 99.923: INTERPRET data must not contain FORWARD.
SET IDLINE OFF results in "Assertion failed!"
Demo provokes Error 0054
What curses library to specify for debian server
That resolves it for AlmaLinux 9.5 on a terminal in Xedit mode. Thank, Warren P.S. I'm staying with 3.3 due to other issues with my prefix macros -- longer story. On 5/16/2025 12:41 AM, Mark Hessling wrote: I have made changes since v4.0.0 for this scenario to let the user know that the TMP environment variable needs to be set to a directory that the user has read/write access to. Please try: export TMP=/tmp cd /etc the Cheers, Mark [bugs:#315] https://sourceforge.net/p/hessling-editor/bugs/315/...
I have made changes since v4.0.0 for this scenario to let the user know that the TMP environment variable needs to be set to a directory that the user has read/write access to. Please try: export TMP=/tmp cd /etc the Cheers, Mark
This is new behavior and a new limitation on THE. The old THE could read files from directories where the user had no write permissions, just read permissions. The editor should not require write permission from all directories to be read. For Linux, FreeBSD, NetBSD and OpenBSD temp directories could be created in the /tmp or /var/tmp directories and not in the in current directory. On Windows there are also temp directories which could be used too.
Yes, any directory without write permission for current user. In this case the directory is /etc/profile.d strace shows: chdir("/etc/profile.d") = 0 openat(AT_FDCWD, "./TMPmPHxPx", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EACCES (Permission denied) exit_group(31) = ? +++ exited with 31 +++
Firstly which THE variant are you running; the Windows gui, sdl2 or vtw? I tried running your macro, but didn't have a clue as to what the arguments are meant to be. Can you provide a macro that is the absolute minimal and shows the issue that requires no arguments and ideally works with Regina as well? Thanks.
I need to correct my example: arrt = "10"x -- ??? not arrow right. arlf = "11"x -- ??? not arrow left. arup = "1E"x -- UP arrow. ardn = "1F"x -- DOWN arrow. and none of the ALT Codes gave me a Triangular Arrow Head pointed left or right.
I need to correct my example: arrt = "1E"x -- ??? not arrow right. arlf = "1F"x -- ??? not arrow left. and none of the ALT Codes gave me a Triangular Arrow Head pointed left or right.
Left and Right Triangular Arrows not defined for SLK use
Right now, the answer (for version 3.2) appears to be NO. A recent Window 11 update has removed Use Legacy Console. The checkbox is there but it's grayed out and reactivating the option in Windows is beyond my pay grade.
Hi Mark, for my purposes I replaced the "SET STATUSLINE OFF" with a "SET STATUSLINE TOP" and your name etc. now appear above the editor screen display and no Assert Abends happen. I use "POPUP" to change the SLK format and that works without Assert Abends also. I disabled the "DIALOG" that I was trying to use to change the SLK format because it gets Assert Abends. It seems redundant so I don't think I need it. I use "DIALOG" in other macros and get Assert Abends so I will have to change that. The...
Thank you Mark. I will install the new version of THE tomorrow morning - i've had enough fun for one day. steve From: bugs@hessling-editor.p.re.sourceforge.net bugs@hessling-editor.p.re.sourceforge.net on behalf of Mark Hessling rexx@users.sourceforge.net Sent: Tuesday, March 11, 2025 9:19 PM To: [hessling-editor:bugs] 311@bugs.hessling-editor.p.re.sourceforge.net Subject: [hessling-editor:bugs] Re: #311 Assertion Errors and Abends Hi Steve, I have replicated the bug here with SET STATUSLINE OFF...
Hi Steve, I have replicated the bug here with SET STATUSLINE OFF followed by REXX SAY "Hello" The fix has been added to the following THE 4.0.1 version: https://www.rexx.org/download/THE401w64_Regina.exe Cheers, Mark
Hi Mark, I checked my THE profile and the command causing the error is: "STATUSLINE OFF" When i commented this command out THE works with no assertion errors. It makes no difference if SET is specified before the command or not. Let me know if you have any questions or need my complete profile. Thanks, Steve rexxmax@hotmail.com From: bugs@hessling-editor.p.re.sourceforge.net bugs@hessling-editor.p.re.sourceforge.net on behalf of Steve Field rexxmax@users.sourceforge.net Sent: Tuesday, March 11, 2025...
Mark, it is something in my profile. I ran the rexx say test again with the profile removed using the 4.0 version and it worked OK. So let me investigate my profile to see what's causing the issue with 4.0 . It works fine on the older version of THE. I'll let you know what i find. Also when you have the time could you send me the link to 4.0.1. SorceForge still has THE40w64_Regina.exe Thanks, Steve Field RexxMax From: bugs@hessling-editor.p.re.sourceforge.net bugs@hessling-editor.p.re.sourceforge.net...
Hi Steve, Is your latest test with the THE 4.0.1 version I made available to you? Does "the -k4 -n c:\" followed by the "rexx say 'test'" command also result in the abends? If no, then there is something in your profile file that triggers the errors. For me to replicate the issue I'd need your profile file. I'll see if I can get the errors simply by running the -k4 on Windows. Will be later today. Thanks, Mark
Hi Mark, Concerning bug 311, Assertion Errors, I can give you as much info as you need to help figure it out. I am running Win-11 Pro 64-bit 23H2. I start THE as: the -k4 C:\ This brings up a pseudo file of my C-drive and runs my profile - no issues here. The THE console has not yet been displayed. My navigation macros and session stats macros all work with no issues. However, if i run the macro "macro UserKeys" from F5 i get 2 assertion errors. What happens is the THE console displays but is blank...
Hi Mark, A followup to my earlier email. You don't need my macro at all. At the first window THE displays after i issue "the -k4 C:\" on THE's command line i just entered the command: rexx say "This is a test!" and i got the same 2 assertion errors. THE is running Regina 3.9.6 (MT) 5.00 29 APR 2024. There may be some problem or unwanted interaction with the THE console on a first write. I tried this command 3 times and each time got the assertion errors. Hope this helps, Steve Field rexxmax@hotmail.com...
So, to recapitulate (properly) the screen is as follows: - the command line is on top (I told you wrongly above) - the scale and tab are on the second line together - the text follows with the colors I defined - the bottom 2 lines are for -k4 SLK's. - the page up and page down work as advertised with "--!P" AND, the "ghost" screen is no longer there, because I removed a spurious "command quit" in the XEDITPROFCLICK.the macro. Don't know what I was thinking when I put that in. BUT, I do have an Asserts...
That is good news John. Can you post a screenshot showing the "ghost" screen?
Mark, I forgot to add that I am using your 401w64_ooRexx which I eventually got to download and install.
Success! Well, almost. When I doubleclick on a ".the" macro in my Windows Filelist, my XEDITPROFILE,the executes and displays an edit screen almost the way it's intended: - the scale and tab on the same line at the top - the command input line is next - the text follows with the colors I defined - the bottom 2 lines are for -k4 and the page up and page down work with the "--!P" paginator comment embedded at various points in the text BUT there is a Font line above the editor screen which I have to...
Sigh. Over the years I've had many occasions when my software is flagged as a virus because of the crude mechanisms employed by virus checkers. The only way I can overcome this is to buy a developer certificate for $300 per year from one of the many extortionists who provide such certificates. If the software you use is reasonable it will allow you to flag software you wish to install on your machine as a false positive and also to notify the supplier that they are excluding legitimate software because...
I just tried the downloads and my Windows security wouldn't let me. Says there are virus threats.
Sorry I just realised there are two of you in this thread :-) Just in case my current version of THE works, I've uploaded THE 4.0.1 (both ooRexx and Regina) to: https://www.rexx.org/download/THE401w64_ooRexx.exe and https://www.rexx.org/download/THE401w64_Regina.exe
Mark, I can give you my profile.the macro if it would help. But there's a lot to it, in the way it calls other macros for setup work before it exits. One of those macros is the one that colorizes the edited file on the screen. Apparently, it does all the work of PDcurses and more. I did notice that I used to have CODE::BLOCKS and THE_HESSLING EDITOR source was stored there as one of the projects. How I got the idea to colorize the screen is by looking at your color tables and transposing them into...
Hi Mark, Thanks for responding. I have been using the older version of THE with none of these problems. I am out of town right now on vacation but will be back home this coming weekend. I'll collect the info you need and send it to you then. Thanks again Steve Field rexxmax@msn.com From: bugs@hessling-editor.p.re.sourceforge.net bugs@hessling-editor.p.re.sourceforge.net on behalf of Mark Hessling rexx@users.sourceforge.net Sent: Monday, March 3, 2025 3:04 PM To: [hessling-editor:bugs] 311@bugs.hessling-editor.p.re.sourceforge.net...
I tried running with my profile and -k (1 to 5) and no issue. I suspect it is something in your profile. If you want to send me your profile I can see if I can replicate the problem here. Without it I can't do anything. The error relates to the location of the complied object files for the embedded PDCurses code, which is on MY d: drive.
Mark, I ran all my XEDIT macros (.the) using "the -n" and the only output I got was the DIR: for my J:\MyTHEStuff\ , which is where all my Xedit .the macros live. When I ran the.exe with all the options )-k (SLK format) -p ( profile) (edited file name) -a (arguments) I got a PDcurses Asserts error which I Aborted and the display reverted to an original edit like one using your mhprf.the profile. In looking at the Asserts error screen, I noticed that it expects PDcurses to be on a "d:\" disk. I don't...
I've run a few macros with THE 4.0 and ooRexx 5.0 including Parse Source xxx in various places. No crashes. Can you try running "the -n" (no profile) and then run a macro that crashes. Then post that macro so I can try and replicate it here. Only then will I have a chance to fix the problem.
And, BTW, my .the macros perform the same functions as PDcurses. They were written several years ago, and do things like -k1 thru -k5 SLKs, as well as other display formatting. It used to work well, but something has changed since I upgraded my Windows 10 to current status (22H2). Maybe that has nothing to do with the problems (?).
I only have the 4.0 ooRexx build of THE installed. And yes, all my macros cause the errors repeatedly. And I have ooRexx 5.0 interpreter installed separately. All on Windows 10 22H2.
Just confirming you get errors with both the Regina build of THE and the ooRexx build of THE? You have Regina and ooRexx installed at the same time or installed separately?
Assertion Errors and Abends
Sorry I missed this one. Do you have a simple macro that can cause the errors repeatedly?
I tried moving "parse source" further down in my code but no luck.
I'm also getting Asserts abends out of THE, concerning PDcurses and all. I'm trying to run THE40w64_ooRexx.exe under Windows 10 22H2. Do you know of any workarounds until the bug ticket 311 is fixed?
Just a quick notification about the next Rexx Symposium. I will be attending and hopefully presenting on a couple of topics. Announcement: https://www.rexxla.org/document.rsp?base=events&year=2025&doc=announcement.html&title=Announcement Cheers, Mark
Handle tabs correctly
The email address for thelist is: thelist@lists.illinois.edu The uiuc.edu changed quite a while ago.
It appears THELIST is no longer at uiuc.edu. Is there a replacement mailing list?
Signal 11 nthe of empty file on OpenBSD 5.7
This bug does not appear in THE-3.3 (THE-3.3RC8)
THE-4.0: non-root linux user exit with return status 31
This bug is fixed and can be closed.
Works for me now. Sigh.
If I PUT CLIP:, and GET CLIP:, and PUT CLIP: again, and GET CLIP: again, I get both the first PUT and the second PUT. CLIPBOARD CLEAR doesn't clear the PUTs. Is there a way to clear when I want? ANSWER: now works for me. No clue as to why I had a problem in the first place.
PUT/GET CLIP: combination above works for me. Please state version of THE being used and which variant you are using with 'QUERY UI'. CLIPBOARD CLEAR on the other hand does not work. This is a bug in PDCursesMod which I have fixed.
'reset block'
If I PUT CLIP:, and GET CLIP:, and PUT CLIP: again, and GET CLIP: again, I get both the first PUT and the second PUT. CLIPBOARD CLEAR doesn't clear the PUTs. Is there a way to clear when I want?
nevermind
nevermind
My TMP by the way is TMP=C:\Users\richa\AppData\Local\Temp
After MARKing something, the only way that I've found to UNMARK is to do something like "MARK LINE 0 0". Is there some other way to unmark?
If I PUT CLIP, and GET CLIP, and PUT CLIP again, and GET CLIP again, I get both the first PUT and the second PUT. CLIPBOARD CLEAR doesn't clear the PUTs. Is there a way to clear when I want?
When I try a simple "PUT 1" I get "Error 0008: Invalid or protected file could not open for writing". How could I overcome this and use a temporary file. CLIP works, specifying a file myself might work, but this question is about temp files.
Single column display with new RHEL install
Thanks, I will give it a try!
Attached is a prefix macro that I wrote over thirty years ago. It was worked on numerous versions of THE -- though it has required changes over the years. This is working for THE 3.3RC7 on a CentOS 7 system.
Newbie Question: Is there a way to copy and paste lines between two files?
Modified sch with backward search. -- Begyu
schange causes THE on windows 64-bit to crash
It really would be helpful to have an install document, especially since dpkg doesn't work on a fresh Raspberry Pi OS install. I have no idea why dpkg couldn't complete the install on it's own. Also useful would be a further description on the various packages. I'm not complaining about the result. Just wondering if there's a more modern look to the editor. Right now, it really is all I wanted. I can hardly wait to start writing macros again. I remember back when I used a 3270 which had the fkeys...
scott@raspberrypi:~/Downloads $ sudo dpkg -i the-common_4.0-1_armhf-Raspbian-11.deb the-pdcurses-sdl2w-regina_4.0-1_armhf-Raspbian-11.deb (Reading database ... 137858 files and directories currently installed.) Preparing to unpack the-common_4.0-1_armhf-Raspbian-11.deb ... Unpacking the-common:armhf (4.0-1) over (4.0-1) ... Selecting previously unselected package the-pdcurses-sdl2w-regina:armhf. Preparing to unpack the-pdcurses-sdl2w-regina_4.0-1_armhf-Raspbian-11.deb ... Unpacking the-pdcurses-sdl2w-regina:armhf...
I'd like to add, z/OS ISPF puts the cursor in the prefix area in the same line next to the excluded lines marker.
The simplest thing to do is download the .deb files and install them. They take care of dependencies and installing in the appropriate place. Download https://sourceforge.net/projects/hessling-editor/files/hessling-editor/4.0/the-common_4.0-1_armhf-Raspbian-11.deb/download and https://sourceforge.net/projects/hessling-editor/files/hessling-editor/4.0/the-pdcurses-sdl2w-regina_4.0-1_armhf-Raspbian-11.deb/download and run: sudo dpkg -i the-common_4.0-1_armhf-Raspbian-11.deb the-pdcurses-sdl2w-regi...
Since I found an SDL2 library, I decided on that version to try. I didn't find any install information so I used sudo tar -xvzf the-pdcurses-sdl2w-regina-4.0-armv7l-Raspbian-11.tgz but since I'm a light Linux user, I don't know what dir to be in before untar'ing. Are there any additional helpful hints about the install process?
XX - XX prefix command leaves cursor in wrong position
Fantastic, Mark!
Setting Boundmark to Margins disturbs prefix command display
Found the problem. Has been fixed. Will be in next release.
SELECT.2 does not work in the implicit extract mode.
Fixed in 4.0
Setting Boundmark to Margins disturbs prefix command display
Can confirm. Can't see the correlation between prefix area and boundmarks yet, but there must be!
THE can be built using different variants of PDCurses. The sdl2w and vtw are two of those variants. SDL2 is a graphics framework; VT stands for Virtual Terminal. What this means in reality is that when the THE binary; the-vtw is run, THE starts up inside the terminal session that is running. That might be the console or it might be a terminal program on a GUI desktop. Configuration of the font used and size is dependent on the terminal program. When the THE binary; the-sdl2w is run it creates its...
I'm looking to download THE and found two Raspian files, the-pdcurses-sdl2w-regina-4.0-armv7l-Raspbian-11.tgz the-pdcurses-vtw-regina-4.0-armv7l-Raspbian-11.tgz What are sdl2w and vtw? Any suggestions as to which is better for the RPi?
Warren, Thank you very much! That worked. Tim
One way to do it. In your Linux home directory, create a file called '.therc' -- that will be used as the profile.
I've got a fair amount of experience with OS/2 and windows (and even VM/CMS) but struggle to do anything on linux. Now I need linux (ubuntu) and step 1 is getting set up with THE (I have very deep history with xedit and kedit and rexx on various platforms). I've hit a wall in creating a profile file for THE. I'm not used to linux's file directory system and I haven't been able to figure out where to put the profile, or how to get to where to put it. When I start a terminal session in ubuntu, the...
Setting Boundmark to Margins disturbs prefix command display
Probably shouldl have included: Linux Mint 21.1 (based on Ubuntu 22.04)