[hackers] [st] Add some hint to have the pseudo terminal in the right mode. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Wed, 20 Jul 2016 13:53:42 +0200 (CEST)

commit c4f245eccd649b258c52f1405452df05180f7263
Author: Christoph Lohmann <20h_AT_r-36.net>
AuthorDate: Wed Jul 20 13:52:31 2016 +0200
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Wed Jul 20 13:52:31 2016 +0200

    Add some hint to have the pseudo terminal in the right mode.
    
    If you don't make sure that the terminal does not expand tabs to spaces, of
    course such a setting won't work.

diff --git a/config.def.h b/config.def.h
index d2c547c..e2bbe43 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -73,6 +73,12 @@ static char termname[] = "st-256color";
  * you use this st version.
  *
  * it#$tabspaces,
+ *
+ * Secondly make sure your terminal is not expanding tabs. When running `stty
+ * -a` »tab0« should appear. You can tell the terminal to not expand tabs by
+ * running following command:
+ *
+ * stty tabs
  */
 static unsigned int tabspaces = 8;
 
Received on Wed Jul 20 2016 - 13:53:42 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 20 2016 - 14:00:17 CEST