You are not logged in.

#1 2019-11-09 14:15:28

MS1
Member
Registered: 2018-02-02
Posts: 84

Output from tree looks strange [Solved]

I recently made a new Arch install and my terminal output looks strange compared to my old laptop. Running tree shows dashes on the new one but lines on the old one and I can't figure out why.

% tree /var/cache/man 
/var/cache/man
|-- CACHEDIR.TAG
|-- cat1
|-- cat2
|-- cat3
|-- cat4
|-- cat5
|-- cat6
|-- cat7
|-- cat8
`-- index.db

8 directories, 2 files

On the old laptop the dashes are solid lines

% tree /var/cache/man 
/var/cache/man
├── CACHEDIR.TAG
├── cat1
├── cat2
├── cat3
├── cat4
├── cat5
├── cat6
├── cat7
├── cat8
└── index.db

8 directories, 2 files

Last edited by MS1 (2019-11-17 10:47:53)

Offline

#2 2019-11-09 14:32:23

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Output from tree looks strange [Solved]

localectl
locale
locale -a

Offline

#3 2019-11-09 16:31:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: Output from tree looks strange [Solved]

And,

echo $TERM

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2019-11-17 10:47:34

MS1
Member
Registered: 2018-02-02
Posts: 84

Re: Output from tree looks strange [Solved]

It was a bad locale. Thanks to you.

Offline

#5 2019-11-17 13:54:26

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Output from tree looks strange [Solved]

Edit: sorry, missed the tail.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Last edited by seth (2019-11-17 14:32:33)

Offline

Board footer

Powered by FluxBB