Any #Plan9 gurus on the fedi?
I've managed to break my profile causing me to be unable to connect to my account. It disconnects me upon running the profile script. drawterm -c
is not an option because it executes the profile disconnecting me before even running the command. drawterm -G
's a no-go as well.
Is there a way I can mount my remote home directory into my local (Debian 12) filesystem so that I can fix the profile without running rcpu?
Greg A. Woods likes this.
Celeste Ryder 🐾 🐀🏳️🌈 reshared this.
moody
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to moody • •-c
flag?moody
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to moody • •@moody
From the man page:
Problem is that the profile is executed before the command is run, so it boots me before even running the command. This is why I was trying to see if I could remote mount the filesystem to get around this.
moody
in reply to Jonathan Lamothe • • •~moody/tlsclient - tlsclient(1) and rcpu(1) for *nix - sourcehut git
git.sr.htJonathan Lamothe
in reply to moody • •Content warning: scary compiler error
libssl-dev
package installed, FWIW.moody
in reply to Jonathan Lamothe • • •Skip - فریبرز توکلیان
in reply to moody • • •Jonathan Lamothe
in reply to Skip - فریبرز توکلیان • •Jonathan Lamothe
in reply to moody • •moody
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to moody • •@moody Such is the nature of compiling C code. I really wish it had some sort of automatic dependency management, but what can you expect from a language that old?
When the bootcamp is over, I actually want to get into writing software for Plan9, because despite being very C-centric, it seems a nice system to develop for.
Edit: autocorrupt
moody
in reply to Jonathan Lamothe • • •I figured out the issue, it was somehow related to the ordering of passing the -l flags to cc (ugh!), if you pull the latest code from sr.ht it should build fine on debian stable now. You will need both libssl-dev and pkg-config. I've added debian to the CI builds for this now so this shouldn't slip by again without me noticing. Thanks for the bug report.
Plan 9 C thankfully has none of this insanity, as you've noticed.
Jonathan Lamothe
in reply to moody • •Jonathan Lamothe
in reply to Jonathan Lamothe • •./tlsclient -u jlamothe -h 9p.sdf.org -a 9p.sdf.org -p 17019 rm /usr/jlamothe/lib/profile
...but my profile still seems to exist. It's giving me the same error about line 7 when I connect using drawterm.
moody
in reply to Jonathan Lamothe • • •moody
in reply to Jonathan Lamothe • • •Cool, so now you can do something like:
tlsclient -R -h 9p.sdf.org -a 9p.sdf.org rc -i
Then edit profile with either ed or sam -d.
Jonathan Lamothe
in reply to moody • •@moody oh my god, I have a prompt!
Thank you!!
Edit: I was clearly too happy here to be bothered with proper spelling.