Thread: Drawing border

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    11
    Rep Power
    0

    Drawing border


    How to draw border in unix??My friend told me to use some ascii code,but i don't quite get it....
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    depends. if you have a closed group of users and you know which character sets their terminals support, you can use extended ascii characters. then, depending on this info, maybe you can draw rectangular boxes and grids.
    if you donīt know, you can only use something like:

    .ooooooooooooooooooo.
    | This is inside a border |
    'ooooooooooooooooooo'

    if you assume that they use fixed-character-width font. afaik all terminals do.

    [edit]
    as i see now, my browser does not for devshed. would probably look weird anyway, no?
    [/edit]

    sorry, nothing else. (unless you use x-terminals )
    Last edited by M.Hirsch; May 22nd, 2002 at 02:40 PM.

IMN logo majestic logo threadwatch logo seochat tools logo