Results 1 to 4 of 4

Thread: terminal chat window

  1. #1
    Join Date
    Aug 2012
    Beans
    1

    Post terminal chat window

    I want to make a simple terminal chat application having separate field for input and output.I have no idea about terminal application interface program in c.Please give me some example and useful links.Thanks in advance.

  2. #2
    Join Date
    Aug 2005
    Location
    The Local Group
    Beans
    631

    Re: terminal chat window

    The standard way to draw on a terminal is with the ncurses library. If you've ever used nano, vi, vim, less, or pretty much any other terminal application that does more than read input line by line and write output line by line, those are examples of programs that use ncurses. It isn't the only way, but it's the standard, and it'll save you from having to learn and use terminal escape sequences. The canonical language for ncurses is C, but Python (for example) comes with its own ncurses API (the standard library package "curses"), so you're not stuck with C.

  3. #3
    Join Date
    Sep 2012
    Beans
    4

    Re: terminal chat window

    you can always script something that parses both the 'finger' and 'write' commands

  4. #4
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: terminal chat window

    I used to use
    Code:
    wall

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •