Skip to content

Makes all the letters of the current view of your Unix console "fall down" one by one.

Notifications You must be signed in to change notification settings

telekobold/falling_chars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Falling chars

Description

This is a reprogramming of the payload (visualization) of the MS-DOS Cascade computer virus for Unix systems in C using the ncurses library. It makes all the letters of the current view of your Unix console "fall down" one by one.

Usage

To run the program, you must install ncurses on your system. Probably, you can do that using your package manager (e.g. "apt" on Debian and derivatives). After that, compile and link the source file with g++ falling_chars.c -o falling_chars -l ncurses

Current limitations

I started to write this in C and then added C++ code where necessary due to limitations of C (no vector data type, complicated string concatenation, etc.). Therefore, the program's source file is now a mixture of C and C++ code. Maybe, I will translate the whole program into pure C++ in the future.

Currently, there is a bug leaving a single character on the screen at the end, which also may prevent other characters above it from falling down.

Also, the program behaves strange e.g. when starting programs like vim or ssh doing more complicated things than just printing some output to the console.

About

Makes all the letters of the current view of your Unix console "fall down" one by one.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages