~scrumplex

Germany

https://scrumplex.net

Doing some Free and Open Source stuff


#22 agreety does not print tty escapes from /etc/issue 11 days ago

Comment by ~scrumplex on ~kennylevinsen/greetd

Well. Nevermind. Works as intended

REPORTED RESOLVED INVALID

#22 agreety does not print tty escapes from /etc/issue 11 days ago

Comment by ~scrumplex on ~kennylevinsen/greetd

Looks like my method above is not working right. If I redirect stdout of agreety into a file and then hexdump that it shows the full issue.

#22 agreety does not print tty escapes from /etc/issue 11 days ago

Ticket created by ~scrumplex on ~kennylevinsen/greetd

I disabled the tty cursor, by setting vt.global_cursor_default=0 in kernel cmdline.

Now the Arch Wiki recommends to enable it by appending the output of setterm -cursor on into /etc/issue.

Doing that doesn't work with agreety for some reason.

See outputs below

$ setterm -cursor on | xxd
00000000: 1b5b 3f31 326c 1b5b 3f32 3568            .[?12l.[?25h
$ cat /etc/issue | xxd
00000000: 4172 6368 204c 696e 7578 205c 7220 285c  Arch Linux \r (\
00000010: 6c29 0a0a 1b5b 3f31 326c 1b5b 3f32 3568  l)...[?12l.[?25h
00000020: 1b5b 3f31 326c 1b5b 3f32 3568            .[?12l.[?25h
$ agreety | xxd
00000000: 4172 6368 204c 696e 7578 2035 2e31 312e  Arch Linux 5.11.
00000010: 3136 2d7a 656e 312d 326c 696e 7578 2d7a  16-zen1-2linux-z