Add fecho function.

Replacement for #754 which was auto-closed when removing the obsolete "unstable" branch.