Utility to rotate text

This is a discussion on Utility to rotate text within the Linux Programming forums, part of the Platform Specific Boards category; Is there a utility that allows you to rotate text? For example, I want to rotate the following output from ...

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    224

    Utility to rotate text

    Is there a utility that allows you to rotate text? For example, I want to rotate the following output from /usr/games/banner 90 degrees counterclockwise. I want to put up my email address in this fashion on my website.
    Code:
     ##                 #
     ###             ####
     ###          #######
         ###  ########  #
            ######
                ###
                    ### #
                       ##
            #           #
            #############
            #############
                       #
            #############
            #############
            #         #
            #          #
            #############
            ###########
               ##
            #######  ###
            ##    ## ####
            #     ##    #
            ##    #    ##
            ############
            ###########
    
            #                    #
            ######################
            ######################
    
            #           #
            #############   ###
            #############   ###
    
            #                    #
            ######################
            ######################
                 ####
               ##### ##
            ######     ##
            ####        #
            #
    Thanks.
    Last edited by Yasir_Malik; 10-03-2004 at 01:38 PM.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    197
    Depending on Distro, you should he able to use the sysvbanner program, instead of banner.

  3. #3
    Registered User
    Join Date
    Sep 2003
    Posts
    224
    I'm running NetBSD, and I know about /usr/bin/banner that is included in all Unix distributions, but I want to use the one in /usr/games because I think it produces better looking text. The /usr/bin/banner also produces text in all caps.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My text doesn't display
    By joeprogrammer in forum Game Programming
    Replies: 11
    Last Post: 02-23-2006, 10:01 PM
  2. Appending text to an edit control
    By dit6a9 in forum Windows Programming
    Replies: 3
    Last Post: 08-13-2004, 10:52 PM
  3. Text positioning and Text scrolling
    By RealityFusion in forum C++ Programming
    Replies: 3
    Last Post: 08-13-2004, 01:35 AM
  4. Scrolling The Text
    By GaPe in forum C Programming
    Replies: 3
    Last Post: 07-14-2002, 05:33 PM
  5. Replies: 1
    Last Post: 07-13-2002, 06:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21