[dev] st features that'd be nice

2011-10-18 Thread Nick
I just read about terminator http://software.jessies.org/terminator/, and thought a couple of its features sounded worth stealing (both require scrollback to be implemented): * Logging - logs of terminal sessions can be saved. It only makes sense to do this on command, rather than automatically

Re: [dev] st features that'd be nice

2011-10-18 Thread pancake
On 10/18/11 12:01, Nick wrote: I just read about terminator http://software.jessies.org/terminator/, and thought a couple of its features sounded worth stealing (both require scrollback to be implemented): * Logging - logs of terminal sessions can be saved. It only makes sense to do this on

Re: [dev] st features that'd be nice

2011-10-18 Thread Nick
On Tue, Oct 18, 2011 at 12:11:55PM +0200, pancake wrote: On 10/18/11 12:01, Nick wrote: * Logging - logs of terminal sessions can be saved. It only makes sense to do this on command, rather than automatically (as terminator does). Once scrollback exists, this becomes pretty easy

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 pancake
On 10/18/11 12:17, Aurélien Aptel wrote: 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. and type rm -rf ~ ; after the patch is

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 features that'd be nice

2011-10-18 Thread Peter John Hartman
On Tue, Oct 18, 2011 at 11:01:07AM +0100, Nick wrote: I just read about terminator http://software.jessies.org/terminator/, and thought a couple of its features sounded worth stealing (both require scrollback to be implemented): * Logging - logs of terminal sessions can be saved. It only

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

2011-10-18 Thread Eckehard Berns
Can anyone please try it with his favourite modifed-arrow-key-using software with TERM=st and TERM=xterm? It looks like in joe st behaves exactly like xterm (which is: starting a selction as expected with ctrl, and inserting A, B, C and Ds with shift and alt). In Vim nothing really works

Re: [dev] st features that'd be nice

2011-10-18 Thread Stefan Mark
On 18.10.2011 13:15, Peter John Hartman wrote: Here's a feature request that should go in first: make st usable. For me, performance is the main issue. Drawing of 'mc' on higher resolutions (1600x1200 or 1920x1080) tooks about 10s (sometimes more) on a reasonable fast machine. Drawing 'top'

Re: [dev] st features that'd be nice

2011-10-18 Thread Manolo Martínez
On 10/18/11 at 03:13pm, Stefan Mark wrote: On 18.10.2011 13:15, Peter John Hartman wrote: Here's a feature request that should go in first: make st usable. For me, performance is the main issue. Drawing of 'mc' on higher resolutions (1600x1200 or 1920x1080) tooks about 10s (sometimes more)

Re: [dev] st features that'd be nice

2011-10-18 Thread Andrew Hills
On Tue, Oct 18, 2011 at 9:13 AM, Stefan Mark m...@unserver.de wrote: For me, performance is the main issue. Drawing of 'mc' on higher resolutions (1600x1200 or 1920x1080) tooks about 10s (sometimes more) on a reasonable fast machine. Drawing 'top' took a bit less, but not much. When doing so,

Re: [dev] st features that'd be nice

2011-10-18 Thread Suraj N. Kurapati
On Tue 18 Oct 2011 11:01:07 AM PDT, Nick wrote: * Find - search through scrollback (maybe using regex). I find this to be one of URxvt's killer features. Alt-S brings up an interactive regexp search of the scrollback buffer: urxvtperl(3). -- To understand a program you must become both the