Timo Sirainen
64c8feeede
%# now toggles monospace font on/off. fe-text doesn't care about it, but
...
gtk/kde UI does. By default, all lists are printed using monospace fonts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 15:43:09 +00:00
Timo Sirainen
77b25c1ac7
sig_gui_print_text: don't crash if dest is NULL.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-18 07:47:27 +00:00
Timo Sirainen
970b49df1a
"gui print text" signal changed, last parameter is now TEXT_DEST_REC, not
...
level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 21:02:41 +00:00
Timo Sirainen
c7320514aa
fixes for new signaling code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-16 18:11:06 +00:00
Timo Sirainen
53d595ba7f
fixed several signal leaks
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 14:06:57 +00:00
Timo Sirainen
8b9c4823bf
Rewritten signal handling code - it wasn't supposed to come before 0.9 irssi
...
but it doesn't break much things and is needed for Qt port :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 13:59:09 +00:00
Timo Sirainen
40bdfc4d70
Input lines are now never destroyed and they're associated to statusbar
...
name, so scripts can now do any statusbar changes without input line being
cleared.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 19:06:47 +00:00
Timo Sirainen
650292613e
/CLEAR <refnum> now clears specified window.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-19 17:24:28 +00:00
Timo Sirainen
88654c4468
term_deinit() should set SIGCONT back to default, so if it's sent after that
...
it won't crash (gnome-terminal does that for some reason)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 23:17:33 +00:00
Timo Sirainen
6a89217d6a
Get the terminal size at startup with ioctl() and use it. Fixes at least
...
NetBSD.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2616 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:46:48 +00:00
Timo Sirainen
85a1b122cd
Scrolling was buggy with "ri" method, it tried to used "rin" as well
...
which crashed irssi.. Happened at least with NetBSD/sparc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:33:33 +00:00
Timo Sirainen
3800c07a32
bit fields should be unsigned type always (unsigned int dirty:1).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:23:38 +00:00
Timo Sirainen
8fa39c23a7
default_color checks moved from fe-text to fe-common, so they work properly
...
with window-specific themes. also should fix some weird problems related to
them and gui_printtext_after().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:45:57 +00:00
Timo Sirainen
1528cfc9d7
All control chars in statusbar items are now displayed reversed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 02:07:05 +00:00
Timo Sirainen
1997b58c3a
whops, stupid utf-8 bug :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:43:35 +00:00
Timo Sirainen
b18af319cf
term_addch() : utf-8 fixes for cursor positioning.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:03:27 +00:00
Timo Sirainen
e5ab1daf30
When input line is in redirection mode, allow empty lines (eg. enter after
...
/OPER now aborts it)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2562 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:36:35 +00:00
Timo Sirainen
0d54e4e299
SIGHUP now does /RELOAD - useful with for example /SBAR prompt DISABLE when
...
you don't have an input line to recover :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:20:44 +00:00
Timo Sirainen
7c9ac989ff
No more infobar, but in empty windows topicbar contains the URL.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:02:33 +00:00
Timo Sirainen
95d8b617ae
Irssi didn't work properly if read() returned only partial utf8 character
...
string.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 17:54:38 +00:00
Timo Sirainen
f181dca67d
Fixed a memory leak with ^Y
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2540 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 09:25:06 +00:00
Timo Sirainen
600e0da443
/SET mirc_blink_fix - if ON, the bright/blink bit is stripped from MIRC
...
colors. Set this to ON, if your terminal shows bright background colors
as blinking. Patch by pv2b
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-08 21:04:59 +00:00
Timo Sirainen
2d5978fdfe
^Y shouldn't crash with empty cutbuffer
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-25 17:28:55 +00:00
Timo Sirainen
015d87579c
Show window's scroll state with /WINDOW.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-22 13:12:33 +00:00
Timo Sirainen
bcc5174e4a
Backspace/delete shouldn't modify cutbuffer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2520 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 12:46:45 +00:00
Timo Sirainen
ec0270811e
stupid bug :) lines longer than 1024 chars made irssi crash.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 12:44:23 +00:00
Timo Sirainen
2bc09e0e50
Added escape_char /BIND command for inserting the next keypress to input
...
line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2517 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-18 20:59:40 +00:00
Timo Sirainen
a543f63307
compiler warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 18:05:25 +00:00
Timo Sirainen
a6d61a0b2b
--disable-terminfo didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 15:42:07 +00:00
Timo Sirainen
effd1185a4
fixed a compiler warning
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:42:53 +00:00
Timo Sirainen
74b1a57540
compiler warning fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2498 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:25:10 +00:00
Timo Sirainen
37f8547dc4
Added ^I = "tab" key.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 10:09:04 +00:00
Timo Sirainen
81c2e557d1
Added /STATUSBAR # RESET command for removing the whole statusbar block from
...
config file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 15:10:27 +00:00
Timo Sirainen
82be2070e2
Cutbuffer should be cleared when ^U is used in empty line (or in general, 0
...
chars is erased)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 10:11:00 +00:00
Timo Sirainen
941ac87dfe
Don't crash when handling input line if the input line doesn't exist (huh?
...
how? no idea :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2469 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 07:37:31 +00:00
Timo Sirainen
8b8d48d0b7
/STATUSBAR now prints a list of statusbars, /STATUSBAR <name> prints
...
statusbar info.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 07:30:57 +00:00
Timo Sirainen
ef5a69cfe1
/STATUSBAR # VISIBLE command didn't work properly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2466 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 06:48:35 +00:00
Timo Sirainen
a52d99ecf4
/RELOAD didn't update the statusbar colors the first time. /SET theme never
...
changed the statusbar colors.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 00:08:47 +00:00
Timo Sirainen
202d0b070e
command_unbind("statusbar add") was called with wrong function parameter.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2464 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 23:15:25 +00:00
Timo Sirainen
8506f11fa5
case-insensitivity for /STATUSBAR command
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2463 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:42:09 +00:00
Timo Sirainen
b3beb2c49e
Added _very_ small help for /statusbar + their SYNTAXes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:22:46 +00:00
Timo Sirainen
0e4bf301ca
More statusbar commands.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2461 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:18:48 +00:00
Timo Sirainen
c9fd2197e3
Added /STATUSBAR commands for most commonly used tasks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2459 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 21:42:31 +00:00
Timo Sirainen
fa3d6dcd75
Disable the nl_langinfo() if CODESET isn't defined (openbsd).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 19:33:05 +00:00
Timo Sirainen
23a31f30de
/SET term_type didn't take effect on entry until the second time it was
...
changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2457 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 18:39:32 +00:00
Timo Sirainen
de272071c5
don't crash if trying to erase 0 chars and there's no cutbuffer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 18:20:03 +00:00
Timo Sirainen
eb31bb1712
transpose_characters was broken
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2454 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 16:02:14 +00:00
Timo Sirainen
b18424f7cb
added meta-f and meta-b for forward/backward word
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2453 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 15:54:59 +00:00
Timo Sirainen
9d1506ebca
UTF-8 is now automatically used if locale is set properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2451 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 14:42:14 +00:00
Timo Sirainen
d0a9710bb8
get_utf8_char() was buggy
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2450 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 14:09:10 +00:00