Mattext - a simple console matrix-style text pager

Hi,
I wrote a simple text pager, it shows text in console. But it does it in matrix-style, columns of random symbols trickles down the screen, leaving text after them.
Some screenshots:
http://dhurum.github.io/mattext/screenshot1.jpg
http://dhurum.github.io/mattext/screenshot2.jpg
http://dhurum.github.io/mattext/screenshot3.jpg
At this moment it can:
- read text from [multiple] files or stdin;
- run in interactive  mode (default)
- run in non-interactive mode, autoscroll through text;
- show only one page of text, then quit;
- run infinitely, reading files over and over again, until 'q' is pressed;
- colorize output;
- centrate text vertically and horizontally (each string separately or using longest string, this is useful for ascii art)
- show Japanese half-width kana along with English letters and digits;
- block until specified number of lines is read (it responds to commands while it is blocked), is stdin is used;
- quit (press 'q' or 'Q' or ctrl + D);
- show next text page(press any other key);
You can find sources on github, https://github.com/dhurum/mattext/
Package in AUR: https://aur.archlinux.org/packages/mattext/
Last edited by Shuk (2014-02-01 18:44:17)

I have to install this on my work PC and start it running when people come to me with a problem. They'll think I'm doing something incredible complex and amazing, when all I'm actually doing is sshing into their machine and looking at their logs/clearing out their stockpile of ancient kernels.
"Hmm, yes, I see what the problem is: your data containment receptacles have become saturated with outdated conglomerations of modules and header files. I'm currently removing the excess of binary data, so your system will be fully operational again by the time you get back to your desk. Would you like a skittle?"

Similar Messages

  • Character styles in Pages 5

    Can't find Character styles in Pages 5. After a couple of hours of work I am about ready to jump back to Microsoft Word, which annoys me beyond belief. At least Pages 09/11 had Character styles, AND hot keys for styles (even if they were limited to F-keys).
    I use several different styles constantly through my documents, including character styles, and Pages 5 is letting me down BIG time.
    OK, it's cool to have object styles - I can dig that.
    BUT WHY ELIMINATE CHARACTER STYLES?
    Sorry for shouting.
    What a pity. Maybe the iWork software engineers don't actually work for Apple . . . yeah, that could be it. Or they don't actually USE the products they design.
    I encourage everyone to make liberal use of Apple's feedback page, http://www.apple.com/feedback/

    I posted this in another thread before I discovered this one:
    I just upgraded to Pages 5.
    I opened a document that I'd been working on in the previous version of Pages. It has several styles, incuding a bulleted list style called "main bullet".
    I attempted to apply that style to a section of text, and while it did indent the text properly, it did not add bullets. (Also, in the Style panel a bullet does not appear next to the "main bullet" style as it does in Pages 4. This was my first clue that something was wrong.)
    So I went back in the text to a bulleted list that uses the "main bullet" style. I selected the text, then went to the Style panel and chose "main bullet" > update style. This did not seem to help. The "main bullet" style still has no bullet next to it in the Style panel, and when I tried again to apply it to some text, the bullet doesn't appear.
    I decided to try a different style, in this case "body". I went to a section that has the "main bullet" style, selected it, and applied "body". The indentation changed, but it did not remove the bullet as it was supposed to.
    Is this a bug, or do styles work differently in Pages 5?
    It appears that styles do not include formatting like bullets, which, if true, is a huge problem.
    I was also upset to learn that once I've opened a document in Pages 5, I can no longer open it in Pages 4. So I'm essentially stuck with Pages 5 whether I like it or not.
    Is anyone else noticing this?

  • Why are their pink spots/particles on my Introduction text page

    I am preparing a book and the first page (page 1) i am using as a text page.
    The page has various size imperfections (for lack of a better description) in various places on the page.
    It is not the type of page as all the types of styles show the same spots.
    I tried opening a new book but the spots are still showing on the blank page.
    I did a preview, doing the print> PDF and the spots show there also.
    Is this normal in the set up and will it show on the final product ?
    The book is about 9-11 and it looks tacky and unprofessional.
    Greg
    Greg

    When you have time you might try the following to see if the problem lies with a bad theme file.
    1 - backup the library.
    2 - launch iPhoto with the Command+Option keys depressed to rebuild the library. Select the last three options.
    Click to view full size
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding the the Option key and selecting the *+Choose Library+* button.
    If that doesn't make any improvement continue:
    3 - reinstall iPhoto. To do so you'll have to first delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder, reinstall iPhoto from the disk it came on and reapply the latest updaters.
    4 - launch iPhoto and try the Formal theme again.

  • I do NOT want to import styles to pages when I paste from another document.

    I do NOT want to import styles to Pages when I paste from another document.I do NOT want to import styles to pages when I paste from another document.

    fruhulda wrote:
    Then don't do it. Use Paste and Match style in the Edit Menu. You don't need to go by other applications which Niel suggested.
    It's not always the best soluce.
    Example:
    copy group of 3*3 cells from a Numbers table
    Paste in Pages gives a table with every style attributes.
    Paste and Match Style gives nine paragraphs of raw text, one by cell, exactly what we get when pasting in a TextEdit Rtf window and converting it to Text.
    Running my good old huge script :
    --{code}
    set the clipboard to the clipboard as text
    --{code}
    then Paste, gives three paragraphs with cell's contents separated by TAB characters exactly as what we get when pasting in a TextEdit Text window.
    Yvan KOENIG (VALLAURIS, France) lundi 27 juin 2011 14:42:23 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Extra font styles on page

    Hi, I'm a new Dreamweaver user. I have one page that added a
    lot of font styles for the page as I was working on it. Most of
    them aren't being used. Can I delete them? I'm not sure how to do
    it. The url is:
    http://ellifolks.com/bearsandcritters.html
    Thanks.

    > Yes Dreamweaver has a habbit of adding styles which are
    not needed when
    > using
    > the properties bar.
    Better to say that inexperienced users adding font styles to
    their pages by
    using the Properties inspector will cause DW to add these
    unwanted style
    selectors. Once you figure out that this is the wrong way to
    do it, you'll
    not get those selectors anymore (as you state in the second
    paragraph).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Sean022" <[email protected]> wrote in
    message
    news:g54q22$oeu$[email protected]..
    > Yes Dreamweaver has a habbit of adding styles which are
    not needed when
    > using
    > the properties bar.
    >
    > Rather than highlighting text in the design view and
    using the properties
    > bar
    > to style text, the trick is to create the styles for
    your text FIRST then
    > apply
    > them (style=blah) to your chosen text. This will prevent
    loads of style1,
    > style2 etc being created.
    >
    >

  • How do you select all paragraphs using the same style in Pages 5.2?

    I'm trying to find how to select all paragraphs using the same style in Pages 5.2 without any success.  I writing a book and I need to able to adjust all my paragraph styles globally.  I see how upgrade my paragraph style when I do something new, but not how to revert back to the orginal template.
    For example, in my custom template for my book I have 12 font for a review questions paragraph style.  I changed the font size for all this paragraph style to 18 font.  Now I want to change it back to size 12 font.  But I have this paragraph style at the top and bottom of my document.  How to I select all of my review questions style so I can make the font change to all at the same time? 
    I just upgrade to Pages 5.2 from Pages '09. 
    Thanks for the help,
    Rob

    The Pages User Guide might help here.
    Better to post your topic in the Pages designated community > Pages: iWork: Apple Support Communities

  • PH2423 How do you get text pages in a project to a saved slideshow?

    Hi Peeps,  My project is a book which has photos AND text pages. I can get the photos to the saved slide show but not the text pages.  Can someone advise?

    This is a book created in iPhoto, right?  If so then do the following:
    1 - while in the book mode type Command +P to start the print process.
    2  - click on the PDF button and select "Save PDF to iPhoto".
    Note:  If you don't have any of those options go to Toad's Cellar and download these two files:
    Save PDF to iPhoto 200 DPI.workflow.zip
    Save PDF to iPhoto 200 DPI.workflow.zip
    Unzip the files and place in the HD/Library/PDF Services folder and reboot.
    4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
    5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
    That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. Then you can use the entire book as the slideshow or just those pages that are text. 
    This process was used to create this iWeb slideshow: iPhoto Book as an iWeb Slideshow
    OT

  • I need php code for copy paste our all histroy of browser in a text page.

    I need php code for copy paste our all histroy of browser in a text page can any one send me the code please.

    You can use an application like GarageSale for doing this....
    http://www.macupdate.com/info.php/id/16035/garagesale

  • Need Matrix Style Report...

    I need to create a matrix style report. There is a template for matrix reports in Oracle Report Writer, but not in APEX. My report should have a list of countries going down and a list of species going across with data showing how many for each country, each species.
    Example of report:
    Species Pollack Whiting Tuna
    Country
    China 5 6 10
    Chile 1 2 1
    Japan 4 4 8
    How do I build this?

    Is this in Oracle 11g?? If so, you could use the pivot function in your sql to build the output data..
    http://technology.amis.nl/blog/1207/dynamic-sql-pivoting-stealing-antons-thunder
    Also threads in APEX forum dealing with this:
    How to create a matrix report
    Thank you,
    Tony Miller
    Webster, TX

  • Is there a way to allow for two lines in "running header (character style)" text variable?

    In my "running header (character style)" text variables, some of the items are quite long and take up more space in my header than I have room for - because I have another "running header (character style)" text variable beside it - and I am trying to figure out if there is a way to force that text variable to go into two lines when it runs out of space.
    Does anyone know if this is possible?

    Sadly, only by adding a forced line break in the variable. Adobe’s engineers are unable to allow long variables to break at the end of a line. Sad, since this is a feature I remember from a Macintosh word processor I used in 1988.

  • Creating a text Page in Aperture Books

    Is it possible to add an introduction text page to my saved PDF book file in Aperture Books?
    (I see there is an option to add pages and photos, but not an option to add text to a page).
    Many thanks for your feedback,
    Will
    Mac Book Pro   Mac OS X (10.4.7)   MacBookPro

    Aperture can't do anything with PDF files (apart from render the first page into an image file).
    But you can add a text page to one of your Aperture book layouts very easily:
    1. Add a new page.
    2. Delete any existing photo and metadata boxes.
    3. Add text boxes as needed.
    Ian

  • Trying to add a simple applet to a web page

    Well, I was trying to add a simple applet to a web page(php nuke Home section), it didn't fin my applet, so I changed it and added it to a simple html file to make it as simple as I could get it.
    This is the code in the html file:
    <applet code="usblock.class" width="400" height="400">The browser doesn't support applets...</applet>The directory: www/usblock.html & www/usblock.java & www/usblock.class - As you can see the files are all in the same directory/folder.
    usblock.java code:
    import javax.swing.*;
    import java.awt.*;
    public class usblock extends JApplet
         public void init()
              JPanel p = new JPanel(new BorderLayout());
              p.add(new JLabel("Heisann"));
              add(p, BorderLayout.CENTER);
    }now as I open the html local on my computer, it workes. As soon as I open the usblock.html from my website, it doesn't.
    It gives me this error here:
    load: class usblock.class not found.
    java.lang.ClassNotFoundException: usblock.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 moreSo I thought it was that it couldn't find the .class file. Well, I went through the How To add applets that I found somewhere on sun.com. It had exactly the same as I had.
    Im figuring the problem is something easy and not hard to detect. But my eyes can't find it somehow. This is my second time trying applets, and I kinda forgot how I got it to work the first time.
    Im just glad for all the help I can get.
    Thanks a lot.
    LordSvae
    PS: Sry for the size of the post, but I'm not sure how much info I was supposed to put in here, so I thought the more the better, right? :S

    Hii,
    I doesn't know the solution but same kind of problem is come with me & I found that the problem is of Path i.e. you need to set a codebase attribute . For tempory solution what i do i simply copy the .class file in to html file dir.

  • PDF text pages in iPhoto books

    I'm not sure that this is a problem. I just want reassurance before I click the ORDER BOOK button and buy the iPhoto book I have created.
    I have imported PDF pages of text into the book, as I was able to get more control over the text layout that way. However, when I proof a PDF-text page, it looks more blurry and pixellated than standard, typed-on-the-page text, as if the resolution is not quite so high. It is perfectly legible, just a shade less sharp.
    Is this likely to be a resolution matter with my printer, or will the text be marginally more blurry in the printed book's PDF pages, too? If blurry is the answer, is there anything I can do before ordering the book to get the text looking just as sharp on the PDF pages as on the non-PDF, direct-to-page, text?
    Many thanks in advance.

    In PS under Edit->Color Settings Working Spaces set Grayscale to Dot Gain 20% and set the RGB menu to sRGB IEC61966-2.1. This is for future uses.
    Now open each file in PS CS2 from withing iPhoto, go to the Image->Mode menu and select RGB. Save the changes, Command+S, and that's it. The photo will then appear normally in iPhoto.
    Here's how to use Photoshop from within iPhoto:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 6 the Saving File preferences should be configured: "On First Save: Save Over Current File". Also I suggest the Maximize PSD File Compatabilty be set to Always.
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    If you ever do any scanning of B/W photos always scan as color.
    OT
    Message was edited by: Old Toad

  • Imac SMALL TEXT PAGE AROUND CURSOR !

    A very small text page, not much bigger than the cursor, appears around it.It dissapears if I click somewhere else on the screen ,although not always.
    It happens on Protools , mail , web etc...There doesnt seem to be a problem with performance , in fact I am very pleased with it . Its just a bit of a mystery.
    Any ideas ??
    Cheers
    Paul

    Where you have this:
    .twoColHybLtHdr #header {
        text-align: center;
        background-image: url(la2.png);
        color: #00F;
        margin-bottom: 0px;
        padding-top: 0;
        padding-right: 20px;
        padding-bottom: 0;
        padding-left: 10px;
        /*width: 100%*/;
        -moz-border-radius: 32px;
        -webkit-border-radius: 32px;
        border-radius: 32px;
        /*behavior: url(border-radius.htc);*/
    Try this:
    .twoColHybLtHdr #header {
    text-align: center;
    background: #FFF url(la2.png); /**a background color req'd, color is up to you**/
    color: #00F;
    margin-bottom: 0px;
    padding: 0 20px 0 10px;
    border: 12px solid green /**border in pixels req'd, color is up to you**/
    -moz-border-radius: 32px;
    -webkit-border-radius: 32px;
    -khtml-border-radius: 32px;
    border-radius: 32px;
    behavior: url(border-radius.htc);/**where path to HTC file is same as this page**/
    Hope this helps,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • After updating numbers and pages I can no longer copy multiple cells from numbers and paste and match style to pages.

    After updating numbers and pages I can no longer copy multiple cells from numbers and paste and match style to pages.  I used to be able to select multipule cells in a row (such as company name, address, etc.) then paste and match style on to a pages letter. I found the paste and match style option in the edit menu, however it will only work one cell at a time. Before the update is was working great.

    For diagnosing purpose thy the procedure in a new user account and see if it works there. You create a new user account in the System Preferences > Accounts. If it works in the new account it is probably a corrupt plist file that needs to be deleted.

Maybe you are looking for