Commit Graph

  • cb9d92ce51 Removing the now senseless comment in config.def.h. Thanks to bnwe! Christoph Lohmann 2012-10-28 14:13:39 +0100
  • 1d378227c0 Removing the now senseless comment in config.def.h. Thanks to bnwe! Christoph Lohmann 2012-10-28 14:13:39 +0100
  • 32173a11b4 Applying the patch of the little girl <yui@blekksprut.net> to make cjk input possible. Thanks! Christoph Lohmann 2012-10-28 13:37:11 +0100
  • c5dd7fb377 Applying the patch of the little girl <yui@blekksprut.net> to make cjk input Christoph Lohmann 2012-10-28 13:37:11 +0100
  • 7168d85f97 Applying the tab expansion patch from koga. Christoph Lohmann 2012-10-28 13:35:00 +0100
  • b56a0da283 Applying the tab expansion patch from koga. Christoph Lohmann 2012-10-28 13:35:00 +0100
  • 53eda6d525 Adding a more flexible fontstring handling, shortcuts and a zoom function. Christoph Lohmann 2012-10-28 13:25:53 +0100
  • 71b09ec4f1 Adding a more flexible fontstring handling, shortcuts and a zoom function. Christoph Lohmann 2012-10-28 13:25:53 +0100
  • 91804d7227 Applying 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
  • 6d4e525ed9 Applying the patch of Roberto Caballero to set WINDOWID and all the pwuid() Christoph Lohmann 2012-10-28 06:54:08 +0100
  • 4abecf9ce4 Applying 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
  • 35421371ca Applying the patch of Rafa Garcia Gallega <rafael.garcia.gallego@gmail.com> to Christoph Lohmann 2012-10-28 06:32:54 +0100
  • 5de1468554 Add 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
  • ee3fbeb6c8 Add error control to iofile Roberto E. Vargas Caballero 2012-10-28 06:27:42 +0100
  • ab40392d08 Well, 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
  • 2e38ab7afd Well, I was confused. Damn state exams. Instead of discussing this shit I Christoph Lohmann 2012-10-09 19:40:37 +0200
  • fa952e1901 If there is really someone without SHELL set, help him/her. Christoph Lohmann 2012-10-09 19:33:26 +0200
  • eb6713acf1 If there is really someone without SHELL set, help him/her. Christoph Lohmann 2012-10-09 19:33:26 +0200
  • 5967a7c0db Add 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
  • 9e813947cf Add DEC alignment test Roberto E. Vargas Caballero 2012-10-07 11:06:17 +0200
  • d627351429 Avoid 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
  • b7a7f171ef Avoid initialization of vt100_0 in each call to tsetchar Roberto E. Vargas Caballero 2012-10-07 11:06:08 +0200
  • 976b34d1fc Fix 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
  • 25f47cb83a Fix Identification sequences Roberto E. Vargas Caballero 2012-10-07 11:06:00 +0200
  • f0ee36878c Add 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
  • ffeeb678c5 Add DA and DECID sequences Roberto E. Vargas Caballero 2012-10-06 21:19:56 +0200
  • a90662fdcf Fixing a typo. Christoph Lohmann 2012-10-06 21:02:25 +0200
  • bffa6e5cc6 Fixing a typo. Christoph Lohmann 2012-10-06 21:02:25 +0200
  • 852db9e9b0 Fixing a off-by-one error in the new border clearing code. Christoph Lohmann 2012-10-06 20:52:22 +0200
  • b16b5d77d3 Fixing a off-by-one error in the new border clearing code. Christoph Lohmann 2012-10-06 20:52:22 +0200
  • a9092bc48b Print 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
  • 2bd0c23fa7 Print control codes only in graphic mode Roberto E. Vargas Caballero 2012-10-06 19:15:30 +0200
  • 506b8ea0c6 Add 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
  • 034dc71fb8 Add SI and SO control codes Roberto E. Vargas Caballero 2012-10-06 19:13:36 +0200
  • 3fce3392ac Add SUB and CAN control codes These control codes reset any escape sequence already initialised. --- st.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Roberto E. Vargas Caballero 2012-10-06 19:13:08 +0200
  • fbfa1f83eb Add SUB and CAN control codes Roberto E. Vargas Caballero 2012-10-06 19:13:08 +0200
  • 70aeaf7f2f Add documentation to control codes Add the documentation from the vt100 manual programmer: Roberto E. Vargas Caballero 2012-10-06 19:12:46 +0200
  • ac8f05c45a Add documentation to control codes Roberto E. Vargas Caballero 2012-10-06 19:12:46 +0200
  • ec9fe428b8 Forgot to remove the xclearborders() definition from the last commit. Christoph Lohmann 2012-10-06 13:45:14 +0200
  • 02f3b37a2d Forgot to remove the xclearborders() definition from the last commit. Christoph Lohmann 2012-10-06 13:45:14 +0200
  • 82437818c5 Removing the xclearborders() hack. St now cleans up the parts of the border, if something needs to be drawn close to it. Christoph Lohmann 2012-10-06 13:43:01 +0200
  • 0cc7ee5e73 Removing the xclearborders() hack. St now cleans up the parts of the border, Christoph Lohmann 2012-10-06 13:43:01 +0200
  • b86451bf74 The style inquisition was here. Yes, making it a unified style. The last infidels will be squashed too! Christoph Lohmann 2012-10-06 09:58:45 +0200
  • 4eddf19fdc The style inquisition was here. Yes, making it a unified style. The last Christoph Lohmann 2012-10-06 09:58:45 +0200
  • b9f239abe6 Adding the patch of David Dufberg Töttrup to implement WM_DELETE_WINDOW. Thank you! Christoph Lohmann 2012-10-05 22:59:08 +0200
  • 7efa4514d1 Adding the patch of David Dufberg Töttrup to implement WM_DELETE_WINDOW. Thank you! Christoph Lohmann 2012-10-05 22:59:08 +0200
  • 2549840ed7 Fixing the brightening on bold. For the 256 colors and greyscale I assumed a reasonable solution. Christoph Lohmann 2012-10-05 22:51:08 +0200
  • bf6cf05ba5 Fixing the brightening on bold. For the 256 colors and greyscale I assumed a Christoph Lohmann 2012-10-05 22:51:08 +0200
  • 0ddbb0c6cc Turning on antialias by default really makes it more unreadable. Maybe if once the majority has bigger screens, this can be turned on by default again. Thanks pancake, for the hint. Christoph Lohmann 2012-10-05 11:07:55 +0200
  • 5caa46cf57 Turning on antialias by default really makes it more unreadable. Maybe if once Christoph Lohmann 2012-10-05 11:07:55 +0200
  • c1ef12591b When the drawing behaviour was changed underline was not corrected. Thanks to Peter A. Shevtsov! Christoph Lohmann 2012-10-05 09:38:10 +0200
  • 0b489c4a6a When the drawing behaviour was changed underline was not corrected. Christoph Lohmann 2012-10-05 09:38:10 +0200
  • 639104946a This adds the fontcache dependency to try something out. Additionally the invert mode now works as expected. In the config.def.h autohint is set to false, so the fonts are drawn correctly, without any overlapping. Christoph Lohmann 2012-10-04 22:59:45 +0200
  • 2752018e27 This adds the fontcache dependency to try something out. Additionally the Christoph Lohmann 2012-10-04 22:59:45 +0200
  • 5ef7457266 Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the right choice. Christoph Lohmann 2012-10-02 12:48:55 +0200
  • 0d88f1ef75 Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the Christoph Lohmann 2012-10-02 12:48:55 +0200
  • b5982e284d Removing the now obsolete definitions from the config.def.h file. Christoph Lohmann 2012-09-30 20:23:45 +0200
  • af9e248f97 Removing the now obsolete definitions from the config.def.h file. Christoph Lohmann 2012-09-30 20:23:45 +0200
  • a07db5787a This changes -f to be the parameter for the font. Now -f is -o. The parameters were reordered according to the alphabet too. Christoph Lohmann 2012-09-30 20:23:10 +0200
  • 5dfd5df4fe This changes -f to be the parameter for the font. Now -f is -o. Christoph Lohmann 2012-09-30 20:23:10 +0200
  • 4497d2125c Remove the cruft of the user to have to define the different font styles. Christoph Lohmann 2012-09-30 20:10:58 +0200
  • 9cae1eb0de Remove the cruft of the user to have to define the different font styles. Christoph Lohmann 2012-09-30 20:10:58 +0200
  • e496602135 We need all the colors to be available, so die() on some not available. This is a new opportunity to see if X11 somewhen handled colors in a strange way. Christoph Lohmann 2012-09-29 11:23:34 +0200
  • ed5b8700a6 We need all the colors to be available, so die() on some not available. Christoph Lohmann 2012-09-29 11:23:34 +0200
  • 15cd4ff84a All xcolors are not Xft colors and the clearing of the borders has been optimized. There is a speedup when resizing windows. Christoph Lohmann 2012-09-29 11:17:16 +0200
  • d7b1e31eec All xcolors are not Xft colors and the clearing of the borders has been Christoph Lohmann 2012-09-29 11:17:16 +0200
  • 5e5c3b8cf3 Vt escape sequences allow escape sequences in escape sequences and escape sequences, so we have to support escape sequences in escape sequences that escape sequences in escape sequences – setting a title won't notify you anymore. Christoph Lohmann 2012-09-27 19:28:44 +0200
  • 29b209f5f5 Vt escape sequences allow escape sequences in escape sequences and escape Christoph Lohmann 2012-09-27 19:28:44 +0200
  • bcbf5156be Allow control characters inside escape sequences Taken from vt100 manual programmer: Roberto E. Vargas Caballero 2012-09-26 20:55:18 +0200
  • 3af49e34f6 Allow control characters inside escape sequences Roberto E. Vargas Caballero 2012-09-26 20:55:18 +0200
  • 18e2def342 Ignore all control characters not handled Taken from vt100 programmer manual: Roberto E. Vargas Caballero 2012-09-26 20:53:46 +0200
  • a7d7e29300 Ignore all control characters not handled Roberto E. Vargas Caballero 2012-09-26 20:53:46 +0200
  • 1ad0b11415 Switching to Liberation Mono as default solely because of line drawing. A next patch to fix the font symbols in all fonts should make it easier to choose a better font. Christoph Lohmann 2012-09-26 20:21:59 +0200
  • 375b6e5b17 Switching to Liberation Mono as default solely because of line drawing. A next Christoph Lohmann 2012-09-26 20:21:59 +0200
  • 23d1b03d4e Implementing line drawing right. Christoph Lohmann 2012-09-26 20:21:08 +0200
  • 3a095984b0 Implementing line drawing right. Christoph Lohmann 2012-09-26 20:21:08 +0200
  • d8cf33c207 A reset should reset the line drawing too. Christoph Lohmann 2012-09-25 21:39:25 +0200
  • c3b0e2202b A reset should reset the line drawing too. Christoph Lohmann 2012-09-25 21:39:25 +0200
  • efe3937183 Enabling enacs and adding compatibility to xterm and urxvt for alternative charsets. Christoph Lohmann 2012-09-25 21:17:43 +0200
  • 980c5956ed Enabling enacs and adding compatibility to xterm and urxvt for alternative Christoph Lohmann 2012-09-25 21:17:43 +0200
  • 2ca5d9463d Fix bug in tputc writing to io file If -f options is enabled then tputc() writes all the data to a file. Actual code assumes that all the strings in 'c' parameters have always 1 byte length, but this is not always true, because due to utf-8 encoding some characters can have a diferent length. So it is necessary pass string length to tputc in order it can call to write() correctly. --- st.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Roberto E. Vargas Caballero 2012-09-25 21:04:35 +0200
  • eb360e5fd1 Fix bug in tputc writing to io file Roberto E. Vargas Caballero 2012-09-25 21:04:35 +0200
  • 33eaeacaa4 Changing the default font to DejaVu Sans Mono, which is more appealing and activating antialiasing. Christoph Lohmann 2012-09-24 14:01:59 +0200
  • 246d704ba0 Changing the default font to DejaVu Sans Mono, which is more appealing and Christoph Lohmann 2012-09-24 14:01:59 +0200
  • d68253ec75 The xinit() call needs to be behind all the tty init, otherwise all the allocated structures are wrong. The xclear() is now done on purpose. Please keep X11 calls out of the way of pure tty-related calls. Christoph Lohmann 2012-09-24 11:04:26 +0200
  • 055a4f6d2c The xinit() call needs to be behind all the tty init, otherwise all the Christoph Lohmann 2012-09-24 11:04:26 +0200
  • 71fc293de2 Adding a TODO for xft fallback. Christoph Lohmann 2012-09-24 10:31:35 +0200
  • e9c677816c Adding a TODO for xft fallback. Christoph Lohmann 2012-09-24 10:31:35 +0200
  • 656c43b4c7 Add some documentetion to tsetmode The names of the terminal modes supported by vt102 are (taken from the VT220 programmer reference manual): Roberto E. Vargas Caballero 2012-09-24 10:29:37 +0200
  • 74d6abfee5 Add some documentetion to tsetmode Roberto E. Vargas Caballero 2012-09-24 10:29:37 +0200
  • 448a25dbc8 Fix LNM sequence LNM sequence is a standard ANSI mode, not a DEC private mode. --- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Roberto E. Vargas Caballero 2012-09-24 10:28:35 +0200
  • c3b6345595 Fix LNM sequence Roberto E. Vargas Caballero 2012-09-24 10:28:35 +0200
  • 4dfbf487bf Add KAM sequence This sequence lock/unlock the keyboard ignoring all the key pressing events from X server. --- st.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Roberto E. Vargas Caballero 2012-09-24 10:28:05 +0200
  • 2f215654a4 Add KAM sequence Roberto E. Vargas Caballero 2012-09-24 10:28:05 +0200
  • e2fbd25f51 Remove unused parameters in ttyresize --- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Roberto E. Vargas Caballero 2012-09-24 10:27:22 +0200
  • 11bec67875 Remove unused parameters in ttyresize Roberto E. Vargas Caballero 2012-09-24 10:27:22 +0200
  • 57e9f03059 Clear X window in tsetreset() tsetreset() is called when it is necessary a full initialization of the terminal, so it also should clean the full X window and not only the terminal content. It is necessary change the order of the initialization in main(), and put xinit before of tnew(), because tnew() calls to tsetreset(), and this can cause a call to xreset() with incorrect values. --- st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Roberto E. Vargas Caballero 2012-09-24 10:26:50 +0200
  • b6cfff1625 Clear X window in tsetreset() Roberto E. Vargas Caballero 2012-09-24 10:26:50 +0200
  • 61ffa628ff Merging xft and current st heads. Christoph Lohmann 2012-09-24 10:24:36 +0200
  • 21a0c4a2e0 Merging xft and current st heads. Christoph Lohmann 2012-09-24 10:24:36 +0200