Hello,
I am evaluting Zeus, so far the tool looks pretty good and I like the general feel of it, however, I'm an old-timer and I really, really like WordStar/Borland IDE WordStar keymapping.
Does Zeus have the full mapping SOMEWHERE or has anyone successfully mapped the editing commands? So far in my testing of Zeus, the WordStar emulation mapping is missing most of the editing commands, things like ^T at EOL deleting to the above line or ^KBtest_text^KK blocking then ^KC to copy blocked text or ^KV to move blocked text, type editing.. lots more missing.
I'll point out that I blindly bought MultiEdit ($369) because they said that they emulated the WordStar keymapping and they also did not, anymore than Zeus has. And God I PHKING HATE Macro$haft notepad.
Is Zeus still being supported? I notice there isn't much going in the forum.
So please, help me out here guys, help this old flatus-C-flapper
Thanks,
tron
WordStar KeyMapping Question
In the keyboard mapping dialog there is an export button. This button will produce a text file that shows how each of the keys are mapped to which Zeus function.Does Zeus have the full mapping SOMEWHERE]
From in this file if you place the cursor on the function and use the Help, Quick Help menu you should be taken to the corresponding description of the function in the help file.
In some cases there may/ may not be a corresponding Zeus keyboard function to the missing function.So far in my testing of Zeus, the WordStar emulation mapping is missing most of the editing commands things like ^T at EOL deleting to the above line or ^KBtest_text^KK blocking then ^KC to copy blocked text or ^KV to move blocked text, type editing.. lots more missing.
In these case you would just have to bind the function to the keyboard.
In other cases you might have to write a macro and then bind that function to the key.
For example here is a typical keyboard macro:
Code: Select all
function key_macro()
-- macro only works for documents
local document = is_document()
-- macro only works for read/write documents.
local locked = is_read_only()
if (locked == 1) or (document == 0) then
message("This macro only works for writable document files.");
beep();
return;
end
screen_update_disable()
-- remove to start of line
LineDeleteStart()
-- move to start of line
MoveLineHome()
-- move the the end of the previous line
BackspaceSmart()
screen_update_enable()
screen_update()
end
key_macro() -- run the macro
There is no doubt the forum is slowing downIs Zeus still being supported? I notice there isn't much going in the forum.

But there are still regular Zeus patrches: http://www.zeusedit.com/forum/viewforum.php?f=6
And a new Zeus patch is planned for release some time in the next few months.
Cheers Jussi
There are lots more examples of how to write Zeus scripts here: http://www.zeusedit.com/forum/viewforum.php?f=10
You will also find some more scripts in the Zeus zScript folder
Cheers Jussi
You will also find some more scripts in the Zeus zScript folder

Cheers Jussi
^KBtest_text^KK blocking then ^KC to copy blocked text
The ^KC copies the marked area to the clipboard. If you want the marked area to be copied to the current cursor location then you need to re-map these keys to the MarkCopyToCursor function.
Alternatively you could create a Lua macro like the one shown below that should also do the trick:
Code: Select all
function key_macro()
-- macro only works for documents
local document = is_document()
-- macro only works for read/write documents.
local locked = is_read_only()
if (locked == 1) or (document == 0) then
message("This macro only works for writable document files.");
beep();
return;
end
-- get the currently marked text
local text = macro_tag("$M")
-- the maximum length
if (string.len(text) > 0) then
-- write the text to the current cursor location
write(text, 0);
else
message("No text is currently marked.");
beep();
end
end
key_macro() -- run the macro
If you want the marked area to be moved to the current cursor location you will need to map the ^KV key to the MarkMoveToCursor function.or ^KV to move blocked text, type editing.. lots more missing
Cheers Jussi
The latest version of Zeus now has these mappings defined for the Wordstar keyboard mapping 
You can get the latest version from here: http://www.zeusedit.com/download.html
Cheers Jussi

You can get the latest version from here: http://www.zeusedit.com/download.html
Cheers Jussi