Skip to content

Implement logic to get FreeBSD ttyv device names. - #343

Merged
robert-ancell merged 1 commit into
ubuntu:mainfrom
madpilot78:FreeBSD_ttyv_logic
Mar 19, 2024
Merged

Implement logic to get FreeBSD ttyv device names.#343
robert-ancell merged 1 commit into
ubuntu:mainfrom
madpilot78:FreeBSD_ttyv_logic

Conversation

@madpilot78

Copy link
Copy Markdown
Contributor

In FreeBSD the virtual terminals used for Xorg are named ttyv.

Their device numbers are also base32 encoded.

Code mostly taken from swaywm/wlroots@fc6c0ca

In FreeBSD the virtual terminals used for Xorg are named ttyv.

Their device numbers are also base32 encoded.

Code mostly taken from swaywm/wlroots@fc6c0ca
@madpilot78

Copy link
Copy Markdown
Contributor Author

As an extra note, this patch is an improvement on a patch already present (and needed) the FreeBSD Ports Tree.

I'm planning to add this to the FreeBSD ports tree shortly.

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Feb 26, 2024
Adapt code from wlroots to correctly generate ttyv device names for
numbers beyond 9.

Upstream pull request: ubuntu/lightdm#343

PR:		277114
Obtained from:	swaywm/wlroots@fc6c0ca (inspired by)
MFH:		2024Q1
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Feb 26, 2024
Adapt code from wlroots to correctly generate ttyv device names for
numbers beyond 9.

Upstream pull request: ubuntu/lightdm#343

PR:		277114
Obtained from:	swaywm/wlroots@fc6c0ca (inspired by)
MFH:		2024Q1

(cherry picked from commit c88dffc)

@robert-ancell robert-ancell left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@robert-ancell
robert-ancell merged commit c51e020 into ubuntu:main Mar 19, 2024
@madpilot78
madpilot78 deleted the FreeBSD_ttyv_logic branch March 19, 2024 08:23
camachat pushed a commit to camachat/freebsd-ports that referenced this pull request Jul 22, 2026
Adapt code from wlroots to correctly generate ttyv device names for
numbers beyond 9.

Upstream pull request: ubuntu/lightdm#343

PR:		277114
Obtained from:	swaywm/wlroots@fc6c0ca (inspired by)
MFH:		2024Q1
camachat pushed a commit to camachat/freebsd-ports that referenced this pull request Jul 24, 2026
Adapt code from wlroots to correctly generate ttyv device names for
numbers beyond 9.

Upstream pull request: ubuntu/lightdm#343

PR:		277114
Obtained from:	swaywm/wlroots@fc6c0ca (inspired by)
MFH:		2024Q1
@JPeisach JPeisach added this to the 1.33.0 milestone Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants