Comments (7)
Can you send me the details of your OS? tty size should not be ignored, only the changes during the execution of grc. What does grc resize
say?
In particular, I see no problems with ps aux
.
from grc.
I'm using fish and urxvt. grc resize
reports the correct numbers.
from grc.
I figured out what I was doing wrong. Specifying the config directly with --config=conf.ps
was causing the issue. If I don't specify it, it seems to work.
from grc.
The same thing was causing #25 as well.
from grc.
Err... if I don't specify the config the output was colourized by cope
because I have that installed too. Maybe my issues are related to running everything through both cope
and grc
.
from grc.
I see. ps
ignores tty size if its output is not a terminal - try ps aux|cat
to see the effect. I am (slowly) working on tty emulation, hopefully that should fix the issue.
grc ps
without --config
was probably not colourising the output, because it did not recognise the ps
command and therefore ps
had been executed directly.
from grc.
Hmm... sorry for all the confusion. Looks like I CAN reproduce this easily this way:
grc --config=conf.ps /usr/bin/ps aux
so, yeah, I guess when there was no config the output was the tty, not grc, so that's why it worked and in my case it was coloured because I accidentally ran the cope
executable.
#25 is separate and still valid
from grc.
Related Issues (20)
- grc is buggy with the bash builtin: read -p
- Broken colorization with ls and locale that differs from US
- Color ordering off-by-one error.
- error when piping binary file (or file with funny encoding)
- zsh not sourcing the grc.zsh despite everything been set correctly HOT 4
- case insensitivity needed HOT 1
- coloring broken with `docker compose` (vs `docker-compose`)
- Random | All colors log colorization based on regular expression matches
- Guide how / where to share configs
- please merge devel into master and make a new release
- Config for json formatting HOT 1
- Add screenshots to the README so people can see what the results look like
- Add kubectl debug to exception list for grc
- Add colorization for route HOT 3
- Install.sh started to give unbound variable $2 error
- bad display with ss command
- Add colorization for nvidia-smi
- Add colorization for nvme-cli
- Add colorization for smartctl
- Add colorization for diskutil
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grc.