Thread: Utility to rotate text

  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 12: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, 09:52 PM
  3. Text positioning and Text scrolling
    By RealityFusion in forum C++ Programming
    Replies: 3
    Last Post: 08-13-2004, 12:35 AM
  4. Scrolling The Text
    By GaPe in forum C Programming
    Replies: 3
    Last Post: 07-14-2002, 04:33 PM
  5. Replies: 1
    Last Post: 07-13-2002, 05:45 PM