Author Topic: The weirdest thing I have ever seen in a Unix-like OS  (Read 1188 times)

0 Members and 1 Guest are viewing this topic.

Offline Ampera

  • Super Contributor
  • ***
  • Posts: 2507
  • Country: us
    • Ampera's Forums
The weirdest thing I have ever seen in a Unix-like OS
« on: March 01, 2018, 12:45:44 pm »
I was running FreeBSD 11.1 on PuTTY over SSH, until I tried to run DOSBox... Watch the video to see what happened.



Now, what I want to know, is what is this, and why is it in my Unix?
C/C++/Java Programmer, Legacy hardware enthusiast, madman.
If it's broken, I probably did it.
EEVBlog IRC: irc.austnet.irc #eevblog
 

Offline stmdude

  • Frequent Contributor
  • **
  • Posts: 479
  • Country: se
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #1 on: March 01, 2018, 01:31:06 pm »
Your DOSBox is compiled with AAlib support.

https://en.wikipedia.org/wiki/AAlib

 
The following users thanked this post: Ampera

Offline Red Squirrel

  • Super Contributor
  • ***
  • Posts: 2285
  • Country: ca
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #2 on: March 01, 2018, 08:36:52 pm »
That is an interesting library.  Wonder if it could be used to playback movies over SSH.  Wonder if that would count as piracy if you started a video streaming site that uses SSH.  :-DD
 

Offline link87

  • Newbie
  • Posts: 3
  • Country: us
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #3 on: March 01, 2018, 09:19:05 pm »
It's been done before. I've seen some movies streamed over telnet in the past. Well more like noticed them. Not very fun to watch :D
 

Offline Ampera

  • Super Contributor
  • ***
  • Posts: 2507
  • Country: us
    • Ampera's Forums
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #4 on: March 01, 2018, 10:35:59 pm »
It's been done before. I've seen some movies streamed over telnet in the past. Well more like noticed them. Not very fun to watch :D

At what point do you just say don't even bother?
C/C++/Java Programmer, Legacy hardware enthusiast, madman.
If it's broken, I probably did it.
EEVBlog IRC: irc.austnet.irc #eevblog
 

Offline Red Squirrel

  • Super Contributor
  • ***
  • Posts: 2285
  • Country: ca
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #5 on: March 02, 2018, 12:31:10 am »
I think at that point it would be more of a thing you do because you can, and not because it's a good idea. ;D
 

Online sleemanj

  • Super Contributor
  • ***
  • Posts: 2403
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #6 on: March 02, 2018, 04:27:36 am »
Once upon a time I fed video from an analog television tuner card into an aalib player to "watch" TV on a console without X available at the time.
~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline Ampera

  • Super Contributor
  • ***
  • Posts: 2507
  • Country: us
    • Ampera's Forums
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #7 on: March 02, 2018, 04:38:48 am »
Once upon a time I fed video from an analog television tuner card into an aalib player to "watch" TV on a console without X available at the time.

Why couldn't you just use a forwarded X11 server? There aren't any major operating systems, at least now, that doesn't have an Xorg server implementation.
C/C++/Java Programmer, Legacy hardware enthusiast, madman.
If it's broken, I probably did it.
EEVBlog IRC: irc.austnet.irc #eevblog
 

Online sleemanj

  • Super Contributor
  • ***
  • Posts: 2403
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #8 on: March 02, 2018, 06:49:50 am »
Once upon a time I fed video from an analog television tuner card into an aalib player to "watch" TV on a console without X available at the time.

Why couldn't you just use a forwarded X11 server? There aren't any major operating systems, at least now, that doesn't have an Xorg server implementation.

I only had a console on the machine in question no gui let alone a functional X server, I forget the details of why, it's a long time ago, at least 15 years.
~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline Ampera

  • Super Contributor
  • ***
  • Posts: 2507
  • Country: us
    • Ampera's Forums
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #9 on: March 02, 2018, 07:13:26 am »
So a full on dumb terminal? Neat.

I just had a bit of a sp00ky moment with SSH and my network myself. I was looking around on my router's control panel, trying to figure out what IP my BSD VM was on (too stupid to use ifconfig). I tried one of the IPs over SSH, and it connected, but I later found out that not only could I not log onto that SSH server, the VM was set to NAT, and that I had no idea what machine I SSHed on. Even sp00kier is that it had no hostname, I had for whatever reason given it a DHCP reservation, and if I tried to block the MAC address from connecting, so I could see what would go down, it would still connect. So at this point I was half thinking someone broke in, but my shit is secure enough for that not to happen.

As it turns out... my UniFi AP AC LR was what was at the end of that SSH connection. It's my fault for not documenting this anywhere, and also my fault for completely locking myself out of any and all management apps until I reset the AP. I didn't even know these things had SSH servers on them. I mean, it's effectively enterprise grade network hardware, so what do I expect (and a damn good AP, even on 5Ghz which is why I bought it in order to supplement my bogged down, aging 802.11 N 2.4ghz system.).

Either way lesson learned, no harm done, and I am so secure I locked myself out. Good to know.
C/C++/Java Programmer, Legacy hardware enthusiast, madman.
If it's broken, I probably did it.
EEVBlog IRC: irc.austnet.irc #eevblog
 

Offline darrellg

  • Supporter
  • ****
  • Posts: 94
  • Country: us
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #10 on: March 02, 2018, 11:48:52 pm »
You can watch Star Wars on telnet:

Code: [Select]
telnet towel.blinkenlights.nl
 
The following users thanked this post: blueskull

Offline Ampera

  • Super Contributor
  • ***
  • Posts: 2507
  • Country: us
    • Ampera's Forums
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #11 on: March 02, 2018, 11:57:00 pm »
Different concept. That's optimized and designed for ANSI terminals. What we're talking about is the direct conversion of graphical applications and media into text.
C/C++/Java Programmer, Legacy hardware enthusiast, madman.
If it's broken, I probably did it.
EEVBlog IRC: irc.austnet.irc #eevblog
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1056
  • Country: fi
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #12 on: March 05, 2018, 11:39:11 am »
I believe VLC comes with an AAlib output plugin. Watch movies at work while your boss think you're up to your usual Unix command line nonsense.

Offline Ampera

  • Super Contributor
  • ***
  • Posts: 2507
  • Country: us
    • Ampera's Forums
Re: The weirdest thing I have ever seen in a Unix-like OS
« Reply #13 on: March 05, 2018, 11:41:45 am »
I believe VLC comes with an AAlib output plugin. Watch movies at work while your boss think you're up to your usual Unix command line nonsense.

The question is how 2 sound over a dumb terminal. I might as well do what I'm supposed to do at work and then just watch the movie when I get home. Or, better yet, do both, and just watch the movie on another monitor and say that it helps me with my workflow (which it does).
C/C++/Java Programmer, Legacy hardware enthusiast, madman.
If it's broken, I probably did it.
EEVBlog IRC: irc.austnet.irc #eevblog
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf