notesettings.1 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .TH notesettings V1.0
  2. .SH NAME
  3. notesettings - settings management script for "note" a simple command-line note application
  4. .SH SYNOPSIS
  5. .B notesettings
  6. .RB [options]
  7. .SH DESCRIPTION
  8. notesettings is used to set user preferences for note \- a simple, terminal\-based note taking application \- see
  9. .BR note (1)
  10. .P
  11. The parameters to notesettings can be specified in any order and you can use as many or as few of them as you like.
  12. .SH
  13. PARAMETERS
  14. .TP
  15. .B -h
  16. \- display help
  17. .TP
  18. .B -e
  19. \- set path to editor \- defaults to $EDITOR (the default editor for the terminal)
  20. .TP
  21. .B -b
  22. \- whether or not to keep text editor backup files (0 = remove backup files, any other value signifies that backup are to be retained)
  23. IMPORTANT:
  24. This behaviour currently only looks for and removes vim-style backup files ending with a ~ tilde character.
  25. .TP
  26. .B -p
  27. \- path to preferred pager. defaults to /usr/bin/less.
  28. .SH EXAMPLE USAGE
  29. .TP
  30. .B notesettings
  31. .br
  32. \- Lists the current settings. Also creates default settings if settings.cfg is not present in /home/user/.note/
  33. .TP
  34. .B notesettings \-e $(which vim) \-b 1 \-p $(which w3m)
  35. .br
  36. \- This would set vim as the text editor for creating/editing notes. Backup files will be retained and w3m will be used as notes pager. These settings will be written to /home/user/.note/settings.cfg
  37. .TP
  38. .B notesettings \-h
  39. .BR
  40. \- Displays help/usage information for notesettings
  41. .SH SEE ALSO
  42. .BR note (1)
  43. .SH LICENCE
  44. notesettings is licensed under the GNU GPLV3 license.
  45. .TP
  46. This man page is licensed under the GNU FDL (Free documentation license) v1.3.
  47. Permission is granted to copy, distribute and/or modify this document
  48. under the terms of the GNU Free Documentation License, Version 1.3
  49. or any later version published by the Free Software Foundation;
  50. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  51. A copy of the license is included in the section entitled "GNU
  52. Free Documentation License".
  53. .SH COPYRIGHT
  54. .B © 2013-2023
  55. Jason Trunks < https://notabug.org/JasKinasis/note >
  56. .BR