Skip to content

FailFast: The terminfo database is invalid #6132

@cvandal

Description

@cvandal

Steps to reproduce

pwsh

Expected behavior

Enter PowerShell without having to set the TERM env var. I could `export TERM=xterm` but this isn't picked up by VSCode and I'd prefer to leave it set to `xterm-256color`.

Actual behavior

> pwsh
PowerShell v6.0.1
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

FailFast: The terminfo database is invalid.

   at System.Environment.FailFast(System.String, System.Exception)
   at System.Environment.FailFast(System.String, System.Exception)
   at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String, System.String[], Int32)
   at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[])
Aborted (core dumped)

Environment data

> printenv TERM
xterm-256color

> TERM=xterm pwsh
PowerShell v6.0.1
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS /home/chris> $PSVersionTable                                                                                                                       

Name                           Value                                                                                                                 
----                           -----                                                                                                                 
PSVersion                      6.0.1                                                                                                                 
PSEdition                      Core                                                                                                                  
GitCommitId                    v6.0.1                                                                                                                
OS                             Linux 4.15.0-1-default #1 SMP PREEMPT Wed Jan 31 07:03:28 UTC 2018 (ac01747)                                          
Platform                       Unix                                                                                                                  
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                               
PSRemotingProtocolVersion      2.3                                                                                                                   
SerializationVersion           1.1.0.1                                                                                                               
WSManStackVersion              3.0                                                                                                                   

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.Waiting - DotNetCorewaiting on a fix/change in .NET

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions