Search:

Type: Posts; User: doormat

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    21,426

    Hmm... I got it sorta working, using escape...

    Hmm... I got it sorta working, using escape codes. The only problem is that when I've inserted the line that came in from another client, I cant figure out how to put the cursor back in the correct...
  2. Replies
    6
    Views
    21,426

    Is ncurses the only way you think? It looks quite...

    Is ncurses the only way you think? It looks quite complex and I really dont have a lot of free time to invest into making it look pretty. I need a quick and dirty solution. Is there any way to get a...
  3. Replies
    6
    Views
    21,426

    Moving the cursor around

    OK, so I've found some of the escape codes to move the cursor around the screen, but I've looked at what the escape codes provide, and I cant seem to figure out how I could do what I need it to do.....
  4. Replies
    9
    Views
    1,999

    Whoops! I guess I ought to go over my code...

    Whoops!

    I guess I ought to go over my code better next time.... stupid copy/paste....

    That looks like it solved my problem (changing MAX_MLEN to MAX_ULEN). I've got other problems now but...
  5. Replies
    9
    Views
    1,999

    Why is that a cringe? That file is shared between...

    Why is that a cringe? That file is shared between the client and server applications. So the packet handling routines are shared, so if a change is made to the packet definitions, I just change it in...
  6. Replies
    9
    Views
    1,999

    Here is the code for TeardownPacket, located in...

    Here is the code for TeardownPacket, located in message.c



    void TeardownPacket(char *input, int *type, char *username, char *message) {
    /*given the packet as input, break it down and return...
  7. Replies
    9
    Views
    1,999

    problems passing pointers

    OK, I'm quite confused as to why my passing by pointers isnt working properly...



    int main() {
    int type;
    char input[MAX_MSG];
    char username[MAX_ULEN];
    char message[MAX_MLEN];
Results 1 to 7 of 7