Silverfrost Forums

Welcome to our forums

%ac[Ins] and minus-sign and backslash NOT working

15 Nov 2012 9:21 #11059

I have just switched to version 6.30 of FTN95 and have got the following problems (it worked in the old version 2.52):

I use %tx with a callback to get the keyboard character with clearwin_info@ ('text_array_char'), and %ac to get other keyboard input. But in the new version of FTN95 this happens: 1. Pressing the minus-sign gives the response as the Ins-key. 2. The Ins-key gives no response. 3. Backslash-key gives no response.

Point 1 and 2 worked previously, but point 3 never worked. I use a Danish keyboard layout (but don't know if it has any relevance).

I can see another user has posted the Ins-key problem in September, and it seems to have been resolved. However, I downloaded the new version in late October.

Small program to illustrate the problem:

PROGRAM TEXTEG USE CLRWIN IMPLICIT NONE CHARACTER buf(60,25),att(60,25) INTEGER I,ICTRL INTEGER, EXTERNAL :: run,cb1,cb2 buf=' '; att=char(1) I=WINIO@('%ac[F1]&',cb1) I=WINIO@('%ac[Ins]&',cb2) I=WINIO@('%60.25^tx&',buf,att,60,25,run) I=WINIO@('%tc[blue]%ty[red]%tc[yellow]%ty[green]&') I=WINIO@('%2nl&') i=WINIO@('%lw',ictrl) END PROGRAM TEXTEG

INTEGER FUNCTION cb1() print *,'cb1' cb1=1 end function cb1

INTEGER FUNCTION cb2() print *,'cb2' cb2=1 end function cb2

INTEGER FUNCTION RUN() USE CLRWIN ic=clearwin_info@ ('text_array_char') print *,'ic',ic,' ',char(ic) RUN=1 END function run

15 Nov 2012 7:07 #11066

ClearWin+ resides in salflibc.dll so, if you have kept a copy of the old DLL then you may be able to go back to it to see if you can reproduce the old behaviour. However, %tx is one of the original controls which has not been touched for a very long time.

16 Nov 2012 10:32 #11069

Hi Paul. You are right that I can reproduce the old behaviour with the old salflibc.dll, and it works with the small demo-program I posted.

However, if I try to use the old salflibc.dll with my big application program, I immediately get an error message 'Entry Point Not Found', that is 'The procedure entry point_adjust_stack_f could not be located in salflibc.dll'.

16 Nov 2012 3:10 #11074

I will check your program to see if a recent fix for %ac solves the problem.

16 Nov 2012 3:16 #11075

It works OK for me so if you are using the latest release of salflibc.dll then the bug has already been fixed and will be available in the next release.

16 Nov 2012 3:31 #11076

OK, hope it solves the problem. My salflibc.dll is from May 2012. Do you know when the next release will be available? Also: When running my small program, do you get the correct response when pressing the minus-sign?

16 Nov 2012 4:30 #11077

Yes the minus key works OK. The next release would normally be out before the end of the year but I cannot make any promises.

Please login to reply.