Comments (10)
Troubleshooting steps:
- check locale settings: https://help.ubuntu.com/community/Locale
- ncurses requires ANSI escape sequences, your $TERM should support this (known working examples are xterm and vt100)
- try running this from xterm, after checking locale.
from wavemon.
@sliddjur - has this been resolved, did you find a fix?
from wavemon.
@grrtrr I installed xterm from apt. It still looks the same.
olof@olof-ubuntu ~> echo $TERM
xterm-256color
In xterm app, $TERM is xterm.
My locale
olof@olof-ubuntu ~> locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
nb_NO.utf8
POSIX
sv_FI.utf8
sv_SE.utf8
from wavemon.
Thanks for getting back. I still think that this related to locale settings, of which there are quite a few.
In the above picture the 'funny' characters appear between
- thousand separator for RX/TX (220,293 and 226,402 respectively);
- thousand separator for retries (number seems to be 2,904 but is cut off -- seems a lot).
The numerical setting is set via the LC_LOCALE
, which is in turn affected by other settings.
In addition, instead of a dot ("."
) the dBm setting above uses a comma ("1,26nW"), which is unusual. This too would indicate an unusual locale setting.
Under the hood, this is all done using the setlocale()
call.
All of these settings can be bypassed by setting LC_ALL
.
Can you please try this: export LC_ALL=C
, and then run wavemon
?
Likely you will then have no thousand-separator between numbers. If that works I can take it from there, maybe the use of setlocale
can be improved.
from wavemon.
yes, if I set export LC_ALL=C and run wavemon, it works.
from wavemon.
Thank you. I will work on a fix that does not require setting an environment variable. The downside is that it will use US/GB numeric separator (a .
between 1 and fractions of 1, and a ,
between groups of thousands). This may look strange in other countries, but is still better than the funny fonts - which might have to do with the ncurses library.
from wavemon.
As promised - if you are able to compile from master
, could you give the above a quick run?
It should resolve the locale-specific issues. It is now locale-independent.
from wavemon.
It looks better now.
olof@olof-ubuntu /opt/wavemon % /usr/local/bin/wavemon -v
wavemon 0.8.2
Distributed under the terms of the GPLv3.
from wavemon.
Thank you, I will integrate this into the next release.
from wavemon.
Resolved in 324b151
from wavemon.
Related Issues (20)
- \xf0\x9f\x87\xb9\xf0\x9f\x87\xb7 chars in F3 Scan List HOT 3
- wavemon does not work with interface in a bond HOT 6
- Switch from 0.8.2 to 0.9.3: inconsistent display of packet counts HOT 6
- Move wavemonrc to XDG_CONFIG_HOME HOT 1
- conf.c:21:10: fatal error: netlink/version.h: No such file or directory HOT 12
- New feature request: Log listed SSID in search mode HOT 4
- Change F[1-9] key HOT 2
- i have a USB WIFI NIC , but wavemon says : no supported wireless interfaces found! Check manpage for help. HOT 4
- Significant degradation of WiFi network performance in the 5 GHz band HOT 5
- Feature request: Split rx/tx rate line HOT 2
- no supported... but iw dev, iw list, /proc/net/dev will show wlp1s0 and wlp2s0, WiFi works HOT 3
- is there any methods to export the data? HOT 1
- Time of Detection HOT 1
- Emoji support HOT 1
- Switching to info screen sometimes hangs HOT 7
- Missing WEXT and /proc/net/wireless missing - wavemon error HOT 7
- Tag 0.9.5 HOT 1
- printing information to terminal HOT 1
- Doesnt compile under ubuntu 24.04 HOT 1
- no supported wireless interfaces found! HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wavemon.