Normally I can clear the screen with ctrl-L but while running GAP, ctr-l just displays the last command entered.


GAP documents no obvious/direct way to do this, but you can run system commands from its prompt which may do it, e.g., using Exec:

gap> Exec( "clear" );
  • can you recommend any resources for learning about how system commands work in Bash? – Nicholas Cousar Mar 3 at 21:31
  • 1
    There's a lot: in "system", I was referring to any command that could be run using system, which covers a lot of territory. GAP has its own command-language, and provides (like some other programs) a way to use shell commands (or on Windows, analogous commands). – Thomas Dickey Mar 3 at 22:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.