Windows Terminal и OpenConsole

Здесь обсуждаются темы, косвенно связанные с Far.
User avatar
HaRT
Moderator
Posts: 11165
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 243 times
Been thanked: 385 times

Windows Terminal и OpenConsole

Post by HaRT »

https://techcrunch.com/2019/05/06/windo ... -terminal/

The new so-called “Windows Terminal” will launch in mid-June and promises to be a major update of the existing Windows Command Prompt and PowerShell experience. Indeed, it seems like the Terminal will essentially become the default environment for PowerShell, Command Prompt and Windows Subsystem for Linux users going forward.

The new terminal will feature faster GPU-accelerated text rending and “emoji-rich” fonts, because everything these days needs to support emojis, and those will sure help lighten up the command-line user experience. More importantly, though, the Windows Terminal will also support shortcuts, tabs, tear-away windows and theming, as well as extensions. It also will natively support Unicode and East Asian fonts.

The idea here, Microsoft says, is to “elevate the command-line user experience on Windows.”

The first preview of the new Windows Terminal is now available.
Last edited by HaRT on Thu 19 Sep, 2024 20:08, edited 1 time in total.
Reason: Обобщён заголовок Темы
Фар есть инструмент, а не нянька. © 2009 DrKnS
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 428 times

Windows gets a new terminal

Post by DrKnS »

HaRT wrote: Mon 06 May, 2019 20:26“emoji-rich” fonts, because everything these days needs to support emoji
:facepalm:

Brace yourselves, опять всё сломают.
User avatar
abelenki
Posts: 515
Joined: Thu 02 Jul, 2009 07:39
Location: Perm, Russia
Has thanked: 179 times
Been thanked: 24 times
Contact:

Windows gets a new terminal

Post by abelenki »

habr \ Новый Windows Terminal: ответы на некоторые ваши вопросы:

https://habr.com/ru/company/microsoft/blog/453002/
Last edited by abelenki on Sat 22 Jun, 2019 08:33, edited 1 time in total.
gotar
Posts: 493
Joined: Sun 06 Sep, 2009 12:34
Has thanked: 25 times
Been thanked: 3 times

Windows gets a new terminal

Post by gotar »

А кто нибудь поделится екзешниками этого богатства?
Yegor
Posts: 1420
Joined: Mon 04 Apr, 2005 13:41
Location: San Ramon, CA / Kharkov, UA
Has thanked: 45 times
Been thanked: 73 times

Windows gets a new terminal

Post by Yegor »

DrKnS wrote: Mon 06 May, 2019 21:39 Brace yourselves, опять всё сломают.
Надеюсь нет или не сильно :) Windows Terminal - это все-таки всего-лишь оболочка что-то типа ConEmu. А вот что интересно, они опубликовали ConPTY API (доступен с 10.0.17763), который можно попробовать использовать в Фаре. С его помощью, возможно, можно будет сделать свое "полноценное" десктоп "окно" со скроллингом, блекджеком и девушками. Запускать все приложения из Фара в псевдоконсоли, и рендерить содержимое Фаровского десктопа, забирая информацию из псевдоконсоли.
Мы не можем ждать милостей от Фара, взять их у него — наша задача! (C) Мичурин
User avatar
abelenki
Posts: 515
Joined: Thu 02 Jul, 2009 07:39
Location: Perm, Russia
Has thanked: 179 times
Been thanked: 24 times
Contact:

Windows gets a new terminal

Post by abelenki »

habr \ Новый Windows Terminal уже доступен в Microsoft Store:

https://habr.com/ru/company/itsumma/blog/457150/
gotar
Posts: 493
Joined: Sun 06 Sep, 2009 12:34
Has thanked: 25 times
Been thanked: 3 times

Windows gets a new terminal

Post by gotar »

А у кого нибудь заработал far в этом терминале? https://www.microsoft.com/en-us/p/windo ... 0dx20hk701
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 428 times

Windows gets a new terminal

Post by DrKnS »

Там по умолчанию открывается powershell.

Если у вас путь к far.exe c пробелами и в кавычках - powershell по какой-то своей идиотской логике просто его распечатает.
Начинайте строку с & или переключитесь на вкладку с cmd, оттуда запускается без приседаний.

Мышь не работает, одиночные Ctrl/Alt/Shift не работают, терминал перехватывает клавиши, иногда мусор на экране, но в целом работает, да:
new_term.png
gotar
Posts: 493
Joined: Sun 06 Sep, 2009 12:34
Has thanked: 25 times
Been thanked: 3 times

Windows gets a new terminal

Post by gotar »

А стрелочки у Вас заработали?
Terra
Posts: 1
Joined: Sat 14 Sep, 2019 08:27

Windows gets a new terminal

Post by Terra »

Did the arrows work for you?
The arrow keys are working for navigation, however it appears that Lua scripts are not able to see them properly.

In my case, the Macro:

Code: Select all

Panel.Lynx-mot.lua
is not working correctly.

If I run it in a normal cmd console, it works fine.

I hope this is fixed soon. :popcorn:

As an aside, they also do not work when I ssh into my Windows 10 box which I just upgraded to 1803 release which has the new ConPTY API.
https://redmondmag.com/articles/2018/08 ... pport.aspx
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 428 times

Windows gets a new terminal

Post by DrKnS »

https://redmondmag.com/articles/2018/08/16/windows-10-console-apps-support.aspx wrote:This lack of a pseudoconsole in Windows has just led to problems, including "instability, crashes, data corruption, excessive power consumption,"
This is an entirely new level of marketing bullshit :facepalm:
gotar
Posts: 493
Joined: Sun 06 Sep, 2009 12:34
Has thanked: 25 times
Been thanked: 3 times

Windows gets a new terminal

Post by gotar »

А есть ли люди, которые на ежедневной основе работают в Far, запущенном в Windows Terminale? Есть ли какие нибудь преимущества по сравнению с conhost?
Yegor
Posts: 1420
Joined: Mon 04 Apr, 2005 13:41
Location: San Ramon, CA / Kharkov, UA
Has thanked: 45 times
Been thanked: 73 times

Windows gets a new terminal

Post by Yegor »

gotar wrote: Fri 19 Jul, 2024 09:51 Есть ли какие нибудь преимущества по сравнению с conhost?
Tabs?
Мы не можем ждать милостей от Фара, взять их у него — наша задача! (C) Мичурин
User avatar
buniak_a_h
Posts: 4459
Joined: Sat 20 Apr, 2013 00:17
Location: Санкт-Петробад
Has thanked: 239 times
Been thanked: 665 times
Contact:

Windows gets a new terminal

Post by buniak_a_h »

Yegor wrote: Fri 19 Jul, 2024 19:23
gotar wrote: Fri 19 Jul, 2024 09:51 Есть ли какие нибудь преимущества по сравнению с conhost?
Tabs?
На самом деле у меня под conhost игнорировались признаки шрифтов Italic, Bold и некоторые другие. А под WT (и под ConEmu) всё получалось. До некоторой версии, когда шрифты сломали… :bang:
User avatar
Zeroes
Мультикопипастер Броадкастер
Posts: 613
Joined: Wed 16 Mar, 2005 20:53
Location: Gomel \ Belarus
Has thanked: 1 time
Been thanked: 8 times
Contact:

Windows gets a new terminal

Post by Zeroes »

gotar wrote: Fri 19 Jul, 2024 09:51 А есть ли люди, которые на ежедневной основе работают в Far, запущенном в Windows Terminale? Есть ли какие нибудь преимущества по сравнению с conhost?
Я больше года (как только появилась портативная версия) каждый день работаю. Преимущества:

1) Скорость рендеринга. GPU based.
2) табы
3) глобальный контроль хоткеев. если процесс в консоли повиснет, то хоткей для закрытия вкладки сработает.
4) поддержка Unicode символов
5) удобная прокрутка и выделение вывода в консоли
6) Conhost, ConEmu не развиваются -> нет будущего, у WT - есть.

ps. есть некоторые проблемы совместной работы FAR и WT, решаю их так:
viewtopic.php?p=178313#p178313
Last edited by Zeroes on Fri 09 Aug, 2024 11:35, edited 4 times in total.
--- Zeroes & Ones ---
Post Reply

Return to “Операционные системы, командные оболочки и прочее”