[Bug 39068] Re: clear_console should be moved to ncurses-bin
No. The only difference between clear and clear_console ist that clear_console gets rid of the scrollback buffer of Linux VTs. For Xterms, serial consoles etc. there is no difference as far as I know. -- clear_console should be moved to ncurses-bin https://bugs.launchpad.net/bugs/39068 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 39068] Re: clear_console should be moved to ncurses-bin
This probably relates to the group that owns /dev/tty0 and /dev/console - I noticed that some of the servers I administer would exhibit this behaviour and others wouldn't. On my 9.04 desktop they're owned by root, but on an 8.04 server they're owned by dialout, and I was a member of the dialout group on the servers that clear_console is working on (because I installed those servers). What I can't work out is why there needs to be a difference between clear (clear the terminal screen, which always works) and clear_console (clear the console, which attempts to switch virtual terminals and fails) - is there a difference on a serial console? -- clear_console should be moved to ncurses-bin https://bugs.launchpad.net/bugs/39068 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 39068] Re: clear_console should be moved to ncurses-bin
** Changed in: bash (Ubuntu) Status: Incomplete = Triaged -- clear_console should be moved to ncurses-bin https://bugs.launchpad.net/bugs/39068 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 39068] Re: clear_console should be moved to ncurses-bin
I've taken the time to recreate the bug as described in the test case in Karmic Koala, what will be the 9.10 release of Ubuntu, and one does still need to be root to use clear_console on a pty. Subsequently, I am changing the bug's state back to it's original one of Triaged. Sebastian - it might be worthwhile to forward this bug report to Debian. -- clear_console should be moved to ncurses-bin https://bugs.launchpad.net/bugs/39068 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 39068] Re: clear_console should be moved to ncurses-bin
BTW, I'm still convinced that this inconistency should be fixed, one way or the other. The best probably is to make clear do everything clear_console does. -- clear_console should be moved to ncurses-bin https://bugs.launchpad.net/bugs/39068 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 39068] Re: clear_console should be moved to ncurses-bin
Well, the inconsistency is _trivial_ to reproduce, it doesn't make any sense to set it to incomplete. Just compare clear_console vs. sudo clear_console in a pty. -- clear_console should be moved to ncurses-bin https://bugs.launchpad.net/bugs/39068 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 39068] Re: clear_console should be moved to ncurses-bin
** Changed in: bash (Ubuntu) Status: Confirmed = Triaged -- clear_console should be moved to ncurses-bin https://bugs.launchpad.net/bugs/39068 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs