[dev] [st] Add insert mode

2012-11-15 Thread Eckehard Berns
I added some code to make insert mode work in st. I don't know if I missed something, but It's Working For Me(tm). Patch attached. -- Eckehard Berns diff -r 19ef42df8e7d st.c --- a/st.c Wed Nov 14 06:37:24 2012 +0100 +++ b/st.c Thu Nov 15 15:19:52 2012 +0100 @@ -2100,6 +2100,10 @@

Re: [dev] [st] Add insert mode

2012-11-15 Thread Roberto E. Vargas Caballero
On Thu, Nov 15, 2012 at 03:25:52PM +0100, Eckehard Berns wrote: I added some code to make insert mode work in st. I don't know if I missed something, but It's Working For Me(tm). Patch attached. I had a patch already ready for sending to solve this issue, but you were faster ;). I put my code

Re: [dev] [st] Add insert mode

2012-11-15 Thread Christoph Lohmann
Greetings. On Thu, 15 Nov 2012 15:42:40 +0100 Eckehard Berns ecki-suckl...@ecki.to wrote: I added some code to make insert mode work in st. I don't know if I missed something, but It's Working For Me(tm). Patch attached. What are you using this insert mode for? Sincerely, Christoph Lohmann

Re: [dev] [st] Add insert mode

2012-11-15 Thread Roberto E. Vargas Caballero
What are you using this insert mode for? The sequence for this mode was in st from historical times (before I met it), it changes the st mode but does nothing. Maybe you should ask to Aurielien why he implemented the set/reset sequences but not the behaviour. Best regards,

Re: [dev] [st] Add insert mode

2012-11-15 Thread Eckehard Berns
On Thu, Nov 15, 2012 at 03:42:40PM +0100, Christoph Lohmann wrote: On Thu, 15 Nov 2012 15:42:40 +0100 Eckehard Berns ecki-suckl...@ecki.to wrote: I added some code to make insert mode work in st. I don't know if I missed something, but It's Working For Me(tm). Patch attached. What are

Re: [dev] [st] Add insert mode

2012-11-15 Thread Christoph Lohmann
Greetings. On Thu, 15 Nov 2012 16:21:01 +0100 Eckehard Berns ecki-suckl...@ecki.to wrote: On Thu, Nov 15, 2012 at 03:42:40PM +0100, Christoph Lohmann wrote: On Thu, 15 Nov 2012 15:42:40 +0100 Eckehard Berns ecki-suckl...@ecki.to wrote: I added some code to make insert mode work in st. I

Re: [dev] [st] Add insert mode

2012-11-15 Thread Roberto E. Vargas Caballero
Ok, that seems like a legit feature. Which applications you encountered are using this mode? Only nvi and vi? Theorically all good applications should use this mode, but in these days is not always true. For example bash repaint the full line each time you write a line, it is very funny when

Re: [dev] [st] Add insert mode

2012-11-15 Thread Eckehard Berns
On Thu, Nov 15, 2012 at 04:21:01PM +0100, Christoph Lohmann wrote: On Thu, 15 Nov 2012 16:21:01 +0100 Eckehard Berns ecki-suckl...@ecki.to wrote: On Thu, Nov 15, 2012 at 03:42:40PM +0100, Christoph Lohmann wrote: What are you using this insert mode for? I access some machines remotely