mirror of https://git.sr.ht/~mil/sxmo-utils
- Shell 93.2%
- C 5.1%
- Makefile 1.6%
- CSS 0.1%
|
Willow Barraco
5886710140
Some text editors, as kakoune, automatically add an ending newline while saving buffers to files. This is because the convention on UNIX systems, is that files ends with newline. While sending sms using a file as resource, modem manager keep this. I already discussed this with the maintainer: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/830 So we basically have to do this ourselves. The problems appeared when we switched to this new argument --messaging-create-sms-with-text. It fixes our quoting issues, but it introduce this problem, when the editor does the right thing. To solve this, we create a temporary file, without this ending newline. The finish script trap will clean in afterward. |
||
|---|---|---|
| .builds | build: fix trigger reasons | |
| configs | hook_statusbar: display ethernet networking status icon | |
| docs | sxmo_brightness doc: fix spelling mistake | |
| migrations | Fix existing migration with non shell hooks | |
| programs | sxmo_status_led: account for the brightness of multicolor leds | |
| resources | Added a more subtle keytap audio clip for clickclack (opt-in) | |
| scripts | sms: fix newline EOL while sending messages | |
| spec | Fix shellcheck | |
| .editorconfig | Fix editorconfig configuration file | |
| .gitattributes | use git attributes to set version in makefile | |
| .gitignore | initial sxmo(7) man page | |
| .hut.scfg | added configuration file for hut-cli | |
| .shellcheckrc | implemented lookupcontactname() in call/text handler, removes non posix-compliant substitutions | |
| .shellspec | sxmo-utils: Add sxmo_status_spec.sh | |
| LICENSE | Change license to AGPL-3.0-only | |
| Makefile | sxmo_idle.sh: refactoring, bug removal, performance improvements | |
| README.md | Change license to AGPL-3.0-only | |
| setup_config_version.sh | configversion: support xml files | |
sxmo-utils
This repository contains scripts and C programs to support Sxmo.
Note all scripts pass shellcheck and are tab-idented.
<Various scripts and small C programs that glue the Sxmo environment together>
Copyright (C) <2022> <Sxmo Contributors>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License only.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.