[haiku-commits] haiku: hrev52270 - data/etc src/libs/compat/freebsd11_wlan/net80211

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 23 Aug 2018 14:29:53 -0400 (EDT)

hrev52270 adds 2 changesets to branch 'master'
old head: 9a152c9cb030c923e74090a96662a64cd5946995
new head: abb35d283f1abad10f8f260c880aff453a2570b0
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=abb35d283f1a+%5E9a152c9cb030

----------------------------------------------------------------------------

d15e61541e7e: I did not mean to commit this.
  
  Sorry!

abb35d283f1a: Fix escaping of escape codes.
  
  Without this, readline will compute the length of the prompt
  incorrectly, leading to display artifacts.

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

2 files changed, 2 insertions(+), 3 deletions(-)
data/etc/profile                                            | 4 ++--
src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp | 1 -

############################################################################

Commit:      d15e61541e7e7cf80236d8a27b6fceb4644cbce7
URL:         https://git.haiku-os.org/haiku/commit/?id=d15e61541e7e
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Thu Aug 23 18:21:55 2018 UTC

I did not mean to commit this.

Sorry!

----------------------------------------------------------------------------

diff --git a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp 
b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp
index ea0c32b2e9..6ef18cde31 100644
--- a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp
+++ b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp
@@ -695,7 +695,6 @@ ieee80211_sysctl_vattach(struct ieee80211vap* vap)
                | IEEE80211_MSG_WME
                | IEEE80211_MSG_DOTH
                | IEEE80211_MSG_INACT
-               | IEEE80211_MSG_11N
                | IEEE80211_MSG_ROAM;
 }
 

############################################################################

Revision:    hrev52270
Commit:      abb35d283f1abad10f8f260c880aff453a2570b0
URL:         https://git.haiku-os.org/haiku/commit/?id=abb35d283f1a
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Thu Aug 23 18:27:58 2018 UTC

Fix escaping of escape codes.

Without this, readline will compute the length of the prompt
incorrectly, leading to display artifacts.

----------------------------------------------------------------------------

diff --git a/data/etc/profile b/data/etc/profile
index 0059a89dda..5e9aad0b69 100644
--- a/data/etc/profile
+++ b/data/etc/profile
@@ -13,8 +13,8 @@ else
 fi
 unset ARCH
 
-PS1='`if [ $? = 0 ]; then echo "\e[32m";
-       else echo "\e[31m\]"; fi`'"$PS1\e[0m\]> "
+PS1="\["'`if [ $? = 0 ]; then echo "\e[32m";
+       else echo "\e[31m"; fi`'"\]$PS1\[\e[0m\]> "
 
 export USER=`id -un`
 export GROUP=`id -gn`


Other related posts:

  • » [haiku-commits] haiku: hrev52270 - data/etc src/libs/compat/freebsd11_wlan/net80211 - Adrien Destugues