LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2016, 06:21 PM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
Move multi-character ascii images with bash


Am looking for a way to move multiple character ascii images on the screen using Bash scripting.
Not interested in software that does this but a technique to encode it.
 
Old 08-03-2016, 07:24 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
You will need to look at curses programing which is used to move the cursor round the screen, set colours etc all controlled from simple bash echo commands, but any sort of animation of even moderate sized images is going to be slooooooow in bash.
 
Old 08-04-2016, 03:45 AM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Have look here:
https://en.wikipedia.org/wiki/ANSI_escape_code
Sorry couldn't post this link last night as I was on my tab and couldn't find it.
 
  


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
LXer: Down with Unicode! Why 16 bits per character is a right pain in the ASCII LXer Syndicated Linux News 1 10-04-2013 02:06 PM
Is there a way to convert ASCII to Text images hahacc Linux - Newbie 5 04-24-2012 02:47 AM
To know the function on checking whether a character is ascii or unicode in C. murugesan Programming 3 01-23-2009 10:51 PM
To know the function on checking whether a character is ascii or unicode character. murugesan Programming 2 01-23-2009 01:07 PM
minicom - send string or single ascii character neutron001 Linux - Software 1 04-10-2008 07:08 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:52 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
Open Source Consulting | Domain Registration