aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* check for MAX_LINE_LEN in main.c:chomp to not overflow the buffergotmor2007-06-131-1/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@90 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixes to compile cleanly with -Wall and -DPOSIX_SOURCEgotmor2007-06-131-4/+4
| | | | | | | changed config.mk, there were problems with solaris git-svn-id: http://dzen.googlecode.com/svn/trunk@87 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* changed default actionsgotmor2007-06-131-7/+19
| | | | | | | cleaned up git-svn-id: http://dzen.googlecode.com/svn/trunk@86 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* removed event array, all events are handled with a linked listgotmor2007-06-131-6/+12
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@85 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added keyboard handlinggotmor2007-06-131-4/+14
| | | | | | | added a_grabkeys, a_ungrabkeys, a_scrollend git-svn-id: http://dzen.googlecode.com/svn/trunk@84 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* clean up to compile cleanly witg -Wall and -DPOSIX_SOURCEgotmor2007-06-111-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@83 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* get rid of exposetitle and exposeslave actions, gotmor2007-06-111-18/+11
| | | | | | | we handle those without wrapper functions git-svn-id: http://dzen.googlecode.com/svn/trunk@82 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* only redraw if really necessarygotmor2007-06-111-3/+7
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@81 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* only allow "-u" if dzen.slave_win.max_lines is setgotmor2007-06-101-1/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@79 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* commentsgotmor2007-06-101-3/+0
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@78 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* improved buffer handling: gotmor2007-06-101-6/+26
| | | | | | | | malloc buffer buffer size is multiplier of dzen.slave_win.max_lines git-svn-id: http://dzen.googlecode.com/svn/trunk@77 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* reduce flickergotmor2007-06-091-23/+21
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@76 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* typosgotmor2007-06-091-4/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@75 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added -u option, update slave window after n+1 lines read wheregotmor2007-06-091-2/+12
| | | | | | | dzen.slave_win.max_lines = n git-svn-id: http://dzen.googlecode.com/svn/trunk@74 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* adapted hide/unhide actions to the horizontal menu modegotmor2007-06-071-85/+92
| | | | | | | restructered x_create_windows() git-svn-id: http://dzen.googlecode.com/svn/trunk@70 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* commentsgotmor2007-06-061-5/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@69 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* slightly better method to calculate the entry width for the horizontal menu,gotmor2007-06-051-9/+11
| | | | | | | this leaves no gaps git-svn-id: http://dzen.googlecode.com/svn/trunk@68 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed strtol in main, must be strtoulgotmor2007-06-051-12/+60
| | | | | | | added horizontal menu functionality git-svn-id: http://dzen.googlecode.com/svn/trunk@67 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* changed option handling for -p to strtoulgotmor2007-06-041-1/+1
| | | | | | | fixed off by one in scroll git-svn-id: http://dzen.googlecode.com/svn/trunk@65 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* don't be a smartass and use tabs for intendation like every one elsegotmor2007-06-041-505/+505
| | | | | | | does git-svn-id: http://dzen.googlecode.com/svn/trunk@64 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* intendation fixesgotmor2007-06-041-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@63 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed xinerama geometry checking, thanks davidgotmor2007-06-031-8/+9
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@61 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* intendation fixgotmor2007-06-031-28/+28
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@60 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* cleaned up a bitgotmor2007-06-031-10/+6
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@58 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* "-p" takes fㄩll seconds as argumentgotmor2007-06-031-9/+8
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@56 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* "else if" must be "if" in event_loopgotmor2007-06-031-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@52 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed read with timeoutgotmor2007-06-031-7/+10
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@51 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added Adam Langley's timeout patch to "-p"gotmor2007-06-031-2/+29
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@50 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* renamed a_showhead to a_scrollhomegotmor2007-06-031-2/+4
| | | | | | | changed handle_newl to scroll only when last line of input is viewed git-svn-id: http://dzen.googlecode.com/svn/trunk@49 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* tidy upgotmor2007-06-021-11/+8
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@45 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed bug in chompgotmor2007-06-021-1/+10
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@44 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* code cleanupgotmor2007-06-011-12/+12
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@43 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* 0.3.0 - switch to select()gotmor2007-06-011-155/+185
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@42 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added optional Xinerama support, thanks David Glassergotmor2007-05-241-19/+66
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@29 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* cleanups, renamed mh to line_heightgotmor2007-05-161-23/+24
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@28 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* deleted debugging entriesgotmor2007-05-161-2/+0
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@27 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed alignment odditiesgotmor2007-05-161-49/+49
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@26 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* alignment for slave window, option '-sa'gotmor2007-05-151-3/+21
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@25 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* make release 0.2.3 readygotmor2007-05-121-4/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@24 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* code cleanupgotmor2007-05-121-7/+8
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@23 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* typo^2gotmor2007-05-111-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@22 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* typogotmor2007-05-111-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@21 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* new option: -ta title window content alignement (l|c|r)gotmor2007-05-111-5/+25
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@20 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* renamed "onquit" to "onexit"gotmor2007-05-111-3/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@18 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* code clean und and rearrangementgotmor2007-05-111-152/+164
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@17 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* new clean_up codegotmor2007-05-101-31/+34
| | | | | | | fixed selected line bug in menu mode git-svn-id: http://dzen.googlecode.com/svn/trunk@16 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added onstart, onquit eventsgotmor2007-05-091-0/+9
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@12 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed a free() error - thanks Radek Kamenskýgotmor2007-04-291-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@10 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* cosmetic changesgotmor2007-03-301-3/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@9 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added '-tw' title window width optiongotmor2007-03-301-21/+53
| | | | | | | revised geometry checking git-svn-id: http://dzen.googlecode.com/svn/trunk@7 f2baff5b-bf2c-0410-a398-912abdc3d8b2