dylanaraps / pywal

🎨 Generate and change color-schemes on the fly.
MIT License
8.32k stars 324 forks source link

OpenBSD Support Issue #284

Open YOUR-WORST-TACO opened 6 years ago

YOUR-WORST-TACO commented 6 years ago

I have setup an OpenBSD machine, and I have difficulty with sending sequences to multiple terminals,

it appears that the in OpenBSD pseudo terminals don't live in /dev/pts/ and instead live directly at /dev/ptyp*

been working on trying to find a work around, figured I would reach out to the author.

YOUR-WORST-TACO commented 6 years ago

Alright, I have done some digging, I can get terminals to update if I edit the sequences.py and change the following

sequences.py (line 86), from tty_pattern = "/dev/pts[0-9]*"

sequences.py (line 86), to tty_pattern = "/dev/ptyp*"

The only problem I am currently dealing with is that all ptyp*'s have already been created so there are empty ones as well, and when pywal attempts to write to them it freezes indefinitely. Working on finding a workaround.

YOUR-WORST-TACO commented 6 years ago

Another update: I have messed with this for another hour and I have gotten my sequences to update.

My Method: ultimately I ended up writing a script that goes through /dev/ttyp* and checks if it has anything attached using the ps command, if it does, it cats a sequences file to that ttyp.

Not sure how I would go about implementing this in python, but I dont think it would be worth your time.

ekollof commented 3 years ago

Could #510 be merged by someone?