History log of /haiku/src/add-ons/kernel/drivers/common/console.cpp
Revision Date Author Comments
# ed9a502a 08-Jul-2019 Jérôme Duval <jerome.duval@gmail.com>

console: allow one user at a time.

Fixes #15142.

Change-Id: I203cb62a6640fcd5f674eeaf4aa1145e1e831ca6
Reviewed-on: https://review.haiku-os.org/c/1566
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 8e4aa133 26-May-2018 Jérôme Duval <jerome.duval@gmail.com>

console: use user_memcpy to read the user buffer.


# 297a8ac7 23-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* bonefish is getting sloppy: applied r39584 to console.cpp as well :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46af4e77 27-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Fixed CID 566 that was duplicated in blue_screen.cpp as well (but was not
discovered by Coverity for some reason): commands without arguments would
overwrite memory (in this case the sConsole::arg_count only, though).
* Travis's copyright was missing in blue_screen.cpp.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38409 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 57e81ac7 22-Jun-2008 Michael Lotz <mmlr@mlotz.ch>

Properly initialize the device_hooks in the null and console drivers to include
the select/deselect/readv/writev hooks. Not that it would matter as the static
memory there is cleared to 0 anyway.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26080 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6b9018bf 04-Aug-2005 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13897 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fce78d9e 12-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

The console driver now supports TIOCGWINSZ (getting the window size), and
"consoled" now uses this information to tell the TTY its size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12355 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dd8d0a92 21-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed console_desc::arg_ptr to arg_count, gconsole to sConsole, variable "con" to "console".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f5a0e223 21-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Clear screen and clear line commands now work as expected.
The default option of "m" is now honored.
Prints out <BEEP> to the debug output instead of printing it on-screen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# be6b98a9 16-Feb-2005 Axel Dörfler <axeld@pinc-software.de>

Since the mode commands are ignored anyway, we're now also accepting a "?"
starting parameter (or better, we silently ignore it) that's used for
private DEC modes. Vim uses those for whatever reason.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 825474c9 11-Feb-2005 Axel Dörfler <axeld@pinc-software.de>

Ported over the console driver from NewOS - this one is a bit more capable
than our currently built-in one (colors and stuff). It won't be needed
later on for the distribution, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11348 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 297a8ac7d2a51cf889cdfbb75cc8cd6d66d00a74 23-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* bonefish is getting sloppy: applied r39584 to console.cpp as well :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46af4e77874d0e1794f74aaa09a8b15233fdc12b 27-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Fixed CID 566 that was duplicated in blue_screen.cpp as well (but was not
discovered by Coverity for some reason): commands without arguments would
overwrite memory (in this case the sConsole::arg_count only, though).
* Travis's copyright was missing in blue_screen.cpp.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38409 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 57e81ac7d835b7ce0584381d04b14a3cf9852604 22-Jun-2008 Michael Lotz <mmlr@mlotz.ch>

Properly initialize the device_hooks in the null and console drivers to include
the select/deselect/readv/writev hooks. Not that it would matter as the static
memory there is cleared to 0 anyway.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26080 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6b9018bf1c251998b32cbd26a55b93b9656502be 04-Aug-2005 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13897 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fce78d9e213cbace22549179c63567003056de4f 12-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

The console driver now supports TIOCGWINSZ (getting the window size), and
"consoled" now uses this information to tell the TTY its size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12355 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dd8d0a9247646d71bab0c3e09deb74d01f963b8e 21-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed console_desc::arg_ptr to arg_count, gconsole to sConsole, variable "con" to "console".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f5a0e223f41664f59333f09e0f05759b07532fdd 21-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Clear screen and clear line commands now work as expected.
The default option of "m" is now honored.
Prints out <BEEP> to the debug output instead of printing it on-screen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# be6b98a967f56714defd72c7b9413383b1a5d1fe 16-Feb-2005 Axel Dörfler <axeld@pinc-software.de>

Since the mode commands are ignored anyway, we're now also accepting a "?"
starting parameter (or better, we silently ignore it) that's used for
private DEC modes. Vim uses those for whatever reason.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 825474c914d6b0d91453f799ae3abc530625959f 11-Feb-2005 Axel Dörfler <axeld@pinc-software.de>

Ported over the console driver from NewOS - this one is a bit more capable
than our currently built-in one (colors and stuff). It won't be needed
later on for the distribution, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11348 a95241bf-73f2-0310-859d-f6bbb57e9c96