[dev] [st] new patches

2013-02-23 Thread Christoph Lohmann
Greetings comrades, due to the patch flood of the last days for st is here an e‐mail to tell all those who sent patches that I integrated most of them. Due to some patches depending on eachother and some changing different things did I merge most of them by hand. Changes: * rectangular

[dev] [st] New patches

2012-10-06 Thread Roberto E. Vargas Caballero
Hello, This is a new serie of patches for st related to control codes. In the case of 0003-Add-SI-and-SO-control-codes.patch code does the same that linux virtual terminal and my real vt520, but xterm and uxterm have other behaviour, so if someone could give some aditional information abou

Re: [dev] [st] New patches

2012-09-16 Thread Roberto E. Vargas Caballero
> As said on IRC: I really like the convenience of > > st -f - | cat -v > > Doing it manually over a fifo is tiresome when I want to do fast debug??? > ging. Well, you can use a named pipe and script -f, cat -v. But I think this is too much complex, and the cost of -f option is minimum and

Re: [dev] [st] New patches

2012-09-16 Thread Christoph Lohmann
Hello. On Sun, 16 Sep 2012 20:45:13 +0200 "Roberto E. Vargas Caballero" wrote: > > > > The ???f switch allows easy recording of st sessions and so is useful > > > > to > > > > the users. > > Thinking a bit about it, it is true that you can get the session using > 'script -f', and it is not n

Re: [dev] [st] New patches

2012-09-16 Thread Roberto E. Vargas Caballero
> > > The ???f switch allows easy recording of st sessions and so is useful to > > > the users. Thinking a bit about it, it is true that you can get the session using 'script -f', and it is not necessary insert this feature inside of st.

Re: [dev] [st] New patches

2012-09-16 Thread Christoph Lohmann
Hello. On Sun, 16 Sep 2012 19:08:01 +0200 Nick wrote: > Quoth Christoph Lohmann: > > On Sun, 16 Sep 2012 17:18:07 +0200 Nick > > wrote: > > > Quoth Christoph Lohmann: > > > > The ‐f switch allows easy recording of st sessions and so is useful to > > > > the users. > > > > > > It would be a u

Re: [dev] [st] New patches

2012-09-16 Thread Nick
Quoth Christoph Lohmann: > On Sun, 16 Sep 2012 17:18:07 +0200 Nick > wrote: > > Quoth Christoph Lohmann: > > > The ‐f switch allows easy recording of st sessions and so is useful to > > > the users. > > > > It would be a useful feature for me, acting as a kind of easier to > > deal with scrol

Re: [dev] [st] New patches

2012-09-16 Thread Christoph Lohmann
Hello. On Sun, 16 Sep 2012 17:18:07 +0200 Nick wrote: > Quoth Christoph Lohmann: > > The ‐f switch allows easy recording of st sessions and so is useful to > > the users. > > It would be a useful feature for me, acting as a kind of easier to > deal with scrollback thing, for when there's a go

Re: [dev] [st] New patches

2012-09-16 Thread Nick
Quoth Christoph Lohmann: > The ‐f switch allows easy recording of st sessions and so is useful to > the users. It would be a useful feature for me, acting as a kind of easier to deal with scrollback thing, for when there's a good deal of text that flew by, that I need to read, or copy elsewher

Re: [dev] [st] New patches

2012-09-16 Thread Christoph Lohmann
Hello. On Sun, 16 Sep 2012 13:34:18 +0200 Aurélien Aptel wrote: > On Sun, Sep 16, 2012 at 12:38 PM, Roberto E. Vargas Caballero > wrote: > > Main use of this feature (actually) is only helping to debug. When you are > > debugging escape sequences is very useful have the ascii sequence that some

Re: [dev] [st] New patches

2012-09-16 Thread Roberto E. Vargas Caballero
> If the only use is to debug it shouldn't be exposed to users and it's I only implemented a goal of the project (I don't know who insert that goal to) that was very useful for me. > doesn't need to be fast. Besides there's already a dump() function you > can modify/use. > There is also this grea

Re: [dev] [st] New patches

2012-09-16 Thread Aurélien Aptel
On Sun, Sep 16, 2012 at 12:38 PM, Roberto E. Vargas Caballero wrote: > Main use of this feature (actually) is only helping to debug. When you are > debugging escape sequences is very useful have the ascii sequence that some > program writes to the terminal. I don't know if you can get it with expe

Re: [dev] [st] New patches

2012-09-16 Thread Roberto E. Vargas Caballero
On Sun, Sep 16, 2012 at 12:33:34PM +0200, Aurélien Aptel wrote: > 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.

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 wrote: >

Re: [dev] [st] New patches

2012-09-12 Thread Roberto E. Vargas Caballero
I agree with you that it is a bit stupid, and maybe we should use directly write. Look these new patches. > 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. >From 5fada178da8db9d73170d30bb74106c

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] [st] New patches

2012-09-12 Thread Roberto E. Vargas Caballero
Already fixed the problem, > > Hi, > > > Don't try apply theses patches, they introduce a big failure. I am debugging > them now (again ...). > > > Best regards, >From 39992c36c5306d8907365c8e62ea070982676afc Mon Sep 17 00:00:00 2001 From: "Roberto E. Vargas Caballero" Date: Fri, 7 Sep 2012 12

Re: [dev] [st] New patches

2012-09-12 Thread Roberto E. Vargas Caballero
Hi, Don't try apply theses patches, they introduce a big failure. I am debugging them now (again ...). Best regards,

[dev] [st] New patches

2012-09-12 Thread Roberto E. Vargas Caballero
>From 39992c36c5306d8907365c8e62ea070982676afc Mon Sep 17 00:00:00 2001 From: "Roberto E. Vargas Caballero" Date: Fri, 7 Sep 2012 12:18:26 +0200 Subject: [PATCH] Add xmalloc and xrealloc wrappers If malloc or realloc fail they return NULL. Theorically this condition should be tested in the code,

Re: [dev] [st] New patches

2012-09-04 Thread Roberto E. Vargas Caballero
Sorry, but I forgot the patches ... On Tue, Sep 04, 2012 at 07:34:29PM +0200, Roberto E. Vargas Caballero wrote: > Hello, > > Two new patches for st: > > 0001-Add-newline-to-stderr-message.patch > - Fix a typo error in previous patches > > 0001-Check-alternative-screen-before-drawi

[dev] [st] New patches

2012-09-04 Thread Roberto E. Vargas Caballero
Hello, Two new patches for st: 0001-Add-newline-to-stderr-message.patch - Fix a typo error in previous patches 0001-Check-alternative-screen-before-drawing-box-selectio.patch - Don't paint selection box in the wrong screen. Best regards,