7db9bbf7eeThe style inquisition was here again.
Christoph Lohmann
2012-11-13 20:13:39 +0100
7474a2fc37The style inquisition was here again.
Christoph Lohmann
2012-11-13 20:13:39 +0100
48b0f22c46Add missed key definitions This patch adds the keys for the keypad (in both modes, application mode or ansi mode) and function keys. It uses the same convention than xterm and instead of using the XK_Fxx values it generates them using F1-F12 and modifiers. For example:
Roberto E. Vargas Caballero
2012-11-13 20:05:02 +0100
1415d79028Add control and meta combinations for arrow keys Since there isn't any terminfo capability for control and meta modifiers for arrows keys it is necessary use the same that almost terminal emulators use, because there are a lot of programs which have these codes hardcoded.
Roberto E. Vargas Caballero
2012-11-13 20:04:54 +0100
44597b359eAdd control and meta combinations for arrow keys
Roberto E. Vargas Caballero
2012-11-13 20:04:54 +0100
4611d5dad6Fix arrow keys terminfo capabilities Usually the arrow keys generate the ANSI sequence which terminal will understand like a movement, so it is not necessary any dealing for them, the program can not know if the sequence is generate for a echo key or directly from the program. If you need really know if the key was pressed then you need activate the keypad mode where the keys will generate a special code for each keypad key.
Roberto E. Vargas Caballero
2012-11-13 20:04:50 +0100
6c90a490fbRemove hardcoded keys form kpress Some keys were in the Key array while others were hardcoded in kpress().This cause some problems with some keys which can generate more of one string based in the configuration of the terminal. --- config.def.h | 70 ++++++++++++++++++++++++++++++++++++++++----------------- st.c | 71 +++++++++++++++++++++++++--------------------------------- 2 files changed, 79 insertions(+), 62 deletions(-)
Roberto E. Vargas Caballero
2012-11-13 20:04:45 +0100
ea782bfc5dRemove hardcoded keys form kpress
Roberto E. Vargas Caballero
2012-11-13 20:04:45 +0100
6c84ff7f73Move Shift + Insert to shortcut Shift + Insert is used like a hot key for paste the selection, so it is more logical move it to shortcut array instead of having special code for it. --- config.def.h | 1 + st.c | 13 +++---------- 2 files changed, 4 insertions(+), 10 deletions(-)
Roberto E. Vargas Caballero
2012-11-13 20:04:39 +0100
93f31166bfMove Shift + Insert to shortcut
Roberto E. Vargas Caballero
2012-11-13 20:04:39 +0100
a6647636b6Fix keypad mode and cursor mode Keypad mode is used for detecting when keys in the auxiliary keypad are pressed, while cursor mode is used for detecting when a cursor is pressed, but they are different modes.
Roberto E. Vargas Caballero
2012-11-13 20:04:34 +0100
69ee3ba3a7Fix keypad mode and cursor mode
Roberto E. Vargas Caballero
2012-11-13 20:04:34 +0100
9b38010a6cAdd SRM sequence This sequence enable/disable the local echo. --- st.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 56 insertions(+), 20 deletions(-)
Roberto E. Vargas Caballero
2012-11-13 20:04:26 +0100
73177ba366Add SRM sequence
Roberto E. Vargas Caballero
2012-11-13 20:04:26 +0100
09d688616fGc is not used anymore.
Christoph Lohmann
2012-11-11 19:46:34 +0100
ace789a79fGc is not used anymore.
Christoph Lohmann
2012-11-11 19:46:34 +0100
5a54d3af73Removing some xft naming cruft.
Christoph Lohmann
2012-11-11 19:38:41 +0100
c4a9ccec19Removing some xft naming cruft.
Christoph Lohmann
2012-11-11 19:38:41 +0100
266a64c6c3Moving the alt declaration to the beginning of the function.
Christoph Lohmann
2012-11-08 17:22:48 +0100
5d5a7c627aMoving the alt declaration to the beginning of the function.
Christoph Lohmann
2012-11-08 17:22:48 +0100
6c9b9f03cdMove unsupported sequences to ignored. These sequences will be never implemented and in this moment they are generating a lot of noise. --- st.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
Roberto E. Vargas Caballero
2012-11-08 17:22:04 +0100
8665905216Move unsupported sequences to ignored.
Roberto E. Vargas Caballero
2012-11-08 17:22:04 +0100
66d559675aIgnore DECARM sequence DECARM modify the auto repeat settings in the keyboard, and since we can not modify this setting in the Xserver the best solution is only ignore it. --- st.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Roberto E. Vargas Caballero
2012-11-08 17:21:41 +0100
27468403ccIgnore DECARM sequence
Roberto E. Vargas Caballero
2012-11-08 17:21:41 +0100
39cd391485Fix VPR sequence VPR stands for Move cursor down a number of rows, and the code was moving the cursor up instead of moving it down. --- st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Roberto E. Vargas Caballero
2012-11-08 17:21:24 +0100
d5b80e05e8Fix VPR sequence
Roberto E. Vargas Caballero
2012-11-08 17:21:24 +0100
53d0b48f6aAdd DECOM sequence DECOM sequence allows to the user defines a new home position. The home position is used as base for all the movement commands except HVP and VPA. It is important notice than DECSLM moves cursor to absolute position 0,0. --- st.c | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-)
Roberto E. Vargas Caballero
2012-11-08 17:21:10 +0100
5260a9ea22Add DECOM sequence
Roberto E. Vargas Caballero
2012-11-08 17:21:10 +0100
b67b78efacSave cursor position in terminal reset After terminal reset saved terminal position is reset to 0, allowing know where cursor will go in next restore cursor operation. --- st.c | 2 ++ 1 file changed, 2 insertions(+)
Roberto E. Vargas Caballero
2012-11-08 17:20:15 +0100
ee3e0a9fd0Save cursor position in terminal reset
Roberto E. Vargas Caballero
2012-11-08 17:20:15 +0100
4e52325e6dClarify some or exclusive expressions Since relational expresions are always evaluated to 0 or 1, we can use bitwise xor operator instead of using more complex boolean expressions. --- st.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
Roberto E. Vargas Caballero
2012-11-08 17:17:26 +0100
ba9d0365acClarify some or exclusive expressions
Roberto E. Vargas Caballero
2012-11-08 17:17:26 +0100
986c84e77eFix bug restoring cursor position Sequences like DECSC, DECRC, ESC [?1047l or ESC [?1047h save and restore cursor attributes, than taken from vt100 manual are:
Roberto E. Vargas Caballero
2012-11-08 17:15:26 +0100
950ff21e17Fix bug restoring cursor position
Roberto E. Vargas Caballero
2012-11-08 17:15:26 +0100
835ef67498Changing the license to MIT/X.
Christoph Lohmann
2012-11-05 04:02:20 +0100
9df1e56142Changing the license to MIT/X.
Christoph Lohmann
2012-11-05 04:02:20 +0100
7fe4472c50Fixing meta+return. Thanks Szabolcs Nagy!
Christoph Lohmann
2012-11-04 00:04:56 +0100
0fbe1559c8Fixing meta+return. Thanks Szabolcs Nagy!
Christoph Lohmann
2012-11-04 00:04:56 +0100
7c4c98476bRemoving the debugging for the last fix too.
Christoph Lohmann
2012-11-03 14:05:45 +0100
86261187abRemoving the debugging for the last fix too.
Christoph Lohmann
2012-11-03 14:05:45 +0100
2931b75fc3Fixing a resize bug, if a smaller amount than the lineheight is resized. Thanks c00kiemon5ter!
Christoph Lohmann
2012-11-03 14:05:15 +0100
9888c5064bFixing a resize bug, if a smaller amount than the lineheight is resized.
Christoph Lohmann
2012-11-03 14:05:15 +0100
a624f3368bFixing bold fonts in reverse mode.
Christoph Lohmann
2012-11-03 13:43:20 +0100
f8db65439aFixing bold fonts in reverse mode.
Christoph Lohmann
2012-11-03 13:43:20 +0100
ff3bc8cf31Now italic and bold works.
Christoph Lohmann
2012-11-03 08:35:32 +0100
76a8e5f72bNow italic and bold works.
Christoph Lohmann
2012-11-03 08:35:32 +0100
80150c86afFixing an out-of-bound bug in the selection code. Thanks Szabolczs Nagy!
Christoph Lohmann
2012-11-03 03:24:22 +0100
abe85c0e99Fixing an out-of-bound bug in the selection code. Thanks Szabolczs Nagy!
Christoph Lohmann
2012-11-03 03:24:22 +0100
aa3c6dbf0aFixing the italic-bold font check. Thanks nsz.
Christoph Lohmann
2012-11-02 23:19:56 +0100
091ae143ceFixing the italic-bold font check. Thanks nsz.
Christoph Lohmann
2012-11-02 23:19:56 +0100
f4f2b1c315Added tag 0.3 for changeset 9d54ce4daf34
Christoph Lohmann
2012-11-02 20:08:51 +0100
cd90969cabAdded tag 0.3 for changeset 9d54ce4daf34
Christoph Lohmann
2012-11-02 20:08:51 +0100
df62d3dab80.3 release.
0.3
Christoph Lohmann
2012-11-02 20:08:27 +0100
b0ed3e28970.3 release.
Christoph Lohmann
2012-11-02 20:08:27 +0100
d92ad64017Make it possible to use the corefont font description too. It is not very useful, but easy to implement.
Christoph Lohmann
2012-11-02 20:07:11 +0100
c631e9bb91Make it possible to use the corefont font description too. It is not very
Christoph Lohmann
2012-11-02 20:07:11 +0100
dcf0955466Moving to the dwm config.h variable usage.
Christoph Lohmann
2012-11-02 19:56:02 +0100
393825f9f8Moving to the dwm config.h variable usage.
Christoph Lohmann
2012-11-02 19:56:02 +0100
48389be574Adding a FAQ to reference utmp(1).
Christoph Lohmann
2012-10-31 20:36:32 +0100
e5d7c5a69eAdding a FAQ to reference utmp(1).
Christoph Lohmann
2012-10-31 20:36:32 +0100
d84e2978c2Cleaning up the TODO file.
Christoph Lohmann
2012-10-31 20:35:07 +0100
784765ca35Cleaning up the TODO file.
Christoph Lohmann
2012-10-31 20:35:07 +0100
cb9d92ce51Removing the now senseless comment in config.def.h. Thanks to bnwe!
Christoph Lohmann
2012-10-28 14:13:39 +0100
1d378227c0Removing the now senseless comment in config.def.h. Thanks to bnwe!
Christoph Lohmann
2012-10-28 14:13:39 +0100
32173a11b4Applying the patch of the little girl <yui@blekksprut.net> to make cjk input possible. Thanks!
Christoph Lohmann
2012-10-28 13:37:11 +0100
c5dd7fb377Applying the patch of the little girl <yui@blekksprut.net> to make cjk input
Christoph Lohmann
2012-10-28 13:37:11 +0100
7168d85f97Applying the tab expansion patch from koga.
Christoph Lohmann
2012-10-28 13:35:00 +0100
b56a0da283Applying the tab expansion patch from koga.
Christoph Lohmann
2012-10-28 13:35:00 +0100
53eda6d525Adding a more flexible fontstring handling, shortcuts and a zoom function.
Christoph Lohmann
2012-10-28 13:25:53 +0100
71b09ec4f1Adding a more flexible fontstring handling, shortcuts and a zoom function.
Christoph Lohmann
2012-10-28 13:25:53 +0100
91804d7227Applying the patch of Roberto Caballero to set WINDOWID and all the pwuid() variables. Thanks! xinit() and ttynew() had to be switched in their call-appearance. Otherwise xw.win is not set.
Christoph Lohmann
2012-10-28 06:54:08 +0100
6d4e525ed9Applying the patch of Roberto Caballero to set WINDOWID and all the pwuid()
Christoph Lohmann
2012-10-28 06:54:08 +0100
4abecf9ce4Applying the patch of Rafa Garcia Gallega <rafael.garcia.gallego@gmail.com> to not emulate the vt100 behaviour of selecting all whitespaces. Thanks!
Christoph Lohmann
2012-10-28 06:32:54 +0100
35421371caApplying the patch of Rafa Garcia Gallega <rafael.garcia.gallego@gmail.com> to
Christoph Lohmann
2012-10-28 06:32:54 +0100
5de1468554Add error control to iofile write can write less bytes than we request, so it is necessary check the return value, in case of error print a message and don't continnue writing in the file. --- st.c | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-)
Roberto E. Vargas Caballero
2012-10-28 06:27:42 +0100
ee3fbeb6c8Add error control to iofile
Roberto E. Vargas Caballero
2012-10-28 06:27:42 +0100
ab40392d08Well, I was confused. Damn state exams. Instead of discussing this shit I should really learn opthalmology instead. :O
Christoph Lohmann
2012-10-09 19:40:37 +0200
2e38ab7afdWell, I was confused. Damn state exams. Instead of discussing this shit I
Christoph Lohmann
2012-10-09 19:40:37 +0200
fa952e1901If there is really someone without SHELL set, help him/her.
Christoph Lohmann
2012-10-09 19:33:26 +0200
eb6713acf1If there is really someone without SHELL set, help him/her.
Christoph Lohmann
2012-10-09 19:33:26 +0200
5967a7c0dbAdd DEC alignment test This sequence was used by DEC personal in to for verifying the screen adjust of terminals. It is the unique test sequence implemented by all the emulators, and I think it is because they want be conforms with vttest which uses this sequence in some tests. --- st.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-)
Roberto E. Vargas Caballero
2012-10-07 11:06:17 +0200
9e813947cfAdd DEC alignment test
Roberto E. Vargas Caballero
2012-10-07 11:06:17 +0200
d627351429Avoid initialization of vt100_0 in each call to tsetchar If vt100_0 is a automatic variable then it is initializated in each call to tsetchar, but if the variable is static it is initializated only in compile time. --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Roberto E. Vargas Caballero
2012-10-07 11:06:08 +0200
b7a7f171efAvoid initialization of vt100_0 in each call to tsetchar
Roberto E. Vargas Caballero
2012-10-07 11:06:08 +0200
976b34d1fcFix Identification sequences Do not send NUL character in the identification (use (sizeof(VT102ID) - 1), and finish the sequence once you execute it. --- st.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Roberto E. Vargas Caballero
2012-10-07 11:06:00 +0200
25f47cb83aFix Identification sequences
Roberto E. Vargas Caballero
2012-10-07 11:06:00 +0200
f0ee36878cAdd DA and DECID sequences These sequences are used by the host in order to can detect which kind of terminal is connected. St will answer like a vt102 terminal with this patch. --- st.c | 9 +++++++++ 1 file changed, 9 insertions(+)
Roberto E. Vargas Caballero
2012-10-06 21:19:56 +0200
ffeeb678c5Add DA and DECID sequences
Roberto E. Vargas Caballero
2012-10-06 21:19:56 +0200
a90662fdcfFixing a typo.
Christoph Lohmann
2012-10-06 21:02:25 +0200
bffa6e5cc6Fixing a typo.
Christoph Lohmann
2012-10-06 21:02:25 +0200
852db9e9b0Fixing a off-by-one error in the new border clearing code.
Christoph Lohmann
2012-10-06 20:52:22 +0200
b16b5d77d3Fixing a off-by-one error in the new border clearing code.
Christoph Lohmann
2012-10-06 20:52:22 +0200
a9092bc48bPrint control codes only in graphic mode Non handled codes must be ignored, except in graphic mode. Also STR sequences have higher priority than control codes, so they must be handled before of them. --- st.c | 160 ++++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 87 insertions(+), 73 deletions(-)
Roberto E. Vargas Caballero
2012-10-06 19:15:30 +0200
2bd0c23fa7Print control codes only in graphic mode
Roberto E. Vargas Caballero
2012-10-06 19:15:30 +0200
506b8ea0c6Add SI and SO control codes SI and SO allows change the G0 and G1 selection. This implementation is not full vt100 compatible, but it is complatible with linux virtual terminal implementation. For full vt100 compatibility we need remake a lot of stuff relate to the different charmaps. --- st.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Roberto E. Vargas Caballero
2012-10-06 19:13:36 +0200
034dc71fb8Add SI and SO control codes
Roberto E. Vargas Caballero
2012-10-06 19:13:36 +0200