[dev] [st] [PATCH 1/3] Add NUL character dealing

2012-09-13 Thread Roberto E. Vargas Caballero
NUL character is usually used as padding (basically for timming purpouses), and it should be ignorted. Some old telnet servers send it together each character. It is also used in some terminfo entries (for example in xterm terminfo entry). --- st.c |2 ++ 1 file changed, 2 insertions(+)

[dev] [st] [PATCH 2/3] Restore default signal behaviour

2012-09-13 Thread Roberto E. Vargas Caballero
Signal handlers are inherited from parent process, so we can not be sure which it is the handler our shell process has. This can cause some problems with some window managers (for example with some wmii versions). --- st.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/st.c b/st.c

[dev] [st] [PATCH 3/3] Move geometry initialization to xinit()

2012-09-13 Thread Roberto E. Vargas Caballero
xinit() is the function which performs all the X Windows initilization, so it can be desired doing the geometry parsing into that function, and let the argv loop of main as simple like other parameter cases. --- st.c | 53 +++-- 1 file changed, 27