1e727ca1bd6ae524d26e0da122404abdbd3f1e31
The cursor-report size probe (tty_columns_lines: Save + Goto(999,999) + \x1B[6n) is unreliable on the fbcond console. console_draw does not clamp Goto beyond the real screen bounds, so the \x1B[6n reply can report the *current* cursor position mid boot-text (observed 15x56) instead of the actual dimensions. A bogus 15-column width makes the login shell wrap every line oddly. Keep the probe result only when both dimensions are plausible (cols 40..=1000, lines 10..=1000); otherwise fall back to the safe 80x30 default, which mis-wraps on no real framebuffer. A correct full-size reading needs fbcond/console_draw to answer the probe properly (tracked separately). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Redox OS user and group utilities.
The userutils crate contains the utilities for dealing with users and groups in Redox OS.
They are heavily influenced by UNIX and are, when needed, tailored to specific Redox use cases.
These implementations strive to be as simple as possible drawing particular inspiration by BSD systems. They are indeed small, by choice.
Currently included:
getty: Used byinit(8)to open and initialize the TTY line, read a login name and invokelogin(1).id: Displays user identity.login: Allows users to login into the systempasswd: Allows users to modify their passwords.su: Allows users to substitute identity.sudo: Enables users to execute a command as another user.useradd: Add a userusermod: Modify user informationuserdel: Delete a usergroupadd: Add a user groupgroupmod: Modify group informationgroupdel: Remove a user group
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Languages
C
37.5%
C++
37.2%
JavaScript
6.7%
QML
3.4%
HTML
3.2%
Other
11.4%