Re: [dev] [PATCH] [st 1/3] Use tsetdirt in tscrollup and tscrolldown.

2014-04-22 Thread Roberto E. Vargas Caballero
, orig, term.col-1, orig+n-1); tsetdirt(orig+n, term.bot); Is there any reason to do it in different order?. I think is more understable if the order is the same in both cases. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH 1/6] Use BETWEEN in tinsertblankline and tdeleteline.

2014-04-22 Thread Roberto E. Vargas Caballero
Hi, I am going to apply the full set of patches. Thanks!! -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix techo handling of control characters.

2014-04-22 Thread Roberto E. Vargas Caballero
it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix techo handling of control and multibyte characters.

2014-04-23 Thread Roberto E. Vargas Caballero
Applied with a small modification. Thanks -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] [st 1/3] Use tsetdirt in tscrollup and tscrolldown.

2014-04-23 Thread Roberto E. Vargas Caballero
dirty bit is set. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix techo handling of control and multibyte characters.

2014-04-23 Thread Roberto E. Vargas Caballero
criteria, that is the more suck criteria I know (I think it is because they come from the LISP world, and they want to see your code formatted as LISP, and force you to put a lot of unneded parenthesis ;). Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix techo handling of control and multibyte characters.

2014-04-25 Thread Roberto E. Vargas Caballero
rule. I accept typedef of struct always that the new type begins with upper case. -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix techo handling of control and multibyte characters.

2014-04-25 Thread Roberto E. Vargas Caballero
will apply it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH 1/4] Simplify tsetscroll.

2014-04-25 Thread Roberto E. Vargas Caballero
Applied, thanks! -- Roberto E. Vargas Caballero

[dev] [st][PATCH] Simplify a bit more tdeletechar and tinsertblank

2014-04-25 Thread Roberto E. Vargas Caballero
The large and repeated expression used in memmove to indirect the line can be simplified using a pointer, that makes more clear where begins and where ends the movement. --- st.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/st.c b/st.c index 263abaa..e468d73

Re: [dev] [st PATCH 2/4] Use BETWEEN macro in xsetcolorname and fix style.

2014-04-25 Thread Roberto E. Vargas Caballero
Hi, It makes sense with the rest of the code, so I'll apply it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH 3/4] Use != instead of ^ for logical values.

2014-04-25 Thread Roberto E. Vargas Caballero
- if(sel.alt ^ IS_SET(MODE_ALTSCREEN)) + if(sel.alt != IS_SET(MODE_ALTSCREEN)) This bit logical operation comes from another age when IS_SET had not a comparision operator. It does not make sense anymore, so this change is good. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH 4/4] Optimize tputtab.

2014-04-25 Thread Roberto E. Vargas Caballero
, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] On terminal resize, clear the alt screen with its own cursor.

2014-04-25 Thread Roberto E. Vargas Caballero
Currently the alternate screen get messed up on resize if it has different colors or mode. Good catch, I'll apply it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 01/12] Simplify tsetscroll.

2014-04-25 Thread Roberto E. Vargas Caballero
and they are not a second version. -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 04/12] Comment fix.

2014-04-25 Thread Roberto E. Vargas Caballero
- * As seen in selcopy: + * As seen in getsel: Good catch, I'll apply it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 06/12] Avoid integer overflow in dump().

2014-04-25 Thread Roberto E. Vargas Caballero
, so I think the solution is to remove the function. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 05/12] Consistent FALLTHROUGH comments.

2014-04-25 Thread Roberto E. Vargas Caballero
that the best comment is FALLTHROUGH (I used FALLTHRU in the past because it was used in a project where I worked), that is the comment that lint understand. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 07/12] Remove unnecessary break;s

2014-04-25 Thread Roberto E. Vargas Caballero
can agree on it, I'll write the patch to add break;s for the last switch-cases, where they are missing. Yeah, I agree, and I am going to commit the patch of nonamed only with the break in the beginnig of the switch. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 10/12] s/DSC/DCS/ DCS stands for DEVICE CONTROL STRING

2014-04-25 Thread Roberto E. Vargas Caballero
- case 'P': /* DSC -- Device Control String */ + case 'P': /* DCS -- Device Control String */ I begin to think that you have a very good eyes, because we didn't realise this stupid typo. Thanks!!! -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 11/12] Fix for multibyte characters in techo.

2014-04-25 Thread Roberto E. Vargas Caballero
Applied to, thanks!!! -- Roberto E. Vargas Caballero

Re: [dev] [st patch queue 12/12] Do not eat ESC character if control string is not properly terminated.

2014-04-25 Thread Roberto E. Vargas Caballero
, control sequence, or device control string in progress. So I understand CAN should also cancel the sequence. I am going to apply your patch, but I am going to write a patch serie for the rest of cases. Regards, [1] http://www.vt100.net/docs/vt510-rm/chapter4 -- Roberto E

[dev] [st][PATCH] Cancel DCS with SUB, CAN, ESC or any CC1 code

2014-04-26 Thread Roberto E. Vargas Caballero
From http://www.vt100.net/docs/vt510-rm/chapter4: *The VT510 ignores all following characters until it receives a SUB, ST, or any other C1 control character. So OSC, PM and APC sequence ends with a SUB (it cancels the sequence and show a question mark as error), ST or any

[dev] [st][PATCH v2] Cancel DCS with SUB, CAN, ESC or any CC1 code

2014-04-26 Thread Roberto E. Vargas Caballero
From http://www.vt100.net/docs/vt510-rm/chapter4: *The VT510 ignores all following characters until it receives a SUB, ST, or any other C1 control character. So OSC, PM and APC sequence ends with a SUB (it cancels the sequence and show a question mark as error), ST or any

Re: [dev] [PATCH] add break;s for last cases in switch statements

2014-04-27 Thread Roberto E. Vargas Caballero
, (uchar) ascii, isprint(ascii)? ascii:'.'); term.esc = 0; + break; } } /* -- 1.8.3.2 -- Roberto E. Vargas Caballero

[dev] [st][PATCH v3] Cancel DCS with SUB, CAN, ESC or any CC1 code

2014-04-27 Thread Roberto E. Vargas Caballero
From http://www.vt100.net/docs/vt510-rm/chapter4: *The VT510 ignores all following characters until it receives a SUB, ST, or any other C1 control character. So OSC, PM and APC sequence ends with a SUB (it cancels the sequence and show a question mark as error), ST or any

[dev] [st][PATCH 4/4] Simplify expressions in tputc()

2014-04-28 Thread Roberto E. Vargas Caballero
--- st.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/st.c b/st.c index 339d8a9..470a34e 100644 --- a/st.c +++ b/st.c @@ -2450,6 +2450,7 @@ tputc(char *c, int len) { bool control; long unicodep; int width; + Glyph *gp;

Re: [dev] [st PATCH 2/6] Use MODBIT in xseturgency.

2014-04-28 Thread Roberto E. Vargas Caballero
I'll apply it, thanks. -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH 3/6] Add missing function prototypes.

2014-04-28 Thread Roberto E. Vargas Caballero
I'll apply it, thanks. -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH 6/6] Remove one indentation level in getsel().

2014-04-28 Thread Roberto E. Vargas Caballero
I'll apply it, thanks. -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH] tresize return value is not used

2014-04-28 Thread Roberto E. Vargas Caballero
I think instead of removing the return value, we should check the value returned, and in case of not being possible the resize command then print a warning in stderr. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH] Simplify tputtab.

2014-04-28 Thread Roberto E. Vargas Caballero
it is implementation defined when side effects of expressions are applied, so x of !term.tabs[x] can be x before decrement, or x after decrement. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] utf broken after aa35bbd7a16c6c210a7574a8c45bbe939d5b2922

2014-04-28 Thread Roberto E. Vargas Caballero
that are in the range of C0 are wrong drawn. I will look also this problem. -- Roberto E. Vargas Caballero

Re: [dev] [st] utf broken after aa35bbd7a16c6c210a7574a8c45bbe939d5b2922

2014-04-28 Thread Roberto E. Vargas Caballero
with sequences. */ if(control) { - if (tcontrolcode(ascii)) + if (tcontrolcode(unicodep)) return; } else if(term.esc ESC_START) { if(term.esc ESC_CSI) { -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix techo handling of control and multibyte characters.

2014-04-28 Thread Roberto E. Vargas Caballero
{ term.c.state |= CURSOR_WRAPNEXT; } but you also can find: if(xwrite(cmdfd, s, n) == -1) die(write error on tty: %s\n, strerror(errno)); So, is it mandatory parenthesis in one line if? I don't know it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH] Simplify xunloadfonts.

2014-04-28 Thread Roberto E. Vargas Caballero
+ while(frclen 0) + XftFontClose(xw.dpy, frc[--frclen].font); I'll apply the patch. -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] Don't make bold text bright with default color

2014-04-28 Thread Roberto E. Vargas Caballero
repository). Sorry for delay, but I have too much reviewing job lately. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH] Do not save cursor in tresize.

2014-04-29 Thread Roberto E. Vargas Caballero
Applied, thanks -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Simplify selected().

2014-04-29 Thread Roberto E. Vargas Caballero
If you select rectangle, then y should be between first and last line and x should between first and last column. As nobody, except you, have answer, I have applied the patch. -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH] Simplify tdeftran.

2014-05-02 Thread Roberto E. Vargas Caballero
term.trantbl[term.icharset] = vcs[p - cs]; } I think it is a common implementation for this kind of problems. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Also clears ESC_START on interrupt characters during sequences.

2014-05-07 Thread Roberto E. Vargas Caballero
Otherwise, the rest of the input is interpreted as a new escape sequence. For the ESC character, ESC_START is re-set in tcontrolcode. Good catch, I'll apply it (and sorry for this error ;)). Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Set ESC_STR_END on a '\' character in a DCS.

2014-05-07 Thread Roberto E. Vargas Caballero
The strhandle() in the case '\\' below (line 2565) couldn’t be reached. I think this patch is incorrect, because '\\' doesn't end a string command. ESC \ ends it. Let me know if I am wrong. -- Roberto E. Vargas Caballero

Re: [dev] [st][PATCH v3] Cancel DCS with SUB, CAN, ESC or any CC1 code

2014-05-07 Thread Roberto E. Vargas Caballero
+ term.esc = ~(ESC_STR_END|ESC_STR); Shouldn’t these flags be cleared only on SUB, CAN, ST, C1s and \a ? You are right. There are some 'break' that should be a return. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Clear the full screen on reverse terminal mode change.

2014-05-09 Thread Roberto E. Vargas Caballero
), do you remember why you removed tfulldirt in 0dbf9c? -- Roberto E. Vargas Caballero

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-09 Thread Roberto E. Vargas Caballero
blow proccess. Regards, -- Roberto E. Vargas Caballero

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-09 Thread Roberto E. Vargas Caballero
Yes, and it says use at your own risk. Possibly because that update only fixed compilation problems on current platforms. It is also said in all the GNU programs, did you read the GPL? Regards, -- Roberto E. Vargas Caballero

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-09 Thread Roberto E. Vargas Caballero
Fine. Sorry. But i still doubt that implementation to be a reasonable choice: http://www.cs.princeton.edu/~bwk/btl.mirror/index.html I wanted to remark that your assertion about awk authors and awk is not true (you know, k of awk comes from Kernighan). Regards, -- Roberto E. Vargas

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-09 Thread Roberto E. Vargas Caballero
to avoid these bloated versions. From our point of view an implementation of awk with 6 lines is a really horrible implementation, and it is one of the next candidates for sbase. -- Roberto E. Vargas Caballero

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-09 Thread Roberto E. Vargas Caballero
plumber and plan9's awk for me i might chime in and help you. Yes, it is really useful for st for example. St can write selected areas to stdout using PrintScr, so using a plumber with it can be a really good idea. Did you test it? -- Roberto E. Vargas Caballero

Re: [dev] Alternative to OfflineImap

2014-05-10 Thread Roberto E. Vargas Caballero
fetchmail and procmail both the TX and RX sides are over an ipsec tunnel. I use this solution to. I like the approach of fetchmail, that inserts my pop3 and imap into the local mail system. -- Roberto E. Vargas Caballero

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-10 Thread Roberto E. Vargas Caballero
A recursive descent parser is probably sufficient. I have written a lot of recursive descent parsers (even one of C language), but I prefer yacc for mini languages. -- Roberto E. Vargas Caballero

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-10 Thread Roberto E. Vargas Caballero
. Probably my fault. Please share and enlighten us. It can be useful, for example, select the name a file in the terminal and launch an application that show you the content of the file, or you select an url and want to see it a web navigator. I think is the common usage of a plumber, no? -- Roberto E

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-10 Thread Roberto E. Vargas Caballero
away again. You never feel caged in your plumber setup? What am i missing? I'm sorry, but I don't understand your question or where you are missed. -- Roberto E. Vargas Caballero

Re: [dev] Re: [ANNOUNCE] req 1.0 - a gawk und dmenu powered plumberlike

2014-05-10 Thread Roberto E. Vargas Caballero
I'm answering you in private, because I don't want to generate more noise in the list. I have some problems reading your mail (I think we have some understanding problem, maybe my english is not good enough). I'm a asshole, I didn't remove the CC line. Sorry people. -- Roberto E. Vargas

Re: [dev] [st][patch] Allow mouse selection override using ShiftMask

2014-05-12 Thread Roberto E. Vargas Caballero
to duplicate this functionality in all the programs. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st][patch] Allow mouse selection override using ShiftMask

2014-05-13 Thread Roberto E. Vargas Caballero
, but it is the only thing we can do if we want multisession in terminals. -- Roberto E. Vargas Caballero

Re: [dev] [st][patch] Allow mouse selection override using ShiftMask

2014-05-14 Thread Roberto E. Vargas Caballero
interesting point. -- Roberto E. Vargas Caballero

Re: [dev] [st] Blank lines not preserved

2014-05-21 Thread Roberto E. Vargas Caballero
Is this a bug or deliberate design decision? A bug, presumably. Yes, I agree. The copy part could be improved a lot, because we have some problems with it now (for example the tab to space conversion is ugly). -- Roberto E. Vargas Caballero

Re: [dev] [st] Blank lines not preserved

2014-05-21 Thread Roberto E. Vargas Caballero
. Or better, try to find a solution to this problem that another suckless develepers would like to accept. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] Colors slightly different hue than in xterm

2014-05-21 Thread Roberto E. Vargas Caballero
it could be implemented. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] Blank lines not preserved

2014-05-22 Thread Roberto E. Vargas Caballero
systems I only use st, but I have to use another systems (some of them a bit legacy) where I use another terminals. -- Roberto E. Vargas Caballero

Re: [dev] [st] Backspace broken?

2014-05-25 Thread Roberto E. Vargas Caballero
it in the FAQ. Regards. [0] http://lists.suckless.org/dev/1404/20697.html -- Roberto E. Vargas Caballero

Re: [dev] [st PATCH] Simplify tdeftran.

2014-06-02 Thread Roberto E. Vargas Caballero
This patch (and anothers from nonamed) is waiting a reply from nonamed. If in the next days there is not a reply I will apply the modifications that I considerer better. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-06-02 Thread Roberto E. Vargas Caballero
please notice me about it. Thanks, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Make selection consistent over line breaks.

2014-06-03 Thread Roberto E. Vargas Caballero
This patch makes sense to me, so I'll apply it unless someone has a problem with it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix rectangular selection.

2014-06-03 Thread Roberto E. Vargas Caballero
This patch conflicts with your previous patch, so I think there is some kind of error here, isn't it? Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Make selection consistent over line breaks.

2014-06-03 Thread Roberto E. Vargas Caballero
it. Thanks. -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] [ubase] Simplify login

2014-06-04 Thread Roberto E. Vargas Caballero
in another part of the system. -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] [ubase] Simplify login

2014-06-04 Thread Roberto E. Vargas Caballero
be applied today (there is also a technical paper, but the novel is really good and less boring ;)). Regards, -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] [ubase] Simplify login

2014-06-04 Thread Roberto E. Vargas Caballero
[1], which explains how some guys defeated apache.org server long, long time ago. Very good. Regards, [1] http://archives.neohapsis.com/archives/php/2000-05/att-0030/51-how_defaced_apache_org.txt -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix rectangular selection.

2014-06-04 Thread Roberto E. Vargas Caballero
Yeah, I made this so that it apply cleanly on the head but forgot to rebase it on my other patch. Here is the fixed version, sorry! Applied, thanks! -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Use worddelimiters for word selection over wrapped lines.

2014-06-04 Thread Roberto E. Vargas Caballero
+ !strchr(worddelimiters, term.line[*y+1][0].c[0])) { The same here. Maybe the use of to allow sequential code in a 'if' is not a good idea, and maybe some refactoring could be done here to avoid so long lines and the ugly sequential . -- Roberto E. Vargas

Re: [dev] [PATCH] Fixed copying empty lines inside selection.

2014-06-05 Thread Roberto E. Vargas Caballero
The code was assuming that empty lines have implicit wrap-around attribute. Was this issue considered a bug after all? Yes, and the patch was applied in 2411308bd. Regards. -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Refactor selsnap SNAP_WORD.

2014-06-05 Thread Roberto E. Vargas Caballero
:01 2014 +0200 Refactor selsnap SNAP_WORD. Refactor the SNAP_WORD part in selsnap, and fix a bug that caused the word delimiters to be ignored if it was at the very beginning or end of a wrapped line. Signed-off-by: Roberto E. Vargas Caballero k...@shike2.com diff

Re: [dev] [st] latest git fails to compile on openbsd

2014-06-06 Thread Roberto E. Vargas Caballero
: error: redefinition of typedef 'Colormap' /usr/X11R6/include/X11/X.h:104: error: previous declaration of 'Colormap' was here I had the same problem. I have just removed the typedef. Yeah, the same here. I am going to apply the patch of FRIGN. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Refactor selsnap SNAP_WORD.

2014-06-06 Thread Roberto E. Vargas Caballero
Yeah, you’re right, yours is definitely better, I’m totally fine with it! Applied! -- Roberto E. Vargas Caballero

Re: [dev] [PATCH][st] Refactor the innermost loop of the xdraws function

2014-06-07 Thread Roberto E. Vargas Caballero
totally agree with you. Christoph, are you going to apply the revised version of the patch? Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st][PATCH] FAQ fix typo and escape code for smkx

2014-06-11 Thread Roberto E. Vargas Caballero
This fixes 2 small typos in the FAQ. Applied, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

2014-06-21 Thread Roberto E. Vargas Caballero
? Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] update size hints on zoom

2014-06-21 Thread Roberto E. Vargas Caballero
On font zooming (i.e. xzoom()), window size hints are not updated. This patch does that. Applied, thanks! -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix typo in config.def.h

2014-06-21 Thread Roberto E. Vargas Caballero
While you’re at it, line 140: - * Be careful with the order of the definitons because st searchs in + * Be careful with the order of the definitions because st searches in I will apply the first patch with this addition. -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

2014-06-24 Thread Roberto E. Vargas Caballero
, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

2014-06-24 Thread Roberto E. Vargas Caballero
of the commit was Eric Pruitt, so if he send again the patch with this version of CEIL I will commit it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

2014-06-24 Thread Roberto E. Vargas Caballero
CEIL(x) ((int)(x) + ((x) 0 ((x) - (int)(x)) FLT_EPSILON)) This solution begins to be too much complex. In this case I begin to agree with Martti, and I think the best solution is to use ceil. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

2014-06-24 Thread Roberto E. Vargas Caballero
work for solving our stupid code. Regards, -- Roberto E. Vargas Caballero

Re: [dev] Fwd: st patches for more attrs

2014-06-24 Thread Roberto E. Vargas Caballero
, -- Roberto E. Vargas Caballero

Re: [dev] Fwd: st patches for more attrs

2014-06-24 Thread Roberto E. Vargas Caballero
words or for getting bold characters. Regards, -- Roberto E. Vargas Caballero

Re: [dev] Fwd: st patches for more attrs

2014-06-24 Thread Roberto E. Vargas Caballero
if it does with this patch, but, well, it's at least a conversation piece. I totally agree with you. The main loop is one of the aspect of st that need more work. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Use monotonic clock to prevent timing issues

2014-06-24 Thread Roberto E. Vargas Caballero
This is not good practice[0], given gettimeofday is inaccurate for this matter (take time-jumps for instance). POSIX.1-2008 even marks it as obsolete! I agree with you and I like the patch. If nobody have problems with it I will apply it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] Fwd: st patches for more attrs

2014-06-24 Thread Roberto E. Vargas Caballero
of another terminal, so I am not sure if it is a good idea to have two different blinking speeds or to have only one. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

2014-06-25 Thread Roberto E. Vargas Caballero
complaint about use ceilf I will apply my proposal. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] Reorder-and-extend-glyph-attributes

2014-06-25 Thread Roberto E. Vargas Caballero
I will apply this patch. Even if we don't implement at the end any difference between fast and slow blinking, I think is a good idea at least have different bits for them. The same criteria apply to faint, struck and invisible bits. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] Render invisible attribute

2014-06-25 Thread Roberto E. Vargas Caballero
The implementation is far simple, so I think it is a good idea apply this patch. Are you sure that is not there any terminfo capability related to this feature? I am not sure, but I think there is one. -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] Render struck-out attribute

2014-06-25 Thread Roberto E. Vargas Caballero
, so forget all my previous comments about struck. I like the idea and I will apply the patch (as it is common I'll wait some days to allow people complaint if they disagree with the patch) -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] Render faint attribute

2014-06-25 Thread Roberto E. Vargas Caballero
of the code (colors), so I think he should take the decision about it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] Move default rows, cols to config.def.h

2014-06-25 Thread Roberto E. Vargas Caballero
that if you use a symbolic name (for example default_cols or default_rows), because they are values that directly indicate me they are related to the default number of columns and rows. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [PATCH] Refactor the mainloop

2014-06-25 Thread Roberto E. Vargas Caballero
underscore for names (I am not an maniatic about it, but there is a style police that catch all the fails!). Regards, -- Roberto E. Vargas Caballero

[dev] [st][dev 2/4] Add 8 bit version of NEL

2014-06-25 Thread Roberto E. Vargas Caballero
NEL version for 7 bits environments already was implemented in st. This patch adds the 8 bit version of it. --- st.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index 4813524..85e1e0f 100644 --- a/st.c +++ b/st.c @@ -2412,7 +2412,9 @@ tcontrolcode(uchar

[dev] [st][dev 4/4] Add 8 bit version of DCS, APC, PM, OSC

2014-06-25 Thread Roberto E. Vargas Caballero
DCS, APC, PM, OSC version for 7 bits environments already was implemented in st. This patch adds the 8 bit version of it. --- st.c | 39 --- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/st.c b/st.c index e4fab61..982f0f6 100644 --- a/st.c +++

[dev] [st][dev 1/4] Add 8 bit version of DECID

2014-06-25 Thread Roberto E. Vargas Caballero
DECID version for 7 bits environments already was implemented in st. This patch adds the 8 bit version of it. --- st.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index f8f262a..4813524 100644 --- a/st.c +++ b/st.c @@ -2419,7 +2419,9 @@ tcontrolcode(uchar

<    1   2   3   4   5   6   7   8   >