Require lf
Set Shell "bash"
Set FontSize 12
Set Width 800
Set Height 600
Type "lf"
Sleep 1.5s
Enter
Type "jjj"
Sleep 1s
Sleep 2s
Type "fortune > file"
Type "/file"
Sleep 3s
Type "q"