You are not logged in.

#1 2020-03-30 12:44:00

Kivi
Member
Registered: 2020-03-25
Posts: 10

tty login fonts acting weird (spacing seems off)

Hi!

So i made a custom login screen (/etc/issue) and i put some ascii art-text in, with figlet, so basically just banner text.
The text looks perfectly fine in my terminal emulator, and in the tty too when opened in vim, or catted out, but on the login screen, its just wrong, the figlet art is all broken
its almost like the font is not monospaced there, but then when i log in and cat it out, it looks as it should, any ideas what might cause this?

thanks!

Offline

#2 2020-03-30 13:06:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: tty login fonts acting weird (spacing seems off)

Post your /etc/issue if you want help.

Does `agetty --show-issue` display it properly?  `cat`ing the file isn't that meaningful of a test.  (And do you use agetty, or a different getty implementation?)

Last edited by Trilby (2020-03-30 13:21:27)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-06-09 13:46:59

PRochefort
Member
Registered: 2022-06-09
Posts: 1

Re: tty login fonts acting weird (spacing seems off)

I don't know if anyone has answered your question but here goes:

it's likely that you have "\" in your ascii art. Just replace every "\" by "\\" to prevent the substitution that the system is trying to do. The "\\" basically is sying "I don't want a substitution, i want the literal "\".
An ssh login does not show the same problem because it does not do substitution.

Hope this helps you out.
Thanks

Offline

#4 2022-06-09 16:07:12

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,579
Website

Re: tty login fonts acting weird (spacing seems off)

Mod note: closing this old, abandoned thread.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB