Re: How do I turn ANSI-terminal colourising off?
Jan Wielemaker <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hi Feliks,
On 08/16/2013 10:10 PM, Feliks Kluzniak wrote:
> Hi Jan,
>
>> Soon, the terminal based SWI-Prolog will be mostly for server and
>> scripting applications. Carlo's Qt base console will be the
>> default interaction console on all platforms. With some luck,
>> there will be a real Mac App that can be run from the dmg file, be
>> installed anywhere and opens a nice window :-)
>
> I use a Mac, and this sounds a little alarming.
>
> I hope it will always be really, really easy to use just the
> old-style command line interface (in whatever window I like to run my
> shell in).
Yes. In fact, we get rid of dependencies on Macports and conflicts that
I have been warned about for some time: installing the binary at it is
now distributed installs things in Macports. If you have no Macports,
that is fine, but if you have it or later decide to install it, the
macports admin is upset by files that come from an unknown source.
The app is self-contained and only depends on X11 as non-standard
Mac feature. You can install it anywhere and all you need to do
is add <app>/Contents/MacOS to your $PATH to run the good old
commands. The new command swipl-win gives the new console.
The new windowed app is not that much different from what you are
used to. It is basically just a terminal. There are only a few
nice extras:
- It has a menu bar that makes getting started a little easier.
Not only that, but is also allows controlling Prolog while it
is crunching away. For example, the "Debug/Threads minitor"
will show CPU and memory usage in a graph. Quite handy if
you wonder what your program is doing.
- You can extend the menu bar with your own stuff (for example
with additional menus for your application).
- Warnings and errors in the console that are related to a
file are clickable, which opens the editor at the error
location.
- You can open additional consoles in the same engine (they
run in their own thread). That too is nice if you want to
query the DB while your main task is crunching.
- You can double-click a .pl/.prolog file from the finder to
open an instance with this file loaded.
Cheers --- Jan