Navigation:  Using iKog >

Clearing the screen

Previous pageReturn to chapter overviewNext page

With Windows system, it is possible to clear the screen by calling a system command, cls.  This is the best way of clearing the screen when you have sensitive data displayed such as a password.  Unfortunately, some security suites such as ZoneAlarm, may pop-up a warning that Python is trying to perform a system call.  As such, by default, ikog.py does not use system calls.

 

However, if you are comfortable with the message you can tell iKog that you would like to use system calls.  To allow system calls use the command SYS ON and to prevent system calls use the command SYS OFF.  If system calls are not allowed, the visible display is still cleared but the information can still be viewed by scrolling back through the terminal.  Disabling system calls also prevents use of the !CMD feature.


On some Linux terminals use of the system call, clear, may still allow the data to be viewed by scrolling back through the terminal history.


from version 1.64

The screen is automatically cleared after secret or private data has been displayed but you can also use the CLS or CLEARSCREEN command at any time.