Conversation
Notices
-
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Saturday, 07-Oct-2023 06:18:54 JST pistolero :thispersondoesnotexist: @laurel
> how do I kill a process by pid?
`kill pid` works.
> Also, what's %thaw and %freeze,
hubfs things. %freeze blocks the three file descriptors, %thaw undoes a %freeze.-
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Saturday, 07-Oct-2023 06:18:55 JST pistolero :thispersondoesnotexist: @laurel
> Is there a way to send sigint?
Not through rlwrap, I think. You could maybe %freeze, spawn a new shell, and then %thaw. -
laurel (laurel@freespeechextremist.com)'s status on Saturday, 07-Oct-2023 06:18:55 JST laurel @p
I used the rc $apid variable to get the apid of the last process but how do I kill a process by pid?
kill command only seems to accept a name input. I'm pretty sure that a :go: script would do the trick but there's gotta be a simpler way.
Also, what's %thaw and %freeze, tried to search for them but got nothing. -
laurel (laurel@freespeechextremist.com)'s status on Saturday, 07-Oct-2023 06:18:56 JST laurel @p
Ok problem solved -
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Saturday, 07-Oct-2023 06:18:56 JST pistolero :thispersondoesnotexist: @laurel Oh, what was the problem? -
laurel (laurel@freespeechextremist.com)'s status on Saturday, 07-Oct-2023 06:18:56 JST laurel @p
I have no idea. Only thing I can think of is virtualBox not applying the port forward.
Everything else was identical.
I'm using:
cat hubfs/io1 &
cat hubfs/io2 &
cat >>hubfs/io0
with rlwrap to get something like a terminal.
Is there a way to send sigint? Is there some other way to get a terminal that can be wrapped in rlwrap and support sigint? -
laurel (laurel@freespeechextremist.com)'s status on Saturday, 07-Oct-2023 06:18:57 JST laurel @p
I'm trying to connect to plan9 using hubfs following the "Connecting from Other operating systems" part from here (https://9p.io/wiki/plan9/hubfs/index.html) and need some tech support.
I have plan9 running in a virtualBox VM. I have forwarded port 8787 (tcp and udp) to localhost.
Image 1 is what I run in the plan9 terminal.
>Host:
mkdir hubfs
9pfuse 'tcp!127.0.0.1!8787' hubfs
Output Error:
9pfuse: fsmount: fsversion: fsrpc: muxrpc: unexpected eof
Fuse kernel module is loaded.
It is being used by a process but have no idea which one.
fuse 122880 1
I tested fuse using sshfs and fusermount and it works normally.
I went into plan9port/src/cmd/9pfuse and rebuilt it (mk install) just in case.
Here's a telnet output for the same port in case it helps:
telnet 127.0.0.1 8787
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
p9term.png
-