Author Topic: Soldat admin and ncurses on Linux  (Read 2136 times)

0 Members and 3 Guests are viewing this topic.

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Soldat admin and ncurses on Linux
« on: December 19, 2006, 11:10:35 am »
So, um, I started using some C++ again, and learning some ncurses. Im trying to write a soldat admin, with a text-based GUI, for Linux operative systems. I started off ramirez's REFRESH parser, this is what I have so far:

Download

To run, ./si2 <ip> <port> <adminpass> <refreshrate>

I still have to figure a lot of stuff, like panels and others.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Soldat admin and ncurses on Linux
« Reply #1 on: December 19, 2006, 01:51:09 pm »
cool :P

probably would be faster to do ruby/curses ;)

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Soldat admin and ncurses on Linux
« Reply #2 on: December 19, 2006, 02:07:45 pm »
Actually, I want to learn how to use select()... That shit looks hard >:(

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Soldat admin and ncurses on Linux
« Reply #3 on: December 19, 2006, 04:44:54 pm »
Awesome ;D,
I was actually planning on doing this if no one else was.
Hope it it turns out well
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline DeMo

  • Soldier
  • **
  • Posts: 127
  • Stay Metal! \m/
    • Encoder 2002
Re: Soldat admin and ncurses on Linux
« Reply #4 on: December 19, 2006, 09:49:11 pm »
Some time ago I tried to do that with Python Curses. ;)
But I didn't get too far, just experimented a little with ncurses.. didn't even touch the network programming part.
I searched for some python curses material on the web but didn't find anything much useful.

Good look mar77a!

<@Evil-Ville> Expect a picture of Chakra` holding his fleshlight soon!

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Soldat admin and ncurses on Linux
« Reply #5 on: December 19, 2006, 09:52:34 pm »
Thanks, I can't seem to find any tutorial on using C's select, all I have is 'man select' which doesn't help much.