[Jprogramming] initial version of tangentstorm/j-kvm

'Michael Day' via Programming programming at jsoftware.com
Wed Jul 28 21:54:08 UTC 2021


Thanks.  I had a look - downloading and installing the "App"

Normally, as you know,  we invoke J-console in Windows by running the 
standard terminal from the shortcut on the Windows desktop.

I don't yet see how to make a shortcut in Windows' desktop to run 
j-console in "WindowsTerminal" :
I've discovered that this command can be used to invoke WindowsTerminal 
in a batch file or  a shortcut:
     explorer.exe 
shell:AppsFolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!App
but it would be useful to have jconsole start up within WindowsTerminal.
I hope there might be a way of adding C:\....\j903-beta\jconsole.cmd as 
an argument to the shell command above.

Meanwhile,  doing it the slow way:  ie
    start WindowsTerminal,  change directory to the J installation, run 
jconsole.cmd,
your first demo worked fine;  however,  the mandelbrot graphic was not 
complete;  the lower half
was corrupted:  I think some lines were lost.

Cheers,

Mike

On 26/07/2021 20:42, Michal Wallace wrote:
> Microsoft's console has traditionally been limited to 16 colors. Some time
> ago they decided to support a wider range of features that make it work
> more like xterm on Linux. It also gives you 24 bit color and multiple
> console tabs on the same window.
>
> You can get it for free from the Microsoft store. I believe it requires at
> least windows 10:
>
> https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?rtc=1#activetab=pivot:overviewtab
>
> On Mon, Jul 26, 2021, 2:30 PM 'Michael Day' via Programming <
> programming at jsoftware.com> wrote:
>
>> Thanks.
>>
>> Your "readme" file says:
>> *    Note:*on windows, you need the stock|jconsole.exe|that comes with
>> J,/and/you need to run it through the"new" Windows terminal
>> <https://github.com/microsoft/terminal>.
>>
>> The ' "new" Windows terminal ' is indeed news to me.  I realise you
>> provide a link to " https://github.com/microsoft/terminal ",
>> but what does that do, how do we use it,  is there a downside?  - is all
>> this common knowledge?
>>
>> Cheers,
>>
>> Mike
>>
>> On 26/07/2021 16:38, Michal Wallace wrote:
>>> The initial version of the 'j-kvm' terminal driver is here:
>>>
>>>       https://github.com/tangentstorm/j-kvm
>>>
>>> It provides keyboard, video, and mouse support for console mode
>>> applications on windows and linux, (and maybe OSX, if anyone with a mac
>>> cares to test it...<g>)
>>>
>>> It kind of does what ncurses does (let you make interactive console
>>> applications),
>>> but the API is closer to the old "turbo vision" style from turbo pascal.
>>>
>>> There is also a submodule for working with video buffers as arrays and
>> then
>>> rendering them with terminal escape codes, as well as a little framework
>>> for mapping each keypress to its own verb in an event loop.
>>>
>>> It's still kind of a work in progress, so suggestions/patches/bug reports
>>> are very welcome.
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>>
>> --
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm


-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Programming mailing list