~kennylevinsen/greetd#22: 
agreety does not print tty escapes from /etc/issue

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
Status
RESOLVED INVALID
Submitter
~scrumplex
Assigned to
No-one
Submitted
11 days ago
Updated
11 days ago
Labels
No labels applied.

~scrumplex 11 days ago

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.

~scrumplex REPORTED INVALID 11 days ago

Well. Nevermind. Works as intended

Register here or Log in to comment, or comment via email.