My build of the st terminal.
 
 
 
 
Go to file
Michael Forney eae31a532e Fix some bugs in mouse tracking logic
* Button number in X10 mode:

  I believe the button - 1 came from "C b is button - 1" from [0].
  However, above this section, it states

    "Normally, parameters (such as pointer poisition and button number)
     for all mouse tracking escape sequences generated by xterm encode
     numeric parameters in a single character as value+32. For example, !
     specifies the value 1."

  Also, from the description of SGR,

    "The encoded button value in this case does not add 32 since that
     was useful only in the X10 scheme for ensuring that the byte
     containing the button value is a printable code."

  This suggests that we should still add 32 to the button value when in
  MODE_MOUSEX10.

* No button release reporting in X10 mode:

    "X10 compatibility mode sends an escape sequence only on button press,
     encoding the location and the mouse button pressed."

* Fix MODE_MOUSEMOTION:

  Currently, motion reporting is skipped when oldbutton == 3
  (corresponding to no button being pressed). However, oldbutton is
  only set on a button press, which will never be 3.

[0]: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
2013-09-13 19:49:25 +02:00
FAQ Tmux is using C-b by default. 2013-08-22 19:32:49 +02:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Adding some contributors. Thanks to you all! 2013-09-07 12:29:44 +02:00
Makefile Applying the changes to the docs; by Peter Hartman. 2013-01-05 20:30:25 +01:00
README Applying the changes to the docs; by Peter Hartman. 2013-01-05 20:30:25 +01:00
TODO Wide character support. 2013-09-07 12:41:36 +02:00
arg.h Adopting arg.h with more flexible cmd handling. 2013-04-03 21:00:38 +02:00
config.def.h Default volume of the bell is 0. 2013-09-12 20:52:10 +02:00
config.mk 0.4.1 release. 2013-04-20 15:29:39 +02:00
st.1 Fix the geometry handling. 2013-04-13 15:24:26 +02:00
st.c Fix some bugs in mouse tracking logic 2013-09-13 19:49:25 +02:00
st.info Add terminfo definitions for terminals with meta key 2013-08-12 16:53:09 +02:00

README

st - simple terminal
--------------------
st is a simple virtual terminal emulator for X which sucks less.


Requirements
------------
In order to build st you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (st is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install st (if
necessary as root):

    make clean install


Running st
----------
If you did not install st with make clean install, you must compile
the st terminfo entry with the following command:

    tic -s st.info

See the man page for additional details.

Credits
-------
Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.