zvbi-chains(1)

πŸ’– zvbi-chains β€” the VBI proxy wrapper, bestie edition πŸ’–

okay so you found yourself a page from section 1 of the manual, and it's literally called zvbi-chains β€” aka the VBI proxy wrapper. sit down, grab a boba, we're doing this πŸ§‹βœ¨


✨ NAME ✨

zvbi-chains β€” VBI proxy wrapper πŸŽ€


🌸 SYNOPSIS 🌸

zvbi-chains [ options ]

πŸ¦‹ DESCRIPTION πŸ¦‹

so zvbi-chains is this tiny little wrapper whose whole job is to run the VBI application you hand it on the command line β€” but with a lil ✨twist✨. while that app is running, it overloads several C library calls (think open(2) and read(2), the classics πŸ’…) so you can force the application to go through the VBI proxy instead of touching device files directly. no cap, that's the whole vibe.

how does it pull that off? LD_PRELOAD, obviously 🫢 β€” that's what intercepts the C library calls and redirects them into functions living in the libzvbi-chain shared library instead.

and the parameters you pass on the command line (say, a device path πŸ‘€) get handed off to that library by means of environment variables. sneaky? iconic? yes.


πŸ’… OPTIONS πŸ’…

  • -dev path β€” the path of a VBI device you wanna read data from. πŸŽ€
  • -debug level β€” turns debug output on. levels, bestie: 0 = off (that's the default, so chill); 1 = warnings; 2 = all the messages, every last one, no filter πŸ’€
  • -help β€” prints a short description of all the command line options. a lil menu, if you will πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘


🌟 AUTHOR 🌟

Tom Zoerner (tomzo AT users.sourceforge.net) β€” real one 🫑


Copyright (C) 2003, 2004 Tom Zoerner

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

⚠️ fr fr, read that warranty part again. there is no warranty, and that is not a drill 😭

and that's the whole page, bestie β€” this was zvbi-chains(1), the VBI proxy wrapper, served up with love πŸ’– go forth and proxy responsibly πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from