pywal icon indicating copy to clipboard operation
pywal copied to clipboard

OpenBSD Support Issue

Open YOUR-WORST-TACO opened this issue 7 years ago • 3 comments

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 avatar Jul 26 '18 15:07 YOUR-WORST-TACO

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 avatar Jul 26 '18 16:07 YOUR-WORST-TACO

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.

YOUR-WORST-TACO avatar Jul 26 '18 17:07 YOUR-WORST-TACO

Could #510 be merged by someone?

ekollof avatar Apr 07 '21 20:04 ekollof