dundee / gdu

Fast disk usage analyzer with console interface written in Go
MIT License
3.8k stars 138 forks source link

macos no detecting tty #282

Closed jorpilo closed 7 months ago

jorpilo commented 11 months ago

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.

daniejstriata commented 11 months ago

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

jorpilo commented 11 months ago
> 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
daniejstriata commented 11 months ago

If you execute \gdu is it still the same?

Kondratenko-Valeriy commented 9 months ago

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

dundee commented 7 months ago

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