-
Notifications
You must be signed in to change notification settings - Fork 127
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
Changeable default options aka config file #113
Comments
i think this would be very useful too :( |
The intended way to alter defaults is using aliases, see 8707801 . I think this makes sense for a tool which wants to be pico. It should be mentioned in the docs, though. I'll add such a paragraph unless someone beats me to it. |
That's nice as an option but is inferior to a dedicated config file. There is good reason that many applications use that IMHO. |
Another option is scripts, which I prefer over aliases. I typically create a shell script for each different config that I end up using often. |
I'd accept a pull request if the implementation was simple, robust, and optional (i.e. can be compiled out). I'd suggest a textfile containing command-line parameters, but other simple solutions may be fine, too. That being said, I also won't implement it because I need my custom built version anyhow. Thanks for the feedback, though! |
Discussed in issue npat-efault#113. Signed-off-by: Wolfram Sang <[email protected]>
I added some documentation now: wsakernel@95accb0 |
I think command substitutions are also a nice solution. See this pull request from my repo: https://gitlab.com/wsakernel/picocom/-/merge_requests/10 |
I've been using picocom as first choice when dealing with serial ports of all sorts for years because it makes the most commonly needed things possible with little effort. I was quite surprised that there does not seem to be a way to change the defaults (without recompilation). For example, it would be very convenient for me to change the default baud rate to 115200. I would have expected that picocom reads in a config file like
~/.config/picocom
containing settings that overwrite the default options (but get overwritten by command line options). However, this apparently does not exist...?The text was updated successfully, but these errors were encountered: