gdu icon indicating copy to clipboard operation
gdu copied to clipboard

macos no detecting tty

Open jorpilo opened this issue 1 year ago • 4 comments

when running gdu (installed through brew) it always uses non-iterative mode and I can't make it run interactive.

I have tried in terminal and iterm2 and with zsh, bash and fish shells and it always runs non-interactive.

Any help on why it is not detecting the terminal.

jorpilo avatar Oct 05 '23 04:10 jorpilo

what is the output from the tty command and the value for TERM?

daniejstriata avatar Oct 05 '23 04:10 daniejstriata

> echo $TERM
xterm-256color

> tty
/dev/ttys000

> gdu
404	./dir0
808	.

> gdu dir0/*
400	dir0/hs_err_pid26455.log
0	dir0/javaVersionList.txt
4	dir0/list.manifest.json

jorpilo avatar Oct 05 '23 06:10 jorpilo

If you execute \gdu is it still the same?

daniejstriata avatar Oct 05 '23 11:10 daniejstriata

Same issue. Using \gdu also runs in non-interactive mode.

Kondratenko-Valeriy avatar Dec 13 '23 00:12 Kondratenko-Valeriy

You are running GNU du from coreutils, which links to path bin/gdu in brew.

brew install gdu
# gdu will be installed as `gdu-go` to avoid conflicts with coreutils
gdu-go

dundee avatar Feb 13 '24 23:02 dundee