LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2008, 07:45 AM   #1
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131

Rep: Reputation: 15
ASCII welcome message


I would like to create a giant welcome message to certain users who ssh into my server

I have seen screen shots of this kind of thing of a full colour tux created in ascii characters. Unfortunately that was along time ago and forgotten exactly where I saw it.

Does any one know how I can do this, or a website where I can type the message and it converts it to ascii and I can then paste it into their profile
 
Old 03-19-2008, 08:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
giant? do you mean the sort of thing figlet creates? there are plenty of website that also do this, just google for "figlet online" or summat.

Last edited by acid_kewpie; 03-19-2008 at 08:10 AM.
 
Old 03-19-2008, 08:10 AM   #3
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131

Original Poster
Rep: Reputation: 15
Kind of answered my own question

Found a site to convert text to ASCII

http://www.network-science.de/ascii/

created a file called /home/user1/.motd
and pasted the ascii in to that

edit /home/users1/.bash_profile
so it contains
cat .motd
at the end of the file

But this doesn't let me do images yet or colour images
 
Old 03-19-2008, 09:29 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
See http://www.termsys.demon.co.uk/vtansi.htm#colors

Note that the ESC character is not directly available in many text editors. In vi or one its variants, you can enter an ESC character by pressing control-v and then ESC on the keyboard.

Note that ESC is displayed as ^[ in vi. For example, if you have pressed these keys: "control-v ESC [ 3 1 m h e l l o", you should see this in vi:
Code:
^[[31mhello
If you save this to a file, and send it to the terminal with cat, you will see "hello" in red text.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[bash] ASCII to HEX and hex to ascii ////// Programming 17 05-08-2018 10:55 PM
neat command not working azx_get_response timeout message in /var/log/message ninadshaha Red Hat 1 02-19-2008 03:32 PM
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 09:29 AM
message, message.1 in /var/log/ can be deleted for space? phpsharma Linux - Newbie 4 11-17-2004 01:23 PM
lilo message - how to make a picture (not ASCII art)? Frustin Linux - Software 3 06-10-2002 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration