Blame
Date:
Wed Feb 1 05:00:29 2023 UTC
Message:
Daily backup
01
2023-01-22
jrmu
version=pmwiki-2.2.130 ordered=1 urlencoded=1
02
2023-01-22
jrmu
agent=w3m/0.5.3+git20210102
03
2023-01-22
jrmu
author=jrmu
04
2023-01-22
jrmu
charset=UTF-8
05
2023-01-22
jrmu
csum=
06
2023-01-22
jrmu
ctime=1614772792
07
2023-01-22
jrmu
host=38.87.162.8
08
2023-01-22
jrmu
name=Openbsd.Intro
09
2023-01-22
jrmu
rev=5
10
2023-01-22
jrmu
targets=Ircnow.Howtoask
11
2023-01-22
jrmu
text=(:title OpenBSD Introduction:)%0a%0aThe [[https://openbsd.org/faq|OpenBSD FAQ]] and [[https://man.openbsd.org/cgi-bin/man.cgi|man pages]] are the final source of information for OpenBSD. You can also often search official project pages. For example, here are the project pages for [[https://bsd.plumbing/|relayd]] and [[https://www.opensmtpd.org/|OpenSMTPd]].%0a%0a!! Sample Config Files%0a%0aMany system daemons that come bundled in OpenBSD base have sample configuration files that you can reference in /etc/examples/. For example, suppose you want to configure a web server. First, start with:%0a%0a[@%0a$ doas cp /etc/examples/httpd.conf /etc/httpd.conf%0a@]%0a%0aThen work using that configuration file as a template.%0a%0a!! Package READMEs%0a%0aTake a look at any README files in /usr/local/share/doc/pkg-readmes/ . Often there are special configuration instructions to get a package to work properly on OpenBSD.%0a%0a!! IRC Chat Room%0a%0aYou can find help in our unofficial OpenBSD IRC channel at [[ircs://irc.ircnow.org/#openbsd|irc.ircnow.org/#openbsd]]. But before you ask a question, learn [[ircnow/howtoask|how to ask questions]].%0a%0a!! Mailing Lists%0a%0aYou can often find your questions answered by searching through the [[https://www.openbsd.org/mail.html|OpenBSD mailing lists]], which are conveniently archived at [[https://marc.info/?l=openbsd-misc|marc.info]]. These are often answered by the OpenBSD developers themselves.%0a%0a'''NOTE''': Before sending mail, please be considerate of other subscribers and follow proper netiquette:%0a%0a# Read all documentation before posting, such as INSTALL.* text files, [[https://openbsd.org/faq|the FAQ]], and [[https://man.openbsd.org|man pages]]. Make sure to search the [[https://marc.info/?l=openbsd-misc|mailing list archives]].%0a# Include important information such as relevant hardware from dmesg, configuration files, error messages, and so forth%0a%0aThe most popular mailing list is misc@openbsd.org.%0a
12
2023-01-22
jrmu
time=1654761213
13
2023-01-22
jrmu
title=OpenBSD Introduction
14
2023-01-22
jrmu
author:1654761213=jrmu
15
2023-01-22
jrmu
diff:1654761213:1654761150:=30c30%0a%3c # Include important information such as relevant hardware from dmesg, configuration files, error messages, and so forth%0a---%0a> # Include important information%0a
16
2023-01-22
jrmu
host:1654761213=38.87.162.8
17
2023-01-22
jrmu
author:1654761150=jrmu
18
2023-01-22
jrmu
diff:1654761150:1645969329:=19,22d18%0a%3c !! IRC Chat Room%0a%3c %0a%3c You can find help in our unofficial OpenBSD IRC channel at [[ircs://irc.ircnow.org/#openbsd|irc.ircnow.org/#openbsd]]. But before you ask a question, learn [[ircnow/howtoask|how to ask questions]].%0a%3c %0a25,32c21,25%0a%3c You can often find your questions answered by searching through the [[https://www.openbsd.org/mail.html|OpenBSD mailing lists]], which are conveniently archived at [[https://marc.info/?l=openbsd-misc|marc.info]]. These are often answered by the OpenBSD developers themselves.%0a%3c %0a%3c '''NOTE''': Before sending mail, please be considerate of other subscribers and follow proper netiquette:%0a%3c %0a%3c # Read all documentation before posting, such as INSTALL.* text files, [[https://openbsd.org/faq|the FAQ]], and [[https://man.openbsd.org|man pages]]. Make sure to search the [[https://marc.info/?l=openbsd-misc|mailing list archives]].%0a%3c # Include important information%0a%3c %0a%3c The most popular mailing list is misc@openbsd.org.%0a---%0a> You can often find your questions answered by searching through the OpenBSD mailing lists, which are conveniently archived at [[https://marc.info/?l=openbsd-misc|marc.info]]. These are often answered by the OpenBSD developers themselves.%0a> %0a> !! IRC Chat Room%0a> %0a> You can find help in our unofficial OpenBSD IRC channel at [[ircs://irc.ircnow.org/#openbsd|irc.ircnow.org/#openbsd]]. But before you ask a question, learn [[ircnow/howtoask|how to ask questions]].%0a\ No newline at end of file%0a
19
2023-01-22
jrmu
host:1654761150=38.87.162.8
20
2023-01-22
jrmu
author:1645969329=Limits
21
2023-01-22
jrmu
csum:1645969329=Restored it.
22
2023-01-22
jrmu
diff:1645969329:1645969211:=1,8c1,54%0a%3c (:title OpenBSD Introduction:)%0a%3c %0a%3c The [[https://openbsd.org/faq|OpenBSD FAQ]] and [[https://man.openbsd.org/cgi-bin/man.cgi|man pages]] are the final source of information for OpenBSD. You can also often search official project pages. For example, here are the project pages for [[https://bsd.plumbing/|relayd]] and [[https://www.opensmtpd.org/|OpenSMTPd]].%0a%3c %0a%3c !! Sample Config Files%0a%3c %0a%3c Many system daemons that come bundled in OpenBSD base have sample configuration files that you can reference in /etc/examples/. For example, suppose you want to configure a web server. First, start with:%0a%3c %0a---%0a> (:title Vi Introduction:)%0a> %0a> Vi is the free and open-source editor that is present on most UNIX systems.%0a> Vi is a modal editor. It has three main modes (ways to interact with the editor).%0a> %0a> !! Starting Vi%0a> [@vi [[files to edit]]@]%0a> %0a> Examples:%0a> * Without any arguments, [@ vi @] will just start a blank new file.%0a> * [@ vi a.txt @] will open [@ vi @] with the file [@ a.txt @]%0a> %0a> %0a> !! Insertion Mode%0a> In insert mode, you can type in text%0a> %0a> [@ i @] switches to insert mode and [@ a @] switches to insert mode moving the%0a> cursor one character forward.%0a> %0a> [@ %3cEscape> @] can be used to exit insert mode.%0a> %0a> %0a> !! Command Mode%0a> Command mode is used to send commands to the text editor. User [@ : @] to enter command mode.%0a> %0a> !!! Saving and Opening Files%0a> [@ :w @] saves a files%0a> %0a> [@ :w [filename] @] Saves the file as [@ filename @]%0a> %0a> [@ :q @] exits the editor%0a> %0a> [@ :wq @] saves and exits%0a> %0a> [@ :q! @] exits without saving%0a> %0a> [@ :e [filename] @] opens file [@ filename @] for editing%0a> %0a> [@ :e! [filename] @] discards changes in current buffer and opens file [@ filename @] for editing%0a> %0a> !! Normal Mode%0a> By default [@ vi @], opens in Normal Mode.%0a> Normal Mode allows you to cut, copy, paste, etc.%0a> To come back to Normal Mode from any mode, press [@ Escape @].%0a> %0a> [@ [num]command @] will execute [@ command @] [@ num @] times.%0a> %0a> !!! Movement%0a> Vi uses [@ h, j, k, l @] for movement.%0a> It allows for faster editing as the keys are present in the home row.%0a> * [@ h @] moves one character left%0a> * [@ j @] moves one line down%0a> * [@ k @] moves one line up%0a> * [@ l @] moves one character right%0a10c56,58%0a%3c $ doas cp /etc/examples/httpd.conf /etc/httpd.conf%0a---%0a> k (up)%0a> h (left) l (right)%0a> j (down)%0a13,25c61,134%0a%3c Then work using that configuration file as a template.%0a%3c %0a%3c !! Package READMEs%0a%3c %0a%3c Take a look at any README files in /usr/local/share/doc/pkg-readmes/ . Often there are special configuration instructions to get a package to work properly on OpenBSD.%0a%3c %0a%3c !! Mailing Lists%0a%3c %0a%3c You can often find your questions answered by searching through the OpenBSD mailing lists, which are conveniently archived at [[https://marc.info/?l=openbsd-misc|marc.info]]. These are often answered by the OpenBSD developers themselves.%0a%3c %0a%3c !! IRC Chat Room%0a%3c %0a%3c You can find help in our unofficial OpenBSD IRC channel at [[ircs://irc.ircnow.org/#openbsd|irc.ircnow.org/#openbsd]]. But before you ask a question, learn [[ircnow/howtoask|how to ask questions]].%0a\ No newline at end of file%0a---%0a> [@ w @] moves to the beginning of the next word while%0a> [@ b @] moves to beginning of the previous word.%0a> %0a> [@ e @] moves to the end of the next word.%0a> %0a> [@ 0 @] moves to the beginning of the sentence while [@ $ @] moves to the end%0a> of the sentence.%0a> %0a> [@ G @] moves to the end of the file%0a> %0a> [@ [num]G @] moves to the line number [@ num @]%0a> %0a> Examples:%0a> * Initial%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@ w @] will move one word forward to [@ ! @]%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@ 2w @] will move two words forward to [@ l @]%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@ e @] will move to the end of the word%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@ $ @] will move to the end of the line.%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@ 3b @] will move three words back%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@ 0 @] will move to the beginning of the line%0a> [@Hello! I like Vi.%0a> ^@]%0a> %0a> !!! Cutting and Pasting%0a> [@ yw @] copies a word, [@ yy @] or [@ Y @] copies a line.%0a> %0a> [@ dw @] cuts/deletes a word, [@ dd @] cuts a line, [@ D @] cuts a line from the cursor till the end (same as [@ d$ @]).%0a> %0a> [@ cw @] changes a word, [@ cc @] changes a line, [@ C @] changes a line from the cursor till the end (same as [@ c$ @]).%0a> %0a> [@ y, d and c @] can be combined with $0, $, f, t, etc.$%0a> %0a> [@ p @] is used to paste after the cursor while [@ P @] is used to paste before%0a> the cursor.%0a> %0a> !!! Searching%0a> [@ / @] is used to search forwards.%0a> %0a> [@ ? @] is used to search backwards.%0a> %0a> [@ n @] goes to the next occurrence while [@ N @] goes to the previous occurrence.%0a> %0a> [@ f[char] @] goes to the first occurrence (after the cursor) of [@char@]. [@ F[char] @] does the same thing but backwards.%0a> %0a> [@ t[char] @] goes to the position just before the first occurrence (after the cursor) of [@char@]. [@ T[char] @] does the same thing but backwards.%0a> %0a> Examples:%0a> * Initial%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@fl@] goes to the third character in the line%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@tI@] goes to the seventh character in the line%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@Fl@] goes to the fourth character in the line%0a> [@Hello! I like Vi.%0a> ^@]%0a> * [@TH@] goes to the second character in the line because [@ e @] is the character just before [@ H @] backwards.%0a> [@Hello! I like Vi.%0a> ^@]%0a
23
2023-01-22
jrmu
host:1645969329=2409:4060:18:a55b:cb97:acd0:80cb:9543
24
2023-01-22
jrmu
author:1645969211=Limits
25
2023-01-22
jrmu
csum:1645969211=Added introduction to Vi
26
2023-01-22
jrmu
diff:1645969211:1614772792:=1,54c1,8%0a%3c (:title Vi Introduction:)%0a%3c %0a%3c Vi is the free and open-source editor that is present on most UNIX systems.%0a%3c Vi is a modal editor. It has three main modes (ways to interact with the editor).%0a%3c %0a%3c !! Starting Vi%0a%3c [@vi [[files to edit]]@]%0a%3c %0a%3c Examples:%0a%3c * Without any arguments, [@ vi @] will just start a blank new file.%0a%3c * [@ vi a.txt @] will open [@ vi @] with the file [@ a.txt @]%0a%3c %0a%3c %0a%3c !! Insertion Mode%0a%3c In insert mode, you can type in text%0a%3c %0a%3c [@ i @] switches to insert mode and [@ a @] switches to insert mode moving the%0a%3c cursor one character forward.%0a%3c %0a%3c [@ %3cEscape> @] can be used to exit insert mode.%0a%3c %0a%3c %0a%3c !! Command Mode%0a%3c Command mode is used to send commands to the text editor. User [@ : @] to enter command mode.%0a%3c %0a%3c !!! Saving and Opening Files%0a%3c [@ :w @] saves a files%0a%3c %0a%3c [@ :w [filename] @] Saves the file as [@ filename @]%0a%3c %0a%3c [@ :q @] exits the editor%0a%3c %0a%3c [@ :wq @] saves and exits%0a%3c %0a%3c [@ :q! @] exits without saving%0a%3c %0a%3c [@ :e [filename] @] opens file [@ filename @] for editing%0a%3c %0a%3c [@ :e! [filename] @] discards changes in current buffer and opens file [@ filename @] for editing%0a%3c %0a%3c !! Normal Mode%0a%3c By default [@ vi @], opens in Normal Mode.%0a%3c Normal Mode allows you to cut, copy, paste, etc.%0a%3c To come back to Normal Mode from any mode, press [@ Escape @].%0a%3c %0a%3c [@ [num]command @] will execute [@ command @] [@ num @] times.%0a%3c %0a%3c !!! Movement%0a%3c Vi uses [@ h, j, k, l @] for movement.%0a%3c It allows for faster editing as the keys are present in the home row.%0a%3c * [@ h @] moves one character left%0a%3c * [@ j @] moves one line down%0a%3c * [@ k @] moves one line up%0a%3c * [@ l @] moves one character right%0a---%0a> (:title OpenBSD Introduction:)%0a> %0a> The [[https://openbsd.org/faq|OpenBSD FAQ]] and [[https://man.openbsd.org/cgi-bin/man.cgi|man pages]] are the final source of information for OpenBSD. You can also often search official project pages. For example, here are the project pages for [[https://bsd.plumbing/|relayd]] and [[https://www.opensmtpd.org/|OpenSMTPd]].%0a> %0a> !! Sample Config Files%0a> %0a> Many system daemons that come bundled in OpenBSD base have sample configuration files that you can reference in /etc/examples/. For example, suppose you want to configure a web server. First, start with:%0a> %0a56,58c10%0a%3c k (up)%0a%3c h (left) l (right)%0a%3c j (down)%0a---%0a> $ doas cp /etc/examples/httpd.conf /etc/httpd.conf%0a61,134c13,25%0a%3c [@ w @] moves to the beginning of the next word while%0a%3c [@ b @] moves to beginning of the previous word.%0a%3c %0a%3c [@ e @] moves to the end of the next word.%0a%3c %0a%3c [@ 0 @] moves to the beginning of the sentence while [@ $ @] moves to the end%0a%3c of the sentence.%0a%3c %0a%3c [@ G @] moves to the end of the file%0a%3c %0a%3c [@ [num]G @] moves to the line number [@ num @]%0a%3c %0a%3c Examples:%0a%3c * Initial%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@ w @] will move one word forward to [@ ! @]%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@ 2w @] will move two words forward to [@ l @]%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@ e @] will move to the end of the word%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@ $ @] will move to the end of the line.%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@ 3b @] will move three words back%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@ 0 @] will move to the beginning of the line%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c %0a%3c !!! Cutting and Pasting%0a%3c [@ yw @] copies a word, [@ yy @] or [@ Y @] copies a line.%0a%3c %0a%3c [@ dw @] cuts/deletes a word, [@ dd @] cuts a line, [@ D @] cuts a line from the cursor till the end (same as [@ d$ @]).%0a%3c %0a%3c [@ cw @] changes a word, [@ cc @] changes a line, [@ C @] changes a line from the cursor till the end (same as [@ c$ @]).%0a%3c %0a%3c [@ y, d and c @] can be combined with $0, $, f, t, etc.$%0a%3c %0a%3c [@ p @] is used to paste after the cursor while [@ P @] is used to paste before%0a%3c the cursor.%0a%3c %0a%3c !!! Searching%0a%3c [@ / @] is used to search forwards.%0a%3c %0a%3c [@ ? @] is used to search backwards.%0a%3c %0a%3c [@ n @] goes to the next occurrence while [@ N @] goes to the previous occurrence.%0a%3c %0a%3c [@ f[char] @] goes to the first occurrence (after the cursor) of [@char@]. [@ F[char] @] does the same thing but backwards.%0a%3c %0a%3c [@ t[char] @] goes to the position just before the first occurrence (after the cursor) of [@char@]. [@ T[char] @] does the same thing but backwards.%0a%3c %0a%3c Examples:%0a%3c * Initial%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@fl@] goes to the third character in the line%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@tI@] goes to the seventh character in the line%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@Fl@] goes to the fourth character in the line%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a%3c * [@TH@] goes to the second character in the line because [@ e @] is the character just before [@ H @] backwards.%0a%3c [@Hello! I like Vi.%0a%3c ^@]%0a---%0a> Then work using that configuration file as a template.%0a> %0a> !! Package READMEs%0a> %0a> Take a look at any README files in /usr/local/share/doc/pkg-readmes/ . Often there are special configuration instructions to get a package to work properly on OpenBSD.%0a> %0a> !! Mailing Lists%0a> %0a> You can often find your questions answered by searching through the OpenBSD mailing lists, which are conveniently archived at [[https://marc.info/?l=openbsd-misc|marc.info]]. These are often answered by the OpenBSD developers themselves.%0a> %0a> !! IRC Chat Room%0a> %0a> You can find help in our unofficial OpenBSD IRC channel at [[ircs://irc.ircnow.org/#openbsd|irc.ircnow.org/#openbsd]]. But before you ask a question, learn [[ircnow/howtoask|how to ask questions]].%0a\ No newline at end of file%0a
27
2023-01-22
jrmu
host:1645969211=2409:4060:18:a55b:cb97:acd0:80cb:9543
28
2023-01-22
jrmu
author:1614772792=jrmu
29
2023-01-22
jrmu
diff:1614772792:1614772792:=1,25d0%0a%3c (:title OpenBSD Introduction:)%0a%3c %0a%3c The [[https://openbsd.org/faq|OpenBSD FAQ]] and [[https://man.openbsd.org/cgi-bin/man.cgi|man pages]] are the final source of information for OpenBSD. You can also often search official project pages. For example, here are the project pages for [[https://bsd.plumbing/|relayd]] and [[https://www.opensmtpd.org/|OpenSMTPd]].%0a%3c %0a%3c !! Sample Config Files%0a%3c %0a%3c Many system daemons that come bundled in OpenBSD base have sample configuration files that you can reference in /etc/examples/. For example, suppose you want to configure a web server. First, start with:%0a%3c %0a%3c [@%0a%3c $ doas cp /etc/examples/httpd.conf /etc/httpd.conf%0a%3c @]%0a%3c %0a%3c Then work using that configuration file as a template.%0a%3c %0a%3c !! Package READMEs%0a%3c %0a%3c Take a look at any README files in /usr/local/share/doc/pkg-readmes/ . Often there are special configuration instructions to get a package to work properly on OpenBSD.%0a%3c %0a%3c !! Mailing Lists%0a%3c %0a%3c You can often find your questions answered by searching through the OpenBSD mailing lists, which are conveniently archived at [[https://marc.info/?l=openbsd-misc|marc.info]]. These are often answered by the OpenBSD developers themselves.%0a%3c %0a%3c !! IRC Chat Room%0a%3c %0a%3c You can find help in our unofficial OpenBSD IRC channel at [[ircs://irc.ircnow.org/#openbsd|irc.ircnow.org/#openbsd]]. But before you ask a question, learn [[ircnow/howtoask|how to ask questions]].%0a\ No newline at end of file%0a
30
2023-01-22
jrmu
host:1614772792=198.251.81.119
IRCNow