On 3/22/19 11:41 AM, Pei Jia wrote:

Hi, all:


I noticed from http://www.linuxfromscratch.org/blfs/view/6.3/postlfs/logon.html

You are looking at a page from over 10 years ago. It probably does not matter for that particular page, but change '6.3' to 'stable' in the above URL.

that*/etc/issue* can display plain text. Just wonder if there is a way to colorize the characters ? If so, how?

BTW, is it possible to run a simple script and display customized and colorized ART characters, as done within PC terminal?

You can probably hard code terminal sequences in /etc/issue like
ESC1;36m for cyan where ESC is a literal escape character (0x27) but it also depends on the terminal. For details, ask google.

The question is why? You only look at the prompt long enough to type user ID and password.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to