RATOX(1)
π RATOX(1) β General Commands Manual, bestie π
β¨ NAME β¨
ratox β FIFO based tox client
π¦ SYNOPSIS π¦
ratox [-4 | -6] [-E | -e] [-T | -t] [-P | -p] [-q] [savefile]
π DESCRIPTION π
okay so ratox is a client implementation of the tox protocol providing only FIFOs, files and directories as interfaces. Thatβs the whole interface situation, and itβs giving very βfilesystem is my UIβ energy. β¨
π OPTIONS π
-4,-6β use IPv4 / IPv6 only.-E,-eβ enable / disable save file encryption.-T,-tβ enable / disable TCP mode. Avoiding UDP in tox implies certain security considerations. β οΈ-P,-pβ enable / disable TCP HTTP/SOCKS5 proxy as specified inconfig.h.-qβ enable quiet mode. π€«savefileβ path of the file to load a profile from or create a new one in.
πΈ CONFIGURATION πΈ
ratox is configured with config.h at compile-time. Apart from command line options and other parameters, it contains the list of DHT-nodes.
If there is a mismatch between save file status and encryption setting, ratox writes the save file according to the latter. π οΈ
π INTERFACE π
A slot is a set of FIFOs, files and directories interfacing a single parameter. The set of slots makes up the interface. Think of it as lil interface bundles, no cap. π«Ά
π« Global slots π«
Global slots are directories containing an in FIFO, out and err file or directory respectively. The slot parameter is set by piping data to in and accessed with out. Any errors are reported in err.
name/β Name slot.nospam/β Nospam slot (8 digit hexadecimal).state/β State slot (available | away | busy).status/β Status message slot.request/β Request slot. Send a friend request by piping the Tox ID toin. Incoming requests are listed as FIFOs inout/. Echo1 | 0to accept | reject them.conf/β Conference management slot. A conference is created by writing a flag and its title toin. The flag ist | a | vfor a text, audio, and video conference, followed by a space character. Only text conferences work at the moment. Invites to conferences are FIFOs inout/. Their name isid_cookie(the cookie is random data). They behave like request FIFOs.
π«Ά Friend slots π«Ά
Each friend is represented with a directory in the base-directory named after their Tox ID without its nospam-value. Each directory contains slots to interface with the friend. π§
call_inβ initiate a call by piping data to this FIFO.call_outβ answer an incoming call by opening it for reading.call_stateβ reports the call state (none | pending | active). The sample format is mono signed 16-bit little endian at 48kHz. The call is terminated ifratoxreceives both anEPIPEtrying to read fromcall_inandENXIOtrying to opencall_outfor writing.file_inβ initiate a file transfer by piping data to this FIFO.file_outβ accept an incoming file transfer by opening it for reading.file_pendingβ contains the incoming filename if transfer is pending, empty otherwise. Givenratoxcanβt know how much data a given pipe is going to provide, it will send until the pipe is drained orEPIPEreceived. Thatβs why itβs possible to stream arbitrary data, including audio and video transmissions, even to other clients. π₯nameβ contains the friendβs name.onlineβ contains the friendβs online status (1 | 0).removeβ echo1to remove the friend.stateβ contains the friendβs state (available | away | busy).statusβ contains the friendβs status message.text_inβ send a text message by piping data to this FIFO.text_outβ contains text messages from the friend.
π Conference slots π
Each conference is represented with a directory in the directory named after the 8-digit conference number. The files in the conference directory are an interface for the respective conference. π
membersβ contains a list of members of the conference.inviteβ write the Tox ID of a friend to this FIFO to invite them to the conference.leaveβ write to this file to leave the conference.title_inβ write here to change the title of the conference.title_outβ contains the title of the conference.text_inβ echo message to send a text message to the conference.text_outβ contains the messages send in the conference so far.
β Misc files β
idβ contains your Tox ID.
π AUTHORS π
- Dimitris Papastamos β
<sin@2f30.org> - Laslo Hunhold β
<dev@frign.de> - z3bra β
<contact@z3bra.org> - pranomostro β
<pranomostro@posteo.net>
π sign-off: this iconic page is the Debian one, dated March 10, 2017 β RATOX(1). mwah π
π¦ where this page comes from
- nixos 26.05: ratox 0.4.20180303
- nixpkgs unstable: ratox 0.4.20180303
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms