Re: [dev] [st] 0.6 release

2015-07-10 Thread Aurélien Aptel
On Tue, Jul 7, 2015 at 10:56 PM, FRIGN d...@frign.de wrote: Thank you guys for working on st! Yep, thanks to everyone involved in st nowadays. I've moved to other things but I'm glad the project has gone this far.

Re: [dev] [st] Need help implementing combining characters

2013-04-21 Thread Aurélien Aptel
On Sun, Apr 21, 2013 at 7:02 PM, Random832 random...@fastmail.us wrote: I'm also having drawing issues with double-width characters that I don't know how to fix, so maybe it would be best if I just send what I have. Should I send it in the form of a patch or just my st.c? Send what is the most

Re: [dev] [st] wide characters

2013-04-13 Thread Aurélien Aptel
On Sat, Apr 13, 2013 at 11:17 PM, Random832 random...@fastmail.us wrote: I am forced to ask, though, why character cell values are stored in utf-8 rather than as wchar_t (or as an explicitly unicode int) in the first place, particularly since the simplest way to detect a wide character is to

Re: [dev] [st] windows port?

2013-04-11 Thread Aurélien Aptel
You might me interested in ConEmu http://code.google.com/p/conemu-maximus5/

Re: [dev] cannot run st

2013-01-24 Thread Aurélien Aptel
On Thu, Jan 24, 2013 at 6:47 PM, pancake panc...@youterm.com wrote: i've been quite busy these last months.. so i was a little disconnected from the suckless development... but several months ago i tried to run st on OSX without success.. and today i tried to run it on linux (voidlinux) without

Re: [dev] [suckless] Migration to git

2012-11-28 Thread Aurélien Aptel
I don't think using git will solve anything because there's no problem to solve. That being said, I don't mind using either git or mercurial. The official repo should stay on suckless.org, though.

Re: [dev] [st] 0.3 release

2012-11-05 Thread Aurélien Aptel
On Fri, Nov 2, 2012 at 8:12 PM, Christoph Lohmann 2...@r-36.net wrote: Greetings comrades. St 0.3 has been released and much has changed. Thank you Christoph --and everybody involved in this new release-- for keeping st alive :) I've a lot of work this year and I can't find the time nor the

Re: [dev] [st] toggle font

2012-10-11 Thread Aurélien Aptel
On Thu, Oct 11, 2012 at 6:13 PM, Roberto E. Vargas Caballero k...@shike2.com wrote: St, like all others graphic terminal emualtors, receive escape sequences which configure it, change color, set tittle screen, set blink ..., so add new private sequences for things like chage font is not only no

Re: [dev] [st] Tip adds non-existing trailing whitespace upon mouse selection + fix

2012-10-09 Thread Aurélien Aptel
On Tue, Oct 9, 2012 at 7:03 PM, Roberto E. Vargas Caballero k...@shike2.com wrote: Solution of copying all the characters needs some work, because I agree it sucks when you copy this non existing leading paces. I think the solution should be a variable by line saying maximum column written

Re: [dev] [st] Patches

2012-10-07 Thread Aurélien Aptel
I don't think the DEC alignment test is necessary. Please read LEGACY in st repo.

[dev] [st] tty widthheight

2012-09-19 Thread Aurélien Aptel
Changeset 317 (14adb004eb78) introduced tw and th in the XWindow struct. They are currently equivalent to the window width and height (x.w and x.h). What are their purpose?

Re: [dev] [st] Removing timeouts in main loop

2012-09-16 Thread Aurélien Aptel
On Sun, Sep 16, 2012 at 9:47 AM, Roberto E. Vargas Caballero k...@shike2.com wrote: This serie of patches try fix the problem of the timeout in main loop, which causes st wakeup each 20 ms even thare is noting to do. The timeout problem was introduced to speed up the rendering when a lot of

Re: [dev] [st] Removing timeouts in main loop

2012-09-16 Thread Aurélien Aptel
On Sun, Sep 16, 2012 at 11:51 AM, Aurélien Aptel aurelien.ap...@gmail.com wrote: - try to read data for SELECT_TIMEOUT ms max - if something was read, handle it in the term - if something was read and the last call to draw was more than DRAW_TIMEOUT ms ago then redraw. In retrospect

Re: [dev] [st] New patches

2012-09-16 Thread Aurélien Aptel
I'm not exactly sure what this feature will be used for. If you want to script something around a program expecting to run in a term there are already better tools for that like expect [1]. I'm not the one who added this goal. On Wed, Sep 12, 2012 at 8:22 PM, Roberto E. Vargas Caballero

Re: [dev] [st] Removing timeouts in main loop

2012-09-16 Thread Aurélien Aptel
On Sun, Sep 16, 2012 at 12:26 PM, Christoph Lohmann 2...@r-36.net wrote: If there is something to read from the tty, handle it, then wait for five microseconds in select() and see if the buffer filled again. If yes, handle this and do it again. After a certain amount of such loops

Re: [dev] [st] New patches

2012-09-12 Thread Aurélien Aptel
Couldn't the file output feature be implemented with dup2 in the child process? Using the buffered IO API and flushing at every character is stupid.

Re: [dev] Line artifacts ST

2012-07-23 Thread Aurélien Aptel
It looks like there's something wrong with the line height.

Re: [dev] interested in issue tracker dev

2012-07-23 Thread Aurélien Aptel
Let's bump this again. Someone might do something about it.

Re: [dev] [st] selection problem

2012-02-27 Thread Aurélien Aptel
On Thu, Feb 23, 2012 at 10:02 AM, Martin Kopta mar...@kopta.eu wrote: Expected result: one click does nothing, two select word, three select line. Observed result: one click selects whole line. I get the same behaviour. I'll look at it.

Re: [dev] smessage

2012-02-26 Thread Aurélien Aptel
On Mon, Feb 27, 2012 at 12:14 AM, Florian Limberger f...@snakeoilproductions.net wrote: width of your fixed font. If you use a proportinal font, I have no solution at the moment. I guess you could find the right amount of characters to draw to fill a line using (dichotomously) XmbTextExtents().

Re: [dev] smessage

2012-02-23 Thread Aurélien Aptel
On Tue, Feb 21, 2012 at 11:55 AM, Florian Limberger f...@snakeoilproductions.net wrote: I have hacked up a simple xmessage replacement which looks neater, has dmenu-like handling and supports unicode. Nice code. If you want to replace xmessage, you should make text scrollable and selectable.

Re: [dev] [st] terminal capability cm required

2012-02-17 Thread Aurélien Aptel
On Fri, Feb 17, 2012 at 10:35 AM, Paul Onyschuk bl...@bojary.koba.pl wrote: On Fri, 17 Feb 2012 10:20:22 +0100 Martin Kopta wrote: Before I get into solving this, have anyone seen this? What is cm? # vi -u NONE E437: terminal capability cm required Press ENTER or type command to continue

Re: [dev] [st] terminal capability cm required

2012-02-17 Thread Aurélien Aptel
On Fri, Feb 17, 2012 at 11:18 AM, Aurélien Aptel aurelien.ap...@gmail.com wrote: cup is already in st.info. Did you compiled the terminfo entry? ($ tic -s st.info) If you compile the terminfo as a user, it will go in the local terminfo database (~/.terminfo). You need to install

Re: [dev] [st] terminal capability cm required

2012-02-17 Thread Aurélien Aptel
On Fri, Feb 17, 2012 at 11:31 AM, Martin Kopta mar...@kopta.eu wrote: st.info' into /usr. It is a CentOS 5.7. I have no problem with that on CentOS 6.2, Ubuntu 11.10 and Archlinux. I guess it is because of ancient Vim. Maybe this version of vim doesn't support terminfo? This is very unlikely

Re: [dev] [st] 0.2.1 is out

2012-02-16 Thread Aurélien Aptel
On Thu, Feb 16, 2012 at 4:11 PM, Andrew Hills hills...@gmail.com wrote: Will this be released/available at http://dl.suckless.org/st/? I don't have Mercurial access at work. You don't need mercurial to get a tarball from the repo. http://hg.suckless.org/st/archive/revison or tag.tar.gz

Re: [dev] [st] 0.2.1 is out

2012-02-16 Thread Aurélien Aptel
On Thu, Feb 16, 2012 at 7:18 PM, Andrew Hills hills...@gmail.com wrote: Thanks. It looks like the SHELL macro is still in config.h and still doesn't do anything. Should it replace sh on line 712 of st.c? Yep, forgot about that.

Re: [dev] Re: [st] 0.2.1 is out

2012-02-16 Thread Aurélien Aptel
On Thu, Feb 16, 2012 at 12:22 PM, Peter Hartman peterjohnhart...@gmail.com wrote: So I take it the xft stuff didn't make it.  In addition to fixing some I'll try to keep the xft branch up to date. I may even merge it by designing a generic font interface. problems, I also liked it because I

Re: [dev] ... and then i go and spoil it all by saying something stupid ...

2012-02-15 Thread Aurélien Aptel
Someone loves me on the internet! *hug back*

[dev] [st] 0.2.1 is out

2012-02-15 Thread Aurélien Aptel
Hi all, I've pushed a few local changes and decided to bump the version a bit. * support for dim/bright colors * unfocused cursor is now visible with a different color * using index 16 for default colors now works properly * various code cleanup, rewrite, indented and named enum definitions. *

[dev] Re: [st] 0.2.1 is out

2012-02-15 Thread Aurélien Aptel
On Thu, Feb 16, 2012 at 1:19 AM, Aurélien Aptel aurelien.ap...@gmail.com wrote: * support for dim/bright colors * unfocused cursor is now visible with a different color * using index 16 for default colors now works properly * various code cleanup, rewrite, indented and named enum definitions

Re: [dev] [st] htop, tmux, terminfo

2012-02-12 Thread Aurélien Aptel
On Sun, Feb 12, 2012 at 9:15 AM, Martin Kopta mar...@kopta.eu wrote: I hoped for easy solution where I won't have to modify all the hosts I know and all the hosts I will ever meet in the future. Thank you however for your proposed solution. The easiest solution is to set TERM to xterm in your

Re: [dev] Suckless.org Man page links

2012-02-11 Thread Aurélien Aptel
On Sat, Feb 11, 2012 at 5:54 PM, Anselm R Garbe garb...@gmail.com wrote: Actually I conclude that the current wman apps for werc sucks big time. All I really want is, that if there is a *.[1-9] file in the directory, it will be formatted using troff instead markdown. That's much simpler and

Re: [dev] Suckless OS (was About escape sequences and stuff)

2012-02-11 Thread Aurélien Aptel
On Sat, Feb 11, 2012 at 9:32 PM, Jonathan Slark jonathan.sl...@gmail.com wrote: Has the suckless community considered starting an operating system from scratch? Linux/BSD etc suck by default as they are evolutions of software from the 1970s and have all the legacy baggage that comes with

Re: [dev] [st] 0.2 is out

2012-02-08 Thread Aurélien Aptel
On Wed, Feb 8, 2012 at 2:17 PM, ilf i...@zeromail.org wrote: Care to update the website? http://st.suckless.org/ And add a post to the News section of http://suckless.org/? I did but the wiki has moderation.

Re: [dev] [st] 0.2 is out

2012-02-08 Thread Aurélien Aptel
On Wed, Feb 8, 2012 at 2:49 PM, ilf i...@zeromail.org wrote: I am running the same tmux session in both rxvt-unicode and st next to each other. The drawing speed of st does indeed feel better than before, but it's still way slower than rxvt in everything I have tried. This is one of the issues

Re: [dev] [st] 0.2 is out

2012-02-08 Thread Aurélien Aptel
On Wed, Feb 8, 2012 at 4:13 PM, Diego Joss diego.j...@hispeed.ch wrote: there is a minor error on the website in the News section for the announcement: Pushed a fix, waiting for moderation, thanks.

Re: [dev] [st] 0.2 is out

2012-02-08 Thread Aurélien Aptel
On Wed, Feb 8, 2012 at 4:41 PM, ilf i...@zeromail.org wrote: Using radeon driver, but this should be irrelevant, right? You're not the first one to have performance problem with it [1], I'm afraid :/ 1: https://www.google.com/search?q=site%3Alists.suckless.org+radeon

[dev] [st] 0.2 is out

2012-02-07 Thread Aurélien Aptel
Hi all, As I said previously somewhere on the list, I've tagged the last changeset of the default branch as 0.2.

Re: [dev] [st] VT100 Emulation

2012-02-04 Thread Aurélien Aptel
On Sun, Feb 5, 2012 at 12:27 AM, Bjartur Thorlacius svartma...@gmail.com wrote: Žann lau  4.feb 2012 23:05, skrifaši Kurt H Maier: There are already terminals that care about such bullshit; why write another? Actually, st does not implement every VT100/VT102/xterm escape sequence.

Re: [dev] interested in issue tracker dev

2012-02-03 Thread Aurélien Aptel
So, how are things going? I guess setting up an existing BTS on suckless.org while waiting is out of the question? I'm already using some sort of TODO/XXX in comment but it could be better... For what it's worth, here's my usecase/design/whatever. I don't need much: - basic interface (cli, mail,

Re: [dev] [st] Drawing performance

2012-01-29 Thread Aurélien Aptel
First, thank you for the time you spent on st. On Sun, Jan 29, 2012 at 11:48 AM, Galos, David galos...@students.rowan.edu wrote: I've written a patch which drastically improves st's performance in interactive console applications, like htop, vim or alsamixer. However, catting /dev/urandom is

Re: [dev] [st] Drawing performance

2012-01-29 Thread Aurélien Aptel
...aaand the attachement. *sigh* slowtest.sh Description: Bourne shell script

Re: [dev] [st] new xft branch (FreeType font rendering)

2012-01-27 Thread Aurélien Aptel
Oops. Applied, thanks.

Re: [dev] [st] font help

2012-01-23 Thread Aurélien Aptel
On Mon, Jan 23, 2012 at 10:50 AM, Eckehard Berns ecki-suckl...@ecki.to wrote: From your screenshot I would guess that the font pattern you specified isn't strict enough. St uses the maximum width of all characters in all fonts in the font set to calculate how wide the characters are. That's

[dev] [st] new xft branch (FreeType font rendering)

2012-01-23 Thread Aurélien Aptel
Hi all, Due to popular demand and being fed up with x11 core fonts, I've made a new branch xft. X11 core fonts are still used in the default branch and this new branch is just an experiment. It might be merged back in default depending on how things go. As of now, the code is still a bit messy

Re: [dev] [st] Drawing optimizations

2012-01-23 Thread Aurélien Aptel
On Sun, Jan 22, 2012 at 7:22 PM, Peter John Hartman peterjohnhart...@gmail.com wrote: Hi, Unfortunately, the tmux-split-pane problem still persists.  The tmux-split-pane problem is this: if one pane in tmux is spitting out a bunch of text (e.g. a sudo cat /var/log/messages or most

Re: [dev] [st] Drawing optimizations

2012-01-21 Thread Aurélien Aptel
Hi all, I've made st ~10x faster on my computer. If there are no major bugs I will tag tip as version 0.2. Here's the relevant commit message: * add a timeout value (SELECT_TIMEOUT) of 20ms in the select() call * wait at least 20ms (DRAW_TIMEOUT) between draw() calls * only copy dirty lines from

Re: [dev] st: Font problem

2012-01-17 Thread Aurélien Aptel
On Tue, Jan 17, 2012 at 10:38 AM, François Chaix pe...@fchaix.eu wrote: So, it works, st launches, but it is very slow. 1s to display a full man page, 3s to display a ncurses-based interface (tested with mocp). What do you think this comes from ? st is slow, yes, but it should be faster than

Re: [dev] st: Font problem

2012-01-16 Thread Aurélien Aptel
On Mon, Jan 16, 2012 at 7:15 PM, François Chaix pe...@fchaix.eu wrote: I would like to report and ask for help about a problem I have executing st. I get this message : --- ego@Bidule:~$ ./compil/suckless/st-0.1.1/st st: missing fontset: ISO10646-1 st: missing fontset: JISX0201.1976-0 st:

Re: [dev] st: nano-paste fix

2012-01-11 Thread Aurélien Aptel
On Wed, Jan 11, 2012 at 12:33 PM, Martti Kühne mysat...@gmail.com wrote: Debugging ttywrite() got me thinking, why is it that pressing Enter will not result in what would seem logical '\n' but '\r' as well instead? tty(1) mentions CR, though I'm completely lost if/why that be the right place.

Re: [dev] st: equivalent fixes: st-sel-fix

2012-01-10 Thread Aurélien Aptel
On Tue, Jan 10, 2012 at 10:04 PM, Martti Kühne mysat...@gmail.com wrote: anyway, the problem is that XChangeProperty() will cause a segfault if it gets NULL - or strlen. I'm slightly in favor of the former, as it will allow sel.clip to be any value at any time, which is good. Thoughts? Good

Re: [dev] [st] Patch to fix selection rendering

2011-11-01 Thread Aurélien Aptel
Thanks, applied.

Re: [dev] [dwm] 2000 SLOC

2011-10-31 Thread Aurélien Aptel
On Mon, Oct 31, 2011 at 9:38 AM, Anselm R Garbe garb...@gmail.com wrote: * skvm (who uses this? development seems dead) I use it. I installed it 1 or 2 years ago, never bothered to update it since it works. I also think libixp and ii should stay. I don't use them personally but I think they

Re: [dev] [dwm] 2000 SLOC

2011-10-30 Thread Aurélien Aptel
Some of us are socially retarded, excuse them. On Sun, Oct 30, 2011 at 8:53 AM, Martin Kopta mar...@kopta.eu wrote: 2) Does that mean dwm won't gain any more features? 3) Does that mean the code will be cut short to make place for another features? dwm won't gain any big features. Generally,

Re: [dev] Some questions about st and a patch

2011-10-18 Thread Aurélien Aptel
On Mon, Oct 17, 2011 at 5:06 PM, Connor Lane Smith c...@lubutu.com wrote: I'm not a st developer, but I've had a look at this. Arrow keys do need to be handled in a special way, but the arrow keys don't work with any modifier keys. Currently st handles an arrow key by printing, eg, \033[D.

Re: [dev] Some questions about st and a patch

2011-10-18 Thread Aurélien Aptel
On Tue, Oct 18, 2011 at 12:14 PM, Aurélien Aptel aurelien.ap...@gmail.com wrote: Reminder: $ hg clone http://hg.suckless.org/st $ patch -p1 xterm-arrow-keys.diff You need to cd in st after hg clone, obviously.

Re: [dev] Some questions about st and a patch

2011-10-18 Thread Aurélien Aptel
Attached wrong patch; use this one, sorry. diff -r 704261718508 st.c --- a/st.c Thu Oct 06 21:32:34 2011 +0200 +++ b/st.c Tue Oct 18 12:20:03 2011 +0200 @@ -208,6 +208,7 @@ static void ttyread(void); static void ttyresize(int, int); static void ttywrite(const char *, size_t); +static

Re: [dev] Some questions about st and a patch

2011-10-18 Thread Aurélien Aptel
On Tue, Oct 18, 2011 at 12:27 PM, pancake panc...@youterm.com wrote: and type rm -rf ~ ; after the patch is applied Thank you for your helpful{#`%${%`+'${`%NO CARRIER

Re: [dev] st bug report and feature request

2011-10-08 Thread Aurélien Aptel
Hi, Sorry for the late reply. On Sat, Sep 24, 2011 at 4:57 PM, u-st-j...@aetey.se wrote: Having compiled and tested st, I would like to contribute a report. That's great, thank you. Utf-8 and line graphics symbols' handling looks broken on bold text (?). E.g. mutt shows kanji in From

Re: [dev] [st] Patch to remove color limit hardcoding

2011-10-06 Thread Aurélien Aptel
Actually, I think Anselm has not transferred by public key on the new host. I can't push my changes for now.

Re: [dev] [st] Scroll selection patch

2011-09-22 Thread Aurélien Aptel
I may tweak this later, but applied for now. Thanks!

Re: [dev] [st] openbsd port

2011-09-17 Thread Aurélien Aptel
On Sat, Sep 17, 2011 at 11:33 AM, Joerg Zinke m...@umaxx.net wrote: So my question is: are there any attempts made to push st.info to ncurses upstream? None. I think it won't be the nicest way because the terminfo entry is subject to change as some capacities are not implemented yet (see TODO).

Re: [dev] [st]100% cpu in some cases

2011-09-17 Thread Aurélien Aptel
On Sat, Sep 17, 2011 at 8:38 AM, Thuban thu...@singularity.fr wrote: So, here is the problem. St uses a lot of cpu with some apps that need refresh, such as top or mutt. The system becomes very slow, and Xorg show a 100% cpu. This problem only happen when I use the radeon driver, with

Re: [dev] [st] bad focus

2011-09-16 Thread Aurélien Aptel
Ok, I'm back. On Sun, Sep 4, 2011 at 3:19 AM, ingol...@gmail.com wrote: According to the documentation[^1], the embedding application is supposed to send a ClientMessage XEvent with major opcodes of XEMBED_FOCUS_IN and XEMBED_FOCUS_OUT. I've attached a patch that should add detection of these

Re: [dev] [st] bad focus

2011-09-03 Thread Aurélien Aptel
Hi, I currently have no *nix computer at hand to test your patch. This behaviour was introduced to make focus work inside tabbed. It has the side effect your describing. I didn't find the right way to know whether the window has *keyboard* focus or not when it's embed. I you manage to make it

Re: [dev] [st] shift-insert patch (more general: key.mask and state)

2011-08-14 Thread Aurélien Aptel
On Mon, Aug 1, 2011 at 6:32 PM, Aurélien Aptel aurelien.ap...@gmail.com wrote: I've used it in my patch attached to match XK_ANY_MOD. I'd like to have some feedback/testing before applying it. I've pushed my patch.

Re: [dev] [st] shift-insert patch (more general: key.mask and state)

2011-08-01 Thread Aurélien Aptel
On Mon, Aug 1, 2011 at 1:34 PM, anonymous p37si...@lavabit.com wrote: I think my patch is better.  There is no special case for 0 mask and state and when we match for Ctrl and Shift it works only when they both are pressed.  With your patch it will work for Ctrl only or for Shift only. When a

Re: [dev] [st] shift-insert patch (more general: key.mask and state)

2011-08-01 Thread Aurélien Aptel
On Mon, Aug 1, 2011 at 5:55 PM, Aurélien Aptel aurelien.ap...@gmail.com wrote: When numlock is on, each keypress has a state of 0x10. I suppose nobody actually use keybindings involving numlock so kmap() could clear the numlock mask from state before looking for a match in key[]. And handle

Re: [dev] [st] shift-insert patch (more general: key.mask and state)

2011-08-01 Thread Aurélien Aptel
On Mon, Aug 1, 2011 at 6:14 PM, anonymous p37si...@lavabit.com wrote: With my patch it is matched with any modifier too, because (key 0) == 0. Yes but it doesn't fix the problem of redefining what XK_Insert sends while keeping shift + insert to paste. I've used it in my patch attached to match

Re: [dev] macos settings to use wmii in X11

2011-07-25 Thread Aurélien Aptel
Can you post your .xinitrc? How do you start X?

Re: [dev] macos settings to use wmii in X11

2011-07-25 Thread Aurélien Aptel
On Mon, Jul 25, 2011 at 9:25 PM, Jhonny Boy jhonny...@ymail.com wrote: Well I tried different .xinitrc right now I have : exec wmii I just try to launch X11 using the X11.app Is wmii in your PATH? Do you have any error/log when you start X? You need to be a lot more precise if you want

Re: [dev] [st] mutt and cursor

2011-07-05 Thread Aurélien Aptel
It's definitely a bug in st. I'll fix this when I get home next week.

Re: [dev] Microsoft considers harmful...

2011-06-21 Thread Aurélien Aptel
On Tue, Jun 21, 2011 at 5:11 PM, hiro 23h...@googlemail.com wrote: I'm not dracula! Count Orlok then. Way more badass.

Re: [dev] Experimental editor

2011-06-10 Thread Aurélien Aptel
On Fri, Jun 10, 2011 at 9:54 AM, Rafa Garcia Gallego rafael.garcia.gall...@gmail.com wrote: I like the idea of structural regex, but I haven't used sam much. The match buffer sounds a bit emacs-y for my taste. I doubt emacs has something exactly like that; then again I am more of a vi(m) guy so

Re: [dev] st - XEmbed patch

2011-06-09 Thread Aurélien Aptel
Ok I fixed it in tip. When st has its own window, focus change is notified with the FocusIn/FocusOut event. Now when st is embed, it just receives EnterNotify/LeaveNotify event.

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
On Fri, Jun 3, 2011 at 12:41 PM, Bert Münnich be...@gmx.com wrote: rxvt-unicode is a lot more simpler. It behaves in the same way as my patch: simply reversing the default fg and bg colors. All the others fg and bg colors remain untouched. ok A nice example to see the difference is

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
oops, second screenshot attached. attachment: blackdefault.png

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
Thanks for all the patches :) I've created a new terminal states (MODE_xxx) for the different kind of mouse reporting instead of the global var. I've also removed the first MODE_MOUSE check from mousereport() since it's tested by every calling function that uses it. Tell me if everything works

Re: [dev] [st] Font issues

2011-06-08 Thread Aurélien Aptel
On Tue, May 31, 2011 at 3:08 PM, Bryan Bennett bbenn...@gmail.com wrote: terrible.[1] I've uploaded my config.h[2], but the line that should be the Also, I don't know if changing the value of TAB is recommended. I think it may lead to some strange bugs. Thus, we should move TAB definition to

Re: [dev] [st] code cleanup

2011-06-08 Thread Aurélien Aptel
On Thu, May 26, 2011 at 12:32 PM, anonymous p37si...@lavabit.com wrote: Attached. Applied without the fputs/fputc. It's really not critical (performance wise) and inconsistent with the rest of the code.

Re: [dev] [st] alternate screen switching

2011-06-08 Thread Aurélien Aptel
On Wed, Jun 1, 2011 at 9:59 AM, Bert Münnich be...@gmx.com wrote: Hi, attached is a patch, that adds support for the deprecated '\E[?47h' and '\E[?47l' control sequences, which are used when $TERM == xterm-color. I've also added {rm,sm}cup entries to st.info, so that switching between

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
On Wed, Jun 8, 2011 at 10:17 PM, Bert Münnich be...@gmx.com wrote: I'm using a light background, so I didn't notice these differences--I guess I have to test things a bit more in the future... The problem is that st has no way to tell the default bg from black (if your default bg is black).

Re: [dev] st - XEmbed patch

2011-06-08 Thread Aurélien Aptel
New bug though. Once embed in tabbed, st seems to not always receive the focus event because the cursor is still hidden.

Re: [dev] [st] Statusline terminfo entries patch

2011-06-08 Thread Aurélien Aptel
Applied, thanks.

Re: [dev] [st] revised mouse handling/reporting

2011-06-03 Thread Aurélien Aptel
On Thu, Jun 2, 2011 at 2:28 PM, pancake panc...@youterm.com wrote: I wonder if those patches are going to be commited.. I find them right. But it's about the third patch in a week without any reply.. I've already committed some of them them locally, not finished yet. The reverse video one

Re: [dev] [st] Font issues

2011-05-31 Thread Aurélien Aptel
There is a patch to support Xft somewhere (but it's slow). We have to re-implement the GLYPH_DIRTY trick to speed the rendering. On Tue, May 31, 2011 at 3:46 PM, Le Tian tiane...@gmail.com wrote: Well, when I got tired of urxvt, aterm and xterm, I switched to terminal and then sakura, both very

Re: [dev] Sandy editor

2011-05-27 Thread Aurélien Aptel
On Fri, May 27, 2011 at 4:52 AM, John Matthewman jmatthew...@gmail.com wrote: Yea, probably a good idea (of course, ignoring Emacs' chained keybindings). Sandy would benefit from a better set of default bindings. Though for reference you might want to look at something like mg

Re: [dev] Sandy editor

2011-05-27 Thread Aurélien Aptel
On Fri, May 27, 2011 at 10:54 AM, Dieter Plaetinck die...@plaetinck.be wrote: how ironic you pledge for sane keybindings and suggest bindings optimized for qwerty users... I've used qwerty bindings for the example so anyone could follow. I don't use qwerty myself.

Re: [dev] Sandy editor

2011-05-27 Thread Aurélien Aptel
On Fri, May 27, 2011 at 8:26 PM, Noah Birnel nbir...@gmail.com wrote: Puke. Triangle layout may be more intuitive to learn for single char/line movement, but is probably not easier to type. Certainly not WASD layout, laying on the weak fingers of the left hand. wasd is only an example... Pick

Re: [dev] [st] maps window before setting the title, confuses dwm's matching

2011-05-22 Thread Aurélien Aptel
Applied, thanks.

Re: [dev] TermKit

2011-05-20 Thread Aurélien Aptel
On Fri, May 20, 2011 at 2:26 PM, Connor Lane Smith c...@lubutu.com wrote: I think the way to solve this problem is not to add structure to pipes (which tend to be simple to use *because* they have no real structure), but to allow commands to draw directly to the terminal if they wanted. So the

Re: [dev] [st] Mouse usage in Vim

2011-05-10 Thread Aurélien Aptel
Mouse support is not implemented but it seems rather straightforward to do [1]. I'll have a look at it. 1: http://www.usf.uni-osnabrueck.de/infoservice/doc/localhtml/rxvt/refer.html#Mouse

Re: [dev] [st] Mouse usage in Vim

2011-05-10 Thread Aurélien Aptel
Ok, it's in tip. I have not modified st terminfo entry so be sure to test with $ TERM=xterm vim /tmp/foo Tell me if works correctly for you.

Re: [dev] Why dwm or wmii over xmonad, etc., or not?

2011-05-06 Thread Aurélien Aptel
On Fri, May 6, 2011 at 3:18 AM, Nathan Neff nathan.n...@gmail.com wrote: 2.5) Easy / sensible defaults.  Sorry but Emacs-style shortcut keys are an oxymoron.  Any window manager that uses Emacs Key Chords is immediately disqualified.  With wmii you switch between windows and tags with 2

Re: [dev] [dwm] devilspie doesn't work

2011-05-05 Thread Aurélien Aptel
hilarious argument about transparency that somehow derived to AIDS I love this mailing list. Leon Winter made a patch to support transparency in st few months ago [1]. It should'nt be hard to adapt it to tip if you want it. 1: http://lists.suckless.org/dev/1009/6046.html

[dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Aurélien Aptel
Hi, I wanted to try the ruby wmiirc, so I followed the steps in the README, installed latest wmii/libixp from the repo, installed rumai 3.3.1 (since wmiirc require 4), checkout the strict branch (default config.yaml) and when I startx, I get this on the xmessage-thingy: #Rumai::IXP::Error: bad

Re: [dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Aurélien Aptel
On Wed, Apr 27, 2011 at 9:00 PM, Suraj Kurapati sun...@gmail.com wrote: It seems you are using the ruby wmiirc that was shipped with wmii (which is ancient!) because the current ruby wmiirc on GitHub[1] no longer maintains the strict branch and requires Rumai 4.1.2, so try [1] instead. Yep,

Re: [dev][st] Approach to adding -bg colour option to st

2011-04-26 Thread Aurélien Aptel
On Mon, Apr 25, 2011 at 12:03 PM, David Tweed david.tw...@gmail.com wrote: (As background, I currenlty use a hacked aterm which changes the background colour according to the cwd. This works for changing hte colours, but the codebase and aterms behaviour on resize is poor, so long term I'd

Re: [dev] [st] cleanup patch

2011-04-26 Thread Aurélien Aptel
On Tue, Apr 26, 2011 at 5:13 PM, anonymous p37si...@lavabit.com wrote: It would be also nice to remove debugging code from st.c: oops, it shouldn't be there sorry. Applied some of the cleanup.

Re: [dev][st] Approach to adding -bg colour option to st

2011-04-26 Thread Aurélien Aptel
On Tue, Apr 26, 2011 at 11:07 AM, Aurélien Aptel aurelien.ap...@gmail.com wrote: # the \$(cmd) in PS1 is probably bash-only # maybe PROMPT_COMMAND is more portable PS1=\$(dirbg)\u \w $ It seems you need to enclose non-printing characters in \[\] on bash and %{%} on zsh. So for bash: PS1

  1   2   >