Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration file support #6

Open
1 of 3 tasks
rstemmer opened this issue Jul 27, 2019 · 1 comment
Open
1 of 3 tasks

Configuration file support #6

rstemmer opened this issue Jul 27, 2019 · 1 comment
Labels
enhancement nextgen This feature or bugfix will be considered for the next generation of sterm

Comments

@rstemmer
Copy link
Owner

sterm should be configurable via config files.
There should be three levels of setting up sterm:

  • Level 1: Global configuration for a user ~/.config/sterm
  • Level 2: Local configuration for a project ./.sterm
  • Level 3: on demand configuration via command line arguments (Already possible)

Level 3 has the highest priority, level 1 the lowest.

@rstemmer rstemmer added this to the sterm Version 6.0.0 milestone Jul 27, 2019
@rstemmer rstemmer added the nextgen This feature or bugfix will be considered for the next generation of sterm label Jul 27, 2019
@rstemmer
Copy link
Owner Author

Possible settings:

[connection]
format = 8N1
baudrate = 115200
device = /dev/ttyUSB42

[terminal]
echo = True
logfile = ./log.dat
escape = \x1F
mode = binary

[remote]
; Define new-line behavior: \r, \n, \r\n
newline=\n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement nextgen This feature or bugfix will be considered for the next generation of sterm
Projects
None yet
Development

No branches or pull requests

1 participant