|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
[OpenBSD] secure text editor
using vi , mg and etc ... is difficult when your environment is desktop.
what is your suggestion package? (like notepad or notepad++) |
|
||||
Quote:
Doesn't seem like much effort to open a terminal emulator window and run vi(1), or create a file at ~/.local/share/applications/vi-edit.desktop that will do that for you when you click on the menu entry or use the "open with" option in a graphical file manager: Code:
[Desktop Entry] Version=1.0 Name=vi Comment=Run vi(1) Type=Application Exec=xterm -e vi %F Categories=Utility;TextEditor; Code:
gedit admin:///full/path/to/file EDIT: no, the admin:// backend does not appear to be available under OpenBSD.
__________________
Are you infected with Wetiko? Last edited by Head_on_a_Stick; 10th June 2020 at 03:41 PM. |
|
||||
I like joe, also some times, and for non root edits, leafpad
__________________
My best friends are parrots Last edited by PapaParrot; 10th June 2020 at 07:23 AM. |
|
|||
thanks to Head_on_a_Stick and PapaParrot
mousepad is good choose. |
|
|||
There is nothing better than vim. It takes some time to learn, but then it saves tremendous amount of time every day; and time is money. It has non-terminal graphical counterpart gvim. Install vim + gvim:
Code:
pkg_add vim-8.2.534-gtk3.tgz |
|
|||
I use vim's clone neovim in terminal emulator on Gnu/Linux (there is a OpenBSD port for that), but if I had to use GUI-based editor I would use Geany.
I don't know about security of these editors.
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
||||
@Head_on_a_Stick
Mouspad is ok, I have used it but not much, can it be run as root though ?
__________________
My best friends are parrots |
|
||||
Yes, it can. You will need to specify keepenv in /etc/doas.conf though so that the DISPLAY parameter is preserved.
__________________
Are you infected with Wetiko? |
|
|||
EDIT: this information is no longer valid.
Last edited by bsdun; 31st October 2020 at 09:59 PM. |
|
|||
neovim is an experimental clone of vim. All of it's best new features are ported back into vim. For example the ability to open terminal emulator inside vim
Code:
:terminal |
Tags |
editor, notepad |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Secure Boot and OpenBSD | Head_on_a_Stick | Guides | 0 | 12th December 2015 10:25 PM |
OpenBSD 5.4 Nvidia Driver Issue and KDE Desktop disappearing text. | stan98765 | OpenBSD Installation and Upgrading | 35 | 21st June 2015 04:52 PM |
vi editor | jjstorm | OpenBSD Packages and Ports | 20 | 1st December 2014 04:37 PM |
Is OpenBSD secure by default from ssh users? | steamrent | OpenBSD Security | 2 | 19th December 2011 09:21 PM |
Cisco Secure ACS 4.1 syslog OpenBSD 3.9 | cyberpaisalegionair | OpenBSD General | 1 | 24th July 2008 06:42 PM |