Reaction score: 328
Reaction score: 869
sudo uclcmd set --json --file /usr/local/etc/pkg/repos/poudriere.conf poudriere.enabled false
sudo uclcmd set --json --file /usr/local/etc/pkg/repos/poudriere.conf poudriere.enabled true
% uclcmd Usage: uclcmd get [-cdejklmNquy] [-D char] [-f file] [-o file] variable uclcmd set [-cdjmnuy] [-t type] [-D char] [-f file] [-i file] [-o file] variable [UCL] uclcmd merge [-cdjmnuy] [-D char] [-f file] [-i file] [-o file] variable uclcmd remove [-cdjmnuy] [-D char] [-f file] [-o file] variable COMMON OPTIONS: -c --cjson output compacted JSON -d --debug enable verbose debugging output -D --delimiter character to use as element delimiter (default is .) -e --expand Output the list of keys when encountering an object -f --file path to a file to read or write -j --json output pretty JSON -k --keys show key=value rather than just the value -l --shellvars keys are output with underscores as delimiter -m --msgpack output MSGPACK -n --noop do not save changes to file, only output to STDOUT -N --nonewline separate output with spaces rather than newlines -o --output file to write output to, defaults to STDOUT -q --noquotes do not enclose strings in quotes -t --type make the new element this type -u --ucl output universal config language -y --yaml output YAML variable The key of the variable to read, in object notation UCL A block of UCL to be written to the specified variable GET OPTIONS: SET OPTIONS: -i --input use indicated file as additional input (for combining) MERGE OPTIONS: -i --input use indicated file as additional input (for merging) REMOVE OPTIONS: EXAMPLES: uclcmd get --file vmconfig .name "value" uclcmd get --file vmconfig --keys --noquotes array.1.name array.1.name=value uclcmd get --file vmconfig --keys --shellvars array.1.name array_1_name="value" %
Reaction score: 31
Reaction score: 7
Reaction score: 2
Reaction score: 314
Reaction score: 1
Vim. But if it's a gui based text editor for just copy pasting notes, then I would say Leafpad or anything similar would work fine.I would like to know which text editor you use in FreeBSD, I like vim very much to program, for very simple things I usually use nano.
Which one is your favorite?
PD: This does not try to be a flame "emacs vs vim" just a nice debate.
… There is no escape!
VISUALwill be something other than vi. For myself, <https://gist.github.com/grahamperrin/83fa2bd1f3dbf32fa8019ec04f810c6e#etcprofile> and so on (I don't keep the page up-to-date, it's just enough to remind me what must be set and unset).
root@mowa219-gjp4-8570p-freebsd:~ # echo $SHELL && echo $EDITOR $VISUAL /bin/csh /usr/local/bin/nano /usr/local/bin/nano root@mowa219-gjp4-8570p-freebsd:~ # sh # echo $EDITOR $VISUAL /usr/local/bin/nano /usr/local/bin/nano # exit root@mowa219-gjp4-8570p-freebsd:~ # exit logout % whoami grahamperrin % echo $SHELL && echo $EDITOR $VISUAL /bin/tcsh /usr/local/bin/nano /usr/local/bin/nano % sh $ echo $EDITOR $VISUAL /usr/local/bin/nano /usr/local/bin/nano $ exit %
Reaction score: 120
Reaction score: 106
Reaction score: 1,762