the tty's size is ignored
It's very obvious when running ps aux that the tty's size is ignored by grc. Cope doesn't seem to have this problem. I'm guessing that is emulates a tty?
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.
I'm using fish and urxvt. grc resize reports the correct numbers.
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.
The same thing was causing #25 as well.
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.
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.
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