GithubHelp home page GithubHelp logo

grayed / oicb Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 132 KB

command-line non-blocking ICB client

License: BSD 2-Clause "Simplified" License

CMake 8.33% Makefile 1.18% C 77.20% Roff 3.60% Shell 9.69%
c icb

oicb's Introduction

oicb is a minimalistic replacement for icb[1] command-line client.  oicb lacks
many (insecure) features, but offers one big advantage: screen is not blocked
while you're typing.

The code is under 2-clause BSD license, see the LICENSE file.

Building instructions:

OpenBSD: simple "make" should suffice, although you may want run "make obj" first.

Generic way: usual CMake-based build: "mkdir -p build && cd build && cmake .. && make".
You'll need libreadline-dev and libncurses-dev installed.
On non-BSD systems you'll need libbsd-dev as well.

Things I'm willing to have but too lazy to do myself now:

  * Start using <stdbool.h>.
  * Implement /query as /w wrapper.
  * Take care of /g and /name (update 'room' and 'nick').
  * Nicer group list formatting.

_________
[1] http://www.icb.net/, see the "Unix ICB Classic Client" link

oicb's People

Contributors

grayed avatar klemensn avatar omar-polo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

oicb's Issues

Broken with base-gcc on OpenBSD

Hi Vadim,

oicb is built with -Werror and that breaks the build with base-gcc:

cc -O2 -pipe -Wall -Werror -DHAVE_PLEDGE -DHAVE_UNVEIL  -MD -MP  -nostdinc -idirafter /usr/include -c oicb.c
cc1: warnings being treated as errors

We could either patch away -Werror in the port or allow injecting -Wno-error at the end of CFLAGS by modifying the Makefile here. In any case it builds fine when removed on powerpc.

Since you're upstream and MAINTAINER at the same time, i prefer to let you decide what to do beforehand :)

(cc @kmosiejczuk)

Eventually oicb can't write to log files

I leave oicb open in tmux and after a couple days it starts failing to write to it's log files. I have to restart it to re-enable it's ability to write to log files. Any ideas?

oicb: cannot open /home/james/.oicb/logs/supersecret.server.org/room-secret.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.