help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs help from terminal


From: Emanuel Berg
Subject: Re: Emacs help from terminal
Date: Wed, 15 Jun 2022 21:55:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Tomas Hlavaty wrote:

> changing console font:
>
> (defun console-font (x)
>   (interactive "sfont: ")
>   (suspend-emacs (format "setfont %s;fg" x))
>   (message (format "font is %s" x)))

No need to suspend anything to change the font of the
Linux VT, just eval for example

  (shell-command "sudo setfont Lat7-TerminusBold16") ; B)

and then back and forth

  (shell-command "sudo setfont matrix.fnt") ; yuk!

For fonts, /usr/share/consolefonts

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]