Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bottom is unable to output via PowerShell. #752

Closed
RokeJulianLockhart opened this issue Jun 22, 2022 · 3 comments
Closed

Bottom is unable to output via PowerShell. #752

RokeJulianLockhart opened this issue Jun 22, 2022 · 3 comments
Labels
bug Something isn't working the way that is expected.

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Jun 22, 2022

Describe the bug

Observe the title.

What operating system/architecture are you using?

PS /> python3
Python 3.10.5 (main, Jun  9 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
import platform
platform.uname()
uname_result(system='Linux', node='1653307616.0001', release='5.19.0-0.rc2.20220617git47700948a4ab.24.fc37.x86_64', version='#1 SMP PREEMPT_DYNAMIC Fri Jun 17 17:15:51 UTC 2022', machine='x86_64')
exit()
>>> >>> >>>
PS /> uname -a
Linux 1653307616.0001 5.19.0-0.rc2.20220617git47700948a4ab.24.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 17 17:15:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
PS />

What terminal are you using bottom on?

"https://kojipkgs.fedoraproject.org//packages/rust-alacritty/0.10.1/2.fc37/x86_64/alacritty-0.10.1-2.fc37.x86_64.rpm", which "https://koji.fedoraproject.org/koji/rpminfo?rpmID=29620603" provides information that is relevant to.

What version are you on?

PS /> btm -V
bottom 0.6.8
PS />

How did you install bottom?

Invoke:

dnf --skip-broken --verbose --assumeyes --nogpgcheck copr enable atim/bottom
dnf --skip-broken --verbose install --setop='install_weak_deps=False' --assumeyes --nogpgcheck 'bottom'
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# �[7m/usr/bin/dnf --verbose --assumeyes --nogpgcheck copr enable atim/bottom�[27m
�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C/usr/bin/dnf --verbose --assumeyes --nogpgcheck copr enable atim/bottom
�[?2004l
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.12.0
cachedir: /var/cache/dnf
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.

The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
Repository successfully enabled.
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# dnf install btm
�[?2004l
Copr repo for bottom owned by atim                             [===                                                       ] ---  B/s |   0  B     --:-- ETA
Copr repo for bottom owned by atim                             [===                                                       ] ---  B/s |   0  B     --:-- ETA
Copr repo for bottom owned by atim                             [   ===                                                    ] ---  B/s |   0  B     --:-- ETA
Copr repo for bottom owned by atim                             [      ===                                                 ] ---  B/s |   0  B     --:-- ETA
Copr repo for bottom owned by atim                                                                                          1.4 kB/s | 1.5 kB     00:01    
No match for argument: �[1mbtm�(B�[m
Error: Unable to find a match: btm
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# bott��[K��[K��[K��[Kdnf ions��[K��[K��[K��[Kinstall bottom
�[?2004l
Last metadata expiration check: 0:00:09 ago on Wed 11 May 2022 15:54:15 UTC.
Dependencies resolved.
============================================================================================================================================================
 Package                   Architecture              Version                            Repository                                                     Size
============================================================================================================================================================
Installing:
 �[1m�[32mbottom                   �(B�[m x86_64                    0.6.8-1.fc36                       copr:copr.fedorainfracloud.org:atim:bottom                    1.2 M

Transaction Summary
============================================================================================================================================================
Install  1 Package

Total download size: 1.2 M
Installed size: 3.7 M
Is this ok [y/N]: Y
Downloading Packages:
bottom-0.6.8-1.fc36.x86_64.rpm                              0% [                                                          ] ---  B/s |   0  B     --:-- ETA
bottom-0.6.8-1.fc36.x86_64.rpm                              0% [                                                          ] ---  B/s |   0  B     --:-- ETA
bottom-0.6.8-1.fc36.x86_64.rpm                             35% [====================-                                     ] 1.4 MB/s | 432 kB     00:00 ETA
bottom-0.6.8-1.fc36.x86_64.rpm                                                                                              1.2 MB/s | 1.2 MB     00:01    
------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                       1.1 MB/s | 1.2 MB     00:01     
Copr repo for bottom owned by atim                             [===                                                       ] ---  B/s |   0  B     --:-- ETA
Copr repo for bottom owned by atim                                                                                          9.5 kB/s | 989  B     00:00    
Importing GPG key 0x69E1FEAD:
 Userid     : "atim_bottom (None) <atim#bottom@copr.fedorahosted.org>"
 Fingerprint: 9B85 F38D 496F B582 1C61 9249 28DE 8C16 69E1 FEAD
 From       : https://download.copr.fedorainfracloud.org/results/atim/bottom/pubkey.gpg
Is this ok [y/N]: Y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction

  Preparing        :                                                                                                                                    1/1 

  Installing       : bottom-0.6.8-1.fc36.x86_64 [                                                                                                     ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=                                                                                                    ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==                                                                                                   ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===                                                                                                  ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [====                                                                                                 ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=====                                                                                                ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [======                                                                                               ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=======                                                                                              ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [========                                                                                             ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=========                                                                                            ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==========                                                                                           ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===========                                                                                          ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [============                                                                                         ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=============                                                                                        ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==============                                                                                       ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===============                                                                                      ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [================                                                                                     ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=================                                                                                    ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==================                                                                                   ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===================                                                                                  ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [====================                                                                                 ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=====================                                                                                ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [======================                                                                               ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=======================                                                                              ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [========================                                                                             ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=========================                                                                            ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==========================                                                                           ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===========================                                                                          ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [============================                                                                         ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=============================                                                                        ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==============================                                                                       ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===============================                                                                      ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [================================                                                                     ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=================================                                                                    ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==================================                                                                   ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===================================                                                                  ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [====================================                                                                 ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=====================================                                                                ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [======================================                                                               ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=======================================                                                              ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [========================================                                                             ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=========================================                                                            ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==========================================                                                           ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===========================================                                                          ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [============================================                                                         ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=============================================                                                        ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==============================================                                                       ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===============================================                                                      ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [================================================                                                     ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=================================================                                                    ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==================================================                                                   ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===================================================                                                  ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [====================================================                                                 ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=====================================================                                                ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [======================================================                                               ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=======================================================                                              ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [========================================================                                             ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=========================================================                                            ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==========================================================                                           ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===========================================================                                          ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [============================================================                                         ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=============================================================                                        ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==============================================================                                       ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===============================================================                                      ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [================================================================                                     ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=================================================================                                    ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==================================================================                                   ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===================================================================                                  ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [====================================================================                                 ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=====================================================================                                ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [======================================================================                               ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=======================================================================                              ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [========================================================================                             ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=========================================================================                            ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==========================================================================                           ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===========================================================================                          ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [============================================================================                         ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=============================================================================                        ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==============================================================================                       ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===============================================================================                      ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [================================================================================                     ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=================================================================================                    ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==================================================================================                   ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===================================================================================                  ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [====================================================================================                 ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=====================================================================================                ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [======================================================================================               ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=======================================================================================              ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [========================================================================================             ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=========================================================================================            ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==========================================================================================           ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===========================================================================================          ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [============================================================================================         ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=============================================================================================        ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==============================================================================================       ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===============================================================================================      ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [================================================================================================     ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [=================================================================================================    ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [==================================================================================================   ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64 [===================================================================================================  ] 1/1
  Installing       : bottom-0.6.8-1.fc36.x86_64                                                                                                         1/1 

  Running scriptlet: bottom-0.6.8-1.fc36.x86_64                                                                                                         1/1 

  Verifying        : bottom-0.6.8-1.fc36.x86_64                                                                                                         1/1 

Installed:
  bottom-0.6.8-1.fc36.x86_64                                                                                                                                

Complete!
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# �[7mrpm --import https://packages.microsoft.com/keys/microsoft.asc�[27m�
�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[Crpm --import https://packages.microsoft.com/keys/microsoft.asc
�[?2004l
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# �[7mcurl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo�[27m�
�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[Ccurl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo
�[?2004l
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   193  100   193    0     0   1332      0 --:--:-- --:--:-- --:--:--  1340
[packages-microsoft-com-prod]
name=packages-microsoft-com-prod
baseurl=https://packages.microsoft.com/rhel/7/prod/
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# dnf che��[K��[K��[Kcheck-update
�[?2004l
packages-microsoft-com-prod                                    [===                                                       ] ---  B/s |   0  B     --:-- ETA
packages-microsoft-com-prod                                    [===                                                       ] ---  B/s |   0  B     --:-- ETA
packages-microsoft-com-prod                                21% [============-                                             ] 5.1 MB/s | 1.5 MB     00:01 ETA
packages-microsoft-com-prod                                51% [==============================                            ] 5.2 MB/s | 3.7 MB     00:00 ETA
packages-microsoft-com-prod                                82% [===============================================-          ] 5.3 MB/s | 5.8 MB     00:00 ETA
packages-microsoft-com-prod                                                                                                 5.0 MB/s | 7.0 MB     00:01    
Last metadata expiration check: 0:00:03 ago on Wed 11 May 2022 22:25:54 UTC.

�[1m�[32mglibc.x86_64                                                   �(B�[m 2.35.9000-17.fc37                                                                    rawhide
�[1m�[32mglibc-all-langpacks.x86_64                                     �(B�[m 2.35.9000-17.fc37                                                                    rawhide
�[1m�[32mglibc-common.x86_64                                            �(B�[m 2.35.9000-17.fc37                                                                    rawhide
�[1m�[32mglibc-devel.x86_64                                             �(B�[m 2.35.9000-17.fc37                                                                    rawhide
�[1m�[32mglibc-gconv-extra.x86_64                                       �(B�[m 2.35.9000-17.fc37                                                                    rawhide
�[1m�[32mglibc-headers-x86.noarch                                       �(B�[m 2.35.9000-17.fc37                                                                    rawhide
�[1m�[32mglibc-langpack-en.x86_64                                       �(B�[m 2.35.9000-17.fc37                                                                    rawhide
�[1m�[32mkernel.x86_64                                                  �(B�[m 5.18.0-0.rc6.20220510git9be9ed2612b5aed.49.fc37                                      rawhide
�[1m�[32mkernel-core.x86_64                                             �(B�[m 5.18.0-0.rc6.20220510git9be9ed2612b5aed.49.fc37                                      rawhide
�[1m�[32mkernel-modules.x86_64                                          �(B�[m 5.18.0-0.rc6.20220510git9be9ed2612b5aed.49.fc37                                      rawhide
�[1m�[32mkernel-modules-extra.x86_64                                    �(B�[m 5.18.0-0.rc6.20220510git9be9ed2612b5aed.49.fc37                                      rawhide
�[1m�[32mmicrocode_ctl.x86_64                                           �(B�[m 2:2.1-51.fc37                                                                        rawhide
�[1m�[32mnmap-ncat.x86_64                                               �(B�[m 3:7.92-4.fc37                                                                        rawhide
�[1m�[32mwireplumber.x86_64                                             �(B�[m 0.4.10-1.fc37                                                                        rawhide
�[1m�[32mwireplumber-libs.x86_64                                        �(B�[m 0.4.10-1.fc37                                                                        rawhide
�[1m�[32mxfsprogs.x86_64                                                �(B�[m 5.16.0-1.fc37                                                                        rawhide
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# �[7mdnf install compat-openssl10�[27m����������������������������dnf install compat-openssl10
�[?2004l
Last metadata expiration check: 0:00:16 ago on Wed 11 May 2022 22:25:54 UTC.
No match for argument: �[1mcompat-openssl10�(B�[m
Error: Unable to find a match: compat-openssl10
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# ^C�[?2004l
�[?2004h�[?2004l

�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# �[7mdnf install -y powershell�[27m��������������������������dnf install -y powershell��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[K��[Ksearch powershell
�[?2004l
Last metadata expiration check: 0:00:35 ago on Wed 11 May 2022 22:25:54 UTC.
============================================================ Name & Summary Matched: powershell ============================================================
�[1m�[35mpowershell�(B�[m.x86_64 : �[1m�[35mPowerShell�(B�[m is an automation and configuration management platform.
�[1m�[35mpowershell�(B�[m-lts.x86_64 : �[1m�[35mPowerShell�(B�[m is an automation and configuration management platform.
�[1m�[35mpowershell�(B�[m-preview.x86_64 : �[1m�[35mPowerShell�(B�[m is an automation and configuration management platform.
python3-colcon-�[1m�[35mpowershell�(B�[m.noarch : Extension for colcon to provide �[1m�[35mPowerShell�(B�[m scripts
=============================================================== Summary Matched: powershell ================================================================
omi-psrp-server.x86_64 : �[1m�[35mPowerShell�(B�[m Remoting Protocol
python3-click-completion.noarch : Add automatic completion support for fish, Zsh, Bash and �[1m�[35mPowerShell�(B�[m to Click
�]0;root@BEEDELLROKEJULIANLOCKHART:~��[?2004h[root@BEEDELLROKEJULIANLOCKHART ~]# dnf install �[7mpowershell-preview.x86_64�[27m��������������������������powershell-preview.x86_64
�[?2004l
Last metadata expiration check: 0:00:51 ago on Wed 11 May 2022 22:25:54 UTC.
Dependencies resolved.
============================================================================================================================================================
 Package                              Architecture             Version                                  Repository                                     Size
============================================================================================================================================================
Installing:
 �[1m�[32mpowershell-preview                  �(B�[m x86_64                   7.3.0_preview.3-1.rh                     packages-microsoft-com-prod                    45 M

Transaction Summary
============================================================================================================================================================
Install  1 Package

Total download size: 45 M
Installed size: 124 M
Is this ok [y/N]: Y
Downloading Packages:
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm          0% [                                                          ] ---  B/s |   0  B     --:-- ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm          0% [                                                          ] 105 kB/s |  32 kB     07:19 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm          4% [==-                                                       ] 518 kB/s | 2.1 MB     01:25 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm          9% [=====                                                     ] 929 kB/s | 4.2 MB     00:45 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         14% [========                                                  ] 1.3 MB/s | 6.4 MB     00:30 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         18% [==========-                                               ] 1.6 MB/s | 8.6 MB     00:22 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         23% [=============-                                            ] 2.0 MB/s |  11 MB     00:17 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         28% [================                                          ] 2.3 MB/s |  13 MB     00:14 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         32% [==================-                                       ] 2.5 MB/s |  15 MB     00:12 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         37% [=====================-                                    ] 2.8 MB/s |  17 MB     00:10 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         42% [========================                                  ] 3.1 MB/s |  19 MB     00:08 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         46% [===========================                               ] 3.3 MB/s |  21 MB     00:07 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         51% [=============================-                            ] 3.5 MB/s |  23 MB     00:06 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         54% [===============================-                          ] 3.6 MB/s |  25 MB     00:05 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         58% [==================================                        ] 3.8 MB/s |  27 MB     00:04 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         61% [===================================-                      ] 3.8 MB/s |  28 MB     00:04 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         65% [=====================================-                    ] 3.9 MB/s |  30 MB     00:03 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         69% [========================================                  ] 4.0 MB/s |  31 MB     00:03 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         72% [==========================================                ] 4.1 MB/s |  33 MB     00:02 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         76% [============================================              ] 4.1 MB/s |  34 MB     00:02 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         79% [==============================================            ] 4.2 MB/s |  36 MB     00:02 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         83% [================================================          ] 4.3 MB/s |  38 MB     00:01 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         86% [==================================================        ] 4.4 MB/s |  39 MB     00:01 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         91% [====================================================-     ] 4.5 MB/s |  41 MB     00:00 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm         95% [=======================================================   ] 4.6 MB/s |  43 MB     00:00 ETA
powershell-preview-7.3.0_preview.3-1.rh.x86_64.rpm                                                                          5.9 MB/s |  45 MB     00:07    
------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                       5.9 MB/s |  45 MB     00:07     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction

  Preparing        :                                                                                                                                    1/1 

  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [                                                                                 ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=                                                                                ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==                                                                               ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===                                                                              ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [====                                                                             ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=====                                                                            ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [======                                                                           ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=======                                                                          ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [========                                                                         ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=========                                                                        ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==========                                                                       ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===========                                                                      ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [============                                                                     ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=============                                                                    ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==============                                                                   ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===============                                                                  ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [================                                                                 ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=================                                                                ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==================                                                               ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===================                                                              ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [====================                                                             ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=====================                                                            ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [======================                                                           ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=======================                                                          ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [========================                                                         ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=========================                                                        ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==========================                                                       ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===========================                                                      ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [============================                                                     ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=============================                                                    ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==============================                                                   ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===============================                                                  ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [================================                                                 ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=================================                                                ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==================================                                               ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===================================                                              ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [====================================                                             ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=====================================                                            ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [======================================                                           ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=======================================                                          ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [========================================                                         ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=========================================                                        ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==========================================                                       ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===========================================                                      ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [============================================                                     ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=============================================                                    ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==============================================                                   ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===============================================                                  ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [================================================                                 ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=================================================                                ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==================================================                               ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===================================================                              ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [====================================================                             ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=====================================================                            ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [======================================================                           ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=======================================================                          ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [========================================================                         ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=========================================================                        ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==========================================================                       ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===========================================================                      ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [============================================================                     ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=============================================================                    ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==============================================================                   ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===============================================================                  ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [================================================================                 ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=================================================================                ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==================================================================               ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===================================================================              ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [====================================================================             ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=====================================================================            ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [======================================================================           ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=======================================================================          ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [========================================================================         ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=========================================================================        ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==========================================================================       ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===========================================================================      ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [============================================================================     ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [=============================================================================    ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [==============================================================================   ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [===============================================================================  ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64 [================================================================================ ] 1/1
  Installing       : powershell-preview-7.3.0_preview.3-1.rh.x86_64                                                                                     1/1 

  Running scriptlet: powershell-preview-7.3.0_preview.3-1.rh.x86_64                                                                                     1/1 

  Verifying        : powershell-preview-7.3.0_preview.3-1.rh.x86_64                                                                                     1/1 

Installed:
  powershell-preview-7.3.0_preview.3-1.rh.x86_64                                                                                                            

Complete!

...demonstrates what was recorded when those commands were invoked.

How can we reproduce this?

Invoke:

alacritty -e pwsh-preview -NoExit -Command 'Start-transcript -Append -IncludeInvocationHeader'
btm

What is the actual behaviour?

This depicts that the window that should appear is invisible.

However, if I leave Bottom to operate some time, and kill it via "^C"/Control+C, Bottom appears for barely some miliseconds within the lower portion of the terminal before disappearing.

What is the expected behaviour?

If "alacritty -e bash -c btm" is invoked via KRunner,
this appears (albeit not full-screen; I did that to remove anything that was unnecessary).

@RokeJulianLockhart RokeJulianLockhart added the bug Something isn't working the way that is expected. label Jun 22, 2022
@ClementTsang
Copy link
Owner

Interesting, I'll take a look when I have some time and see if I can reproduce.

@ClementTsang
Copy link
Owner

ClementTsang commented Jun 28, 2022

@BEEDELLROKEJULIANLOCKHART

Hm, not sure if I'm reproducing correctly. Let me know if this is the same as what you're getting. For reference, I installed Powershell on my Arch system and I'm just replacing your pwsh-preview calls with pwsh.

Also, just to note, if I just start pwsh then run btm in any terminal emulator (e.g. Alacritty) it works fine for me.


Your steps to reproduce uses Start-Transcript, and nothing is drawn after invocation. I am seeing it being drawn inside the transcript file, though.

If this is the same behaviour you're seeing, then I'm not sure if this is really a bug - you're trying to output an interactive program to something that isn't a terminal when using Start-Transcript, if I'm understanding correctly, and it's not that surprising that it doesn't play nicely. If I try opening something like vim or htop, they also act strangely in this use case.

What I can definitely look into adding at the very least is a warning if someone tries to output to a non-terminal though, like vim does:

image

EDIT: Done in #760

@RokeJulianLockhart
Copy link
Author

RokeJulianLockhart commented Jun 30, 2022

What @ClementTsang states is certainly reasonable, but are you certain that btm being outputted via a non-terminal is the problem? Potentially, this problem exists solely because PowerShell and Vim's implementation of this is merely bad, because:

PS /> Stop-Transcript
Transcript stopped, output file is /home/A1653237104/PowerShell_transcript.1653307616.8_T_6ojH.20220630081320.txt
PS /> su -c "script -a"
Script started, output log file is 'typescript'.
[root@1653307616 /]# btm

…allows me to invoke the terminal, yet it is logged via file:///usr/bin/script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working the way that is expected.
Projects
None yet
Development

No branches or pull requests

2 participants