News for hackers. Stuff that matters.
Re:Bye CUPS: Printing with Netcat by gerdesj on Tuesday August 03, 2021 @08:39PM (#28055976)
Good skills.

It has never occurred to me to do that but it is actually quite an obvious thing to do when you "know" that everything is a file.

Any idea what the visual equivalent would be?

Re:Bye CUPS: Printing with Netcat by toast0 on Tuesday August 03, 2021 @09:58PM (#28056408)
If you've got a framebuffer console, I think you can cat to /dev/fb ... Although pixels are less friendly than audio, it's kind of helpful for identifying patterns if you preprocess so everything is shades of one color, or a byte -> color map anyway.
Re:Bye CUPS: Printing with Netcat by anthk on Tuesday August 03, 2021 @10:05PM (#28056438)
Plan9's /dev/draw.
Re:Bye CUPS: Printing with Netcat by reshie on Tuesday August 03, 2021 @09:09PM (#28056157)
ffmpeg can point directly to the webcam under /dev/.
Re:Bye CUPS: Printing with Netcat by axiolite on Wednesday August 04, 2021 @02:31AM (#28057886)
> Any idea what the visual equivalent would be?

Perhaps:

head -c800 /dev/urandom > /dev/tty

Or:

mplayer -demuxer rawvideo -rawvideo w=80:h=60 /dev/urandom

Re:Bye CUPS: Printing with Netcat by iso1631 on Wednesday August 04, 2021 @08:48AM (#28060376)
> mplayer -demuxer rawvideo -rawvideo w=80:h=60 /dev/urandom

Change that to w=720 h=576 (for pal countries) and you can relive the glory days of analog TV static. Except not - mey memory seems to tell me it's more colourful. I guess it's to do with the limited chroma resolution in pal?

Re:Bye CUPS: Printing with Netcat by yencabulator on Sunday August 08, 2021 @04:50PM (#28109975)
As far as I understand/remember it:

Analog color television color information is sent "out of band" from the point of view of black-and-white television (as a sideband frequency, with neat analog trickery to cancel out its effect on main signal). Color TV is backwards compatible. It's unlikely that random input happens to look like meaningful properly encoded color information, so television static is largely black and white.

Re:Bye CUPS: Printing with Netcat by axiolite on Thursday August 05, 2021 @01:00AM (#28070044)
You can reduce the saturation as desired (0.6 below):

mplayer -vf eq2=1:1:0:0.6 -demuxer rawvideo -rawvideo pal /dev/urandom