|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #61000] clc command does not totally clean the command window. The history can still be traversed using the scroll bar. |
Date: | Mon, 2 Aug 2021 09:40:47 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Android 8.0.0; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0 |
Follow-up Comment #5, bug #61000 (project octave): This comment is for CLI not GUI. For all the years I've used octave, I've usually used the terminal window's "clear and reset" function if I want to eliminate the history. Octave's clc is similar to bash's clear, and neither will remove past commands from history. There isn't a command for that as far as I know because command history is the responsibility of the terminal not the program sending things to the terminal. I would argue that retaining that behavior is better than combining the two behaviors into clc. Sometimes I only want to clear the screen but not reset history, and sometimes I want to do both. When Matlab is invoked in CLI mode (e.g. running Matlab server-side through a shell instead of locally) it behaves the same, not clearing command history. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61000> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |