mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/2] improve type design in the login banner
@ 2017-11-30 23:31 Roland Hieber
  2017-11-30 23:31 ` [ptxdist] [PATCH 1/2] install_replace_figlet: allow escaping the figlet output Roland Hieber
  2017-11-30 23:31 ` [ptxdist] [PATCH 2/2] rootfs: correctly escape /etc/issue figlets Roland Hieber
  0 siblings, 2 replies; 3+ messages in thread
From: Roland Hieber @ 2017-11-30 23:31 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

Every time I look at the login prompt, the banner looks a bit off. It's
not much, but it's enough for me to notice and sigh internally at the
unroundness and leakiness of the letters, and I find the letters a bit
hard to parse.

The reason for this appearance is that backslashes in the banner output
are replaced by backticks when it is written to /etc/issue, probably as
a quick-fix to avoid variable expansion by getty.

This patch series brings the login banner back to its usual appearance.
Judge for yourself:

Before:
     ____                        _                   _
    |  _ ` ___ _ __   __ _ _   _| |_ _ __ ___  _ __ (_)_  __
    | |_) / _ ` '_ ` / _` | | | | __| '__/ _ `| '_ `| ` `/ /
    |  __/  __/ | | | (_| | |_| | |_| | | (_) | | | | |>  <
    |_|   `___|_| |_|`__, |`__,_|`__|_|  `___/|_| |_|_/_/`_`
                     |___/
     ____  _     _             _  ___ _
    |  _ `(_)___| |_ _ __ ___ | |/ (_) |_
    | | | | / __| __| '__/ _ `| ' /| | __|
    | |_| | `__ ` |_| | | (_) | . `| | |_
    |____/|_|___/`__|_|  `___/|_|`_`_|`__|

After:
     ____                        _                   _
    |  _ \ ___ _ __   __ _ _   _| |_ _ __ ___  _ __ (_)_  __
    | |_) / _ \ '_ \ / _` | | | | __| '__/ _ \| '_ \| \ \/ /
    |  __/  __/ | | | (_| | |_| | |_| | | (_) | | | | |>  <
    |_|   \___|_| |_|\__, |\__,_|\__|_|  \___/|_| |_|_/_/\_\
                     |___/
     ____  _     _             _  ___ _
    |  _ \(_)___| |_ _ __ ___ | |/ (_) |_
    | | | | / __| __| '__/ _ \| ' /| | __|
    | |_| | \__ \ |_| | | (_) | . \| | |_
    |____/|_|___/\__|_|  \___/|_|\_\_|\__|


Roland Hieber (2):
  install_replace_figlet: allow escaping the figlet output
  rootfs: correctly escape /etc/issue figlets

 rules/post/install.make           |  4 +++-
 rules/rootfs.make                 |  6 ++++--
 scripts/lib/ptxd_make_xpkg_pkg.sh | 20 ++++++++++++++++++--
 3 files changed, 25 insertions(+), 5 deletions(-)

-- 
2.15.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-30 23:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30 23:31 [ptxdist] [PATCH 0/2] improve type design in the login banner Roland Hieber
2017-11-30 23:31 ` [ptxdist] [PATCH 1/2] install_replace_figlet: allow escaping the figlet output Roland Hieber
2017-11-30 23:31 ` [ptxdist] [PATCH 2/2] rootfs: correctly escape /etc/issue figlets Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox