EKG / EKG2 - komunikator z konsoli (gadu, jabber i inne)

Archiwalne, stare wpisy FAQ i HowTo Użytkowników
brz
Beginner
Posty: 239
Rejestracja: 30 marca 2007, 14:21

Post autor: brz »

mala wskazowka: "temporary auth failure" ;]

Kaka' pisze: Jabber się nie może połączyć

Często się zdarza, że nie możemy się połączyć z jabberem. Kiedy gg śmiga to jabber się nie łączy. Sam miałem ten problem. Szukałem bardzo długo o tym na google ale nic nie znalazłem. W końcu mnie olśniło :) Wystarczyło pobawić się z plikiem session-jabber. A więc jeśli masz problem z połączeniem się z jabberem to otwórz ten plik i upewnij się, że:

a) O ile można to łączysz się przez ssl,

b) Zmienną use_sasl= masz ustawioną na 1,

c) Masz wpisane odpowiednie porty (najczęściej jest to tak):
- dla ssl port 5223,
- bez ssl port 5222,
probowales tego?
BlazQ
Posty: 30
Rejestracja: 23 lipca 2007, 13:19

Post autor: BlazQ »

Probowalem. W aktualnym ekg2 nie ma zmiennej use_sasl, ani pliku session-jabber.
Sa za to zmienne use_tls use_ssl i disable_sasl. Probowalem z roznymi kombinacjami tych zmiennych i zawsze ten sam rezulat(jak na screenie).

btw. a moze cos z tym? (pierwsza linijka)

Kod: Zaznacz cały

Certificate is invalid: signer not found


[ Dodano: 2007-11-09, 16:26 ]
Z kolei po zmianie serwera na maszyna.pl, po wpisaniu 'connect' program sie laczy i laczy i laczy i caly czas jest 'laczenie'. Denerwuje mnie juz to ekg2. Kopete z maszyna.pl dziala bez problemu.

Nie chce przechodzic na inny komunikator poniewaz zalezy mi na 'konsolowosci' ;)

[ Dodano: 2007-11-09, 17:15 ]
Problem sie rozwiazal. Trzeba wylaczyc SASL.
Komenda

Kod: Zaznacz cały

session disable_sasl [b]2[/b]
Teraz pytanie, co powoduje wylaczenie SASL? Jakie sa tego konsekwencje ?
beel
Beginner
Posty: 340
Rejestracja: 28 marca 2007, 07:06

Post autor: beel »

4)Jak zwiększyć rozmiar listy kontaktów

/set ncurses:contacts_size 12 (podziękowania dla velmafia).
Nieznana zmienna ncurses:contacts_size
Kaka'
Senior Member
Posty: 3018
Rejestracja: 30 lipca 2006, 13:17
Lokalizacja: Kartuzy

Post autor: Kaka' »

beel pisze:Nieznana zmienna ncurses:contacts_size
U mnie działa ]kaka@debian:~$ ekg2 -v
ekg2-CVS (compiled on Aug 10 2007 01:31:24)
kaka@debian:~$[/code]

Innymi słowy, ekg2 z experimental.
beel
Beginner
Posty: 340
Rejestracja: 28 marca 2007, 07:06

Post autor: beel »

[quote="Kaka'"]beel napisał/a:
Nieznana zmienna ncurses:contacts_size


U mnie działa ]

Echh działa oczywiście tylko należy zapisać:

Kod: Zaznacz cały

set contacts_size X
gdzie X - to chciana liczba

W ogóle dla ekg odsyłam do pliku ~/.gg/config. I tutaj można poustawiać zmienne.
pzdr

[ Dodano: 2008-02-02, 00:01 ]
Jak wyłączyć powiadomienie ekg w przypadku gdy osoba, do której wyślemy wiadomość ma status niewidoczny lub niedostępny typu: "Wiadomość do Kowalski zostanie dostarczona później" ?
Awatar użytkownika
tanatos
Beginner
Posty: 226
Rejestracja: 25 sierpnia 2006, 00:14
Lokalizacja: z repo :P

Post autor: tanatos »

w ekg

Kod: Zaznacz cały

/set display_crap 0
w ekg2 nie wiem, ale pewnie podobnie, prawdopodobnie

Kod: Zaznacz cały

/set ncurses:display_crap 0
beel
Beginner
Posty: 340
Rejestracja: 28 marca 2007, 07:06

Post autor: beel »

Przyszedł czas na pierwszą instalację ze źródeł zatem chcę zainstalować EKG2, plik ekg2-0.1.1.tar.gz rozpakowałem i pozostając w tym samym katalogu z roota wydałem polecenie:

Kod: Zaznacz cały

./configure --prefix=$HOME/ekg2 --mandir=$HOME/ekg2/share/man
W efekcie czego otrzymałem:

Kod: Zaznacz cały

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether no accepts -g... no
checking dependency style of no... none
checking whether we are using the GNU Fortran 77 compiler... no
checking whether no accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether byte ordering is bigendian... no
checking for uintXX_t types... found in <stdint.h>
checking for kvm_openfiles... no
checking for kvm_openfiles in -lkvm... no
checking for gethostbyname... yes
checking for socket... yes
checking for sched_yield... yes
checking for inet_addr... yes
checking for main in -lwsock32... no
checking for getopt_long... yes
checking for scandir... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for strndup... yes
checking for strlen... yes
checking for strnlen... yes
checking for strfry... yes
checking for utimes... yes
checking for nl_langinfo and CODESET... yes
checking whether gcc accepts -std... yes
checking for mkstemp... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for struct kinfo_proc.ki_size... no
checking for socklen_t... yes
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for pkg-config... no
checking for Gpm_GetEvent in -lgpm... no
configure: WARNING: libgpm is missing
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking aspell.h usability... no
checking aspell.h presence... no
checking for aspell.h... no
checking for DGifSlurp in -lgif... no
checking for DGifSlurp in -lungif... no
checking for jpeg_start_decompress in -ljpeg... no
checking for libgnutls-config... no
checking for libgnutls - version >= 1.0.0... no
*** The libgnutls-config script installed by LIBGNUTLS could not be found
*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBGNUTLS_CONFIG environment variable to the
*** full path to libgnutls-config.
configure: WARNING:
***
*** libgnutls was not found. You may want to get it from  ############TUTAJ##############
*** [url]ftp://ftp.gnutls.org/pub/gnutls/[/url]

checking for gzopen in -lz... no
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking linux/kd.h usability... yes
checking linux/kd.h presence... yes
checking for linux/kd.h... yes
checking libgadu.h usability... no
checking libgadu.h presence... no
checking for libgadu.h... no
checking for ssl.h... not found ############TUTAJ##############
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking for pkg-config... no
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found. ########TUTAJ############
*** See [url]http://pkgconfig.sourceforge.net[/url]
checking for readline.h... not found ############TUTAJ##############
checking gsm.h usability... no
checking gsm.h presence... no
checking for gsm.h... no
checking libgsm/gsm.h usability... no
checking libgsm/gsm.h presence... no
checking for libgsm/gsm.h... no
checking for xosd-config... no
checking for libxosd... no
checking for perl... /usr/bin/perl
perl found, but error linking with perl libraries
checking for python... /usr/bin/python
Found Python version 2.4 /usr
checking for Python.h... not found  ############TUTAJ##############
checking for sqlite3_open in -lsqlite3... no
checking for sqlite_open in -lsqlite... no
checking for gpgme-config... no
checking for GPGME - version >= 1.0.0... no
skipping logsoracle plugin
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ekg/Makefile
config.status: creating ekg/ekg2-config
config.status: WARNING:  ekg/ekg2-config.in seems to ignore the --datarootdir setting
config.status: creating compat/Makefile
config.status: creating docs/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating contrib/Makefile
config.status: creating contrib/python/Makefile
config.status: creating contrib/perl/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/mail/Makefile
config.status: creating plugins/logs/Makefile
config.status: creating plugins/rc/Makefile
config.status: creating plugins/sms/Makefile
config.status: creating plugins/pcm/Makefile
config.status: creating plugins/rot13/Makefile
config.status: creating plugins/irc/Makefile
config.status: creating plugins/httprc_xajax/Makefile
config.status: creating plugins/xmsg/Makefile
config.status: creating plugins/ioctld/Makefile
config.status: creating plugins/gg/Makefile
config.status: creating plugins/sim/Makefile
config.status: creating plugins/jabber/Makefile
config.status: creating plugins/ncurses/Makefile
config.status: creating plugins/gtk/Makefile
config.status: creating plugins/readline/Makefile
config.status: creating plugins/gsm/Makefile
config.status: creating plugins/xosd/Makefile
config.status: creating plugins/perl/Makefile
config.status: creating plugins/python/Makefile
config.status: creating plugins/logsoracle/Makefile
config.status: creating plugins/logsqlite/Makefile
config.status: creating plugins/gpg/Makefile
config.status: creating plugins/autoresponder/Makefile
config.status: creating ekg2-config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: setting ALL_LINGUAS in configure.in is obsolete
config.status: creating po/Makefile

configured options:
CFLAGS: -g -O2 -Wall -std=c99
LDFLAGS:
LIBS:  -ldl
PLUGINS:
 - Interface:
 - Protocols:    irc xmsg
 - Logging:      logs
 - Audio:        pcm
 - Encryption:   rot13
 - Scripting:
 - Misc:         autoresponder mail rc sms ioctld

 - NLS system:   en pl
 - Charset:      ascii
 - Plugins:      as shared libs
Linie niepokojące mnie zaznaczyłem, na co jeszcze należy zwrócić uwagę?
Co teraz?

Kod: Zaznacz cały

 dpkg -i pokolei_nazwy_pakietów 


??
Ryuuzaki
Posty: 24
Rejestracja: 27 stycznia 2008, 07:53
Lokalizacja: Z Repo

Post autor: Ryuuzaki »

Obrazek


Zastanawiam sie jak uzyskac taki efekt w ekg2 :D ? albo jestem slepy albo zbyt spiacy zeby cos znalesc :)
Jezeli bylo to przepraszam.
Awatar użytkownika
Yampress
Administrator
Posty: 6369
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

beel pisze:Linie niepokojące mnie zaznaczyłem, na co jeszcze należy zwrócić uwagę?
Co teraz?
Kod:
dpkg -i pokolei_nazwy_pakietów
??
skoro konfiguracja przeszła to nie masz sie o co obawiać.
jedynie mozesz nie miec wsparcia dla tych rzzeczy których konfigurator nie znalazł

więc teraz

Kod: Zaznacz cały

make 
a potem

Kod: Zaznacz cały

 make install
jamaall
Posty: 14
Rejestracja: 29 grudnia 2007, 14:48
Lokalizacja: Bielsko-Bia³a/Wrocek

Post autor: jamaall »

Zastanawiam sie jak uzyskac taki efekt w ekg2 :D ? albo jestem slepy albo zbyt spiacy zeby cos znalesc :)
Jezeli bylo to przepraszam.
Wystarczy wydać polecenie:

Kod: Zaznacz cały

/set theme blue_sea_dragon.theme
Tylko problem jest taki, że skórka ta nie obsługuje kodowania UTF-8.
Zablokowany