To make a profile for the current version of windows terminal: (1) Start Windows Terminal (2) In the title bar, to the immediate right of the + which will let you add a new tab is a faint grey V like icon which will give you a dropdown menu. From that dropdown, select Settings. (3) On the left side of the Settings window, near the bottom, select Add a new profile (4) On the right, select New empty profile
In this profile, I gave Name: jconsole Command line: (browse to jconsole.exe for j903) Starting directory: (j903 directory) Icon: ...j903\bin\icons\jgreen.png Tab title: J Then save it. With this, you can start a jconsole session in windows terminal using right click on the terminal icon. But you can also go back to the Settings window, and in the Startup pane at the top is a drop down which lets you select the Default Profile, if you want that to be J. I do not know if there's a way to create icons which let you start windows terminal with anything other than its default behavior. I hope this helps, -- Raul On Thu, Jul 29, 2021 at 3:02 PM 'Michael Day' via Programming <[email protected]> wrote: > > I agree, but don't see how to do it. > > What I had in mind is creating another J-shortcut, or a batch file, on > the Windows desktop similar to > the existing one for Jconsole, the only difference being that it would > open J-console under > WindowsTerminal rather than the normal terminal window. But I don't > know enough about W/T to > see how to do this. > > Please forgive me if this is common knowledge! > > Thanks, > > Mike > > On 29/07/2021 02:53, [email protected] wrote: > > Hi Mike, > > > > How about making a shortcut for Windows Terminal and making a profile for > > jconsole there and setting it as default. You can even set a J icon of > > your choice. > > > > Best Regards, > > > > Esa > > > > -----Original Message----- > > From: Programming <[email protected]> On Behalf Of > > 'Michael Day' via Programming > > Sent: torstai 29. heinäkuuta 2021 0.54 > > To: [email protected] > > Subject: Re: [Jprogramming] initial version of tangentstorm/j-kvm > > > > 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 < > >> [email protected]> 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 > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
