8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My question is basically as the title says. How can I check a user inputted string is only certain characters long (for example, 3 characters long) and how do I check a user inputted string only contains certain characters (for example, it should only contain the characters 'u', 'a', 'g', and 'c')... (4 Replies)
Discussion started by: Eric1
4 Replies
2. Shell Programming and Scripting
This was taken down recently because it appeared to be homework, but it isn't. It's for a script I am working on at work. Thanks for the help.
How do you check that user inputs (arguments 1 and 2) are both numbers and are at least 5 digits in length? (2 Replies)
Discussion started by: thibodc
2 Replies
3. UNIX for Dummies Questions & Answers
When I use who it shows who is online and from what time they logged in but is there a way I can see the last time someone was logged on if they aren't online? Is it with the who command?
thx (11 Replies)
Discussion started by: subway69
11 Replies
4. AIX
Hi
I'm a little rusty with HACMP, but wanted to find out if it is possible to remove a disk heartbeat network from a running HACMP cluster.
Reason is, I need to migrate all the SAN disk, so the current heartbeat disk will be disappearing. Ideally, I'd like to avoid taking the cluster down to... (2 Replies)
Discussion started by: cmcbugg
2 Replies
5. UNIX for Advanced & Expert Users
in a multi user system of 3 users X,Y,Z, if i know that X is presently online, is it possible to determine for how long has he been online? i mean the time duration (3 Replies)
Discussion started by: arindamlive
3 Replies
6. Programming
I'm writing a KSH shell script that's using SQL though DB2.
If I have a table defined and populated
db2 "create table tb(num int,letter char(4))"
db2 "insert into tb values(111,a)
db2 "insert into tb values(112,b)
db2 "insert into tb values(111,c)
How can I check if a letter user... (0 Replies)
Discussion started by: busdude
0 Replies
7. Programming
This is the source code:
#include <pwd.h>
#include <iostream>
#include <string.h>
using namespace std;
int main()
{
struct passwd *user;
char login="alex", password="qwertyuiop";
if ((user= getpwnam(login)) == NULL)
cout << "No such user\n";
else if... (24 Replies)
Discussion started by: hakermania
24 Replies
8. Shell Programming and Scripting
I decided to delete the first post since it was againt the forum rules (4 Replies)
Discussion started by: Necrologist
4 Replies
ggz-wrapper(6) GGZ Gaming Zone ggz-wrapper(6)
NAME
ggz-wrapper - GGZ Gaming Zone command line core client
SYNOPSIS
ggz-wrapper [--gametype GAMENAME] [--user NAME] [--destnick NAME] [OPTION...]
DESCRIPTION
The GGZ Gaming Zone allows people to play many games online using so-called GGZ core clients which are chat clients with integrated game
launchers.
The ggz-wrapper tool is a small special GGZ core client for the command line. It does not support chat or display of rooms, tables and
players, but instead is useful for fast launching of online games. Therefore, its main purpose is to be invoked from instant messengers
such as gaim or kopete.
It currently supports all two-player games, as human against human or human against bot. If no options are given, ggz-wrapper will invoke a
Tic-Tac-Toe game client on the default GGZ server, live.ggzgamingzone.org, logging in as guest user.
OPTIONS
--gametype=GAMENAME
The name of the game to play, e.g. TicTacToe or Chess. This option expects a case-sensitive argument which must match one of the
available game modules in ggz.modules. If the game type is not supported by the specified GGZ server, the invocation will fail.
--user=NAME
The name of the player who is running the client. The default is to run with an automatically generated guest user name. In order to
use a registered name, the option --password is implied.
--destnick=NAME
The name of the other player. If omitted or empty, the player running the client will launch the table (game host). If empty, other
player will be the bot. If not empty, player will join the table which the other player already launched.
--password=PASSWORD
Password to use in case of playing as a registered user. Note that on a multi-user systems, other users might see the password,
which is a security risk.
--server=SERVER
The server to play on. If not specified, the default server is ggz://live.ggzgamingzone.org.
--port=PORT
The port to use to connect to the GGZ server. PORT is almost always 5688, so this option is rarely needed.
AUTHORS
The GGZ Development Team <ggz-dev@mail.ggzgamingzone.org>
SEE ALSO
ggz.modules(5), ggz(7)
The GGZ Development Team 0.0.14 ggz-wrapper(6)