Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2020 02:49:11 -0600
From:      Brandon helsley <brandon.helsley@hotmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Minimal skills
Message-ID:  <CY4PR19MB0104052EC4AA2CF989F1A1FBF9890@CY4PR19MB0104.namprd19.prod.outlook.com>
In-Reply-To: <CY4PR19MB010470EB8E75DF42106CDD1AF9890@CY4PR19MB0104.namprd19.prod.outlook.com>
References:  <CY4PR19MB010470EB8E75DF42106CDD1AF9890@CY4PR19MB0104.namprd19.prod.outlook.com> <CY4PR19MB010470EB8E75DF42106CDD1AF9890@CY4PR19MB0104.namprd19.prod.outlook.com> <CY4PR19MB0104DD86F8FE6446AD1BF327F9890@CY4PR19MB0104.namprd19.prod.outlook.com> <CY4PR19MB0104A2C03F4D66A1DA251A23F9880@CY4PR19MB0104.namprd19.prod.outlook.com> <20200604005859.ca438474.freebsd@edvax.de> <CY4PR19MB0104C290121BF756D57B2DDBF9880@CY4PR19MB0104.namprd19.prod.outlook.com> <20200604020051.0c02472d.freebsd@edvax.de> <CY4PR19MB0104DD86F8FE6446AD1BF327F9890@CY4PR19MB0104.namprd19.prod.outlook.com> <CY4PR19MB010470EB8E75DF42106CDD1AF9890@CY4PR19MB0104.namprd19.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 
 
 

 
 

 
>An example of basic shell commands, done on GNU Linux bash, but it's
 
not really different to FreeBSD and/or another shell ;).
 

 
>[rocketmouse@archlinux tmp]$ echo "1234"  >  file_a.txt; echo "1234"  >>  file_a.txt
 
[rocketmouse@archlinux tmp]$ echo "1234"  >  file_b.txt; echo "5678"  >>  file_b.txt
 
[rocketmouse@archlinux tmp]$ cat file_a.txt
 
1234
 
1234
 
[rocketmouse@archlinux tmp]$ cat file_b.txt
 
1234
 
5678
 
[rocketmouse@archlinux tmp]$ diff file_a.txt file_b.txt
 
2c2
 
<  1234
 
---
 
>  5678
 

 
>Why do you want to make a PC (I assume it is intended to be
 
>used as a workstation) a mail _server_?
 

 
>If this is the domain the OP likes, it's probably a good project to
 
learn, right after having basic skills in writing shell scripts.
 

 

 
First, before I try to understand that. What exactly is "writing shell scripts" is this similar to editing resource script files like .xinitrc or .xsession?
 
 

 

 
 
 
 
 
>  
> On Jun 4, 2020 at 2:15 AM, Brandon helsley  <brandon.helsley@hotmail.com>  wrote:
>  
>    
>  
>  
>  
> I started using FreeBSD about 2 months ago and have purchased books like absolute freebsd and have learned a lot.
>  
>  
>  
> I can set up a desktop environment that has all the programs I need, so that's not the problem. It's that I want to progress past simple editing of configuration files and minor system administration tasks like the crontab. I want to try and stick with FreeBSD as my main and probably mostly only OS. Meaning, I would like to skip the ubuntu step. It seems as though the FreeBSD docs is the way to go. Just read it over a few times, as well as the porters handbook. I'll get straight to it so I can contribute to ports and docs, even if it takes a couple years!!!
>  
>  
>
>  
>
>  
>
>  
>  
>  
>  
>  
> >  
> > On Jun 4, 2020 at 12:23 AM, Polytropon  <freebsd@edvax.de>  wrote:
> >  
> >  
> >  On Wed, 3 Jun 2020 23:56:37 -0600, Brandon helsley wrote:  >  Thank you, I'm minimally familiar with the port files but I know  >  where and what they are, so I think it would be a great starting  >  point. I think so, too. The handbook sections about updating and using the ports collection is a real treasure trove.  >  So is this kind of contribution limited to submitting patches or  >  is there some kind of other persistent communication with the  >  "upstream", whatever that means. Depends on the project / port. I would probably check the docs that come with the port and see how they ("upstream" - those who write and maintain the initial program) would like the contributors to communicate. For FreeBSD (as the OS), patches are the easiest way of adding something new; they can be submitted with a bug report and request for inclusion.  >  Could you tell me what this tool "diff" is. A diff (the tool, the process, and its result) means "difference". For example, if you find a manp
age where the explanation for a certain option is missing, you take the original file, make a working copy of it, change that working copy, and create a file that contains the difference (i. e., the diff, also often called the patch) between the original and the updated version. This diff can then be sent to the FreeBSD team, and they will apply it; the next issue of FreeBSD will then contain the updated manpage instead of the original one. See "man diff" and "man patch" for details. Persons who have proven to be trusted contributors will get direct access to the source code repository: they can check in their changes by themselves. Here is a simplified outline of the process: # cd /usr/src/bin/ls # cp  ls.1   ls.1.orig  # vim  ls.1  ... you make your changes ... :wq # diff  ls.1   ls.1.orig   >   ls.1.diff  Now  ls.1.diff  is what will be submitted. On the FreeBSD team's side, something like this happens: # cd /usr/src/bin/ls # patch  <   ls.1.diff  # svn commit Yes, this is actuall
y _very_ simplified. :-)  >  I' bet I'll have to learn it myself but if you could give me  >  an overview and familiarize me that would be great too. You will definitely have to learn the required tools, but in my opinion, that's worth doing it, and documentation contributors are one of the most important people in a project. Never undervalue good documentation.  >  Right now I already have dedicated a PC to FreeBSD. I'm quite  >  intimidated by the editing of configuration files but have  >  managed to install and configure fluxbox and other simple  >  GUI's. That is an excellent starting point. So more or less, you already have the foundation for further work. You can refine such an environment by choosing what window manager or desktop environment fits your needs best, what programs (web browsers, editors, PDF viewers and so on) you like best, and tailor the installation for optimal use.  >  I'm currently working on making it a mail server but am stuck  >  for now. Why do you want
 to make a PC (I assume it is intended to be used as a workstation) a mail _server_? Not that this is impossible - don't get me wrong! -, but what is the reason? I would even say it's probably better to install a MUA (a mail user agent, an "email program", a mailer) so you can use it to conveniently (!) read and write mails. There are many GUI MUAs that you can use, or if you prefer, you can use a TUI (text-mode based) mailer in an X terminal, if that is your choice. But there's absolutely nothing wrong with installing and using Thunderbird, the de-facto standard mailer nowadays.  >  Other than simple configurations like firewalls or jails or  >  virtualbox I find FreeBSD difficult too learn. Everything worth learning might look hard at the beginning. But always remember: If you feel learning is hard, that's just a sign that your brain is _actually_ learning, i. e., it does what you want it to do. The brain likes learning.  >  I'll work on understanding port files and sources as my n
ext step. The Porter's Handbook provides a great overview. You can see it in action with your installed ports tree. You should also understand the purpose and basic use of Subversion (svn), as version control is a significant aspect of working both with the ports collection and the system sources, if you want to do more than just using it to install stuff. The answers to questions like "What do I have to do?" mostly depend on _you_ answering the question "What do you want to do?" ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since  4.0  Andra moi ennepe, Mousa, ... 
> >  
>      
     
From owner-freebsd-questions@freebsd.org  Thu Jun  4 08:50:11 2020
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2CCEF330643
 for <freebsd-questions@mailman.nyi.freebsd.org>;
 Thu,  4 Jun 2020 08:50:11 +0000 (UTC)
 (envelope-from ralf.mardorf@rocketmail.com)
Received: from sonic304-21.consmr.mail.ir2.yahoo.com
 (sonic304-21.consmr.mail.ir2.yahoo.com [77.238.179.146])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 49czxZ1lkMz492L
 for <freebsd-questions@freebsd.org>; Thu,  4 Jun 2020 08:50:10 +0000 (UTC)
 (envelope-from ralf.mardorf@rocketmail.com)
X-YMail-OSG: YC08oIMVM1kdfmBwEbenmoiSSle8aE5pBfyuQgzJ0nNSX8PHKMHjfK9fjGziMdw
 SHJK8cJN8OFQ55dd63dw9HVCL70KmVdcW5ElJZ0rU.5DrIXwEeK0YM74wxs08NXF9Nar6o2d8EpY
 ytZU4F5lqsSvrnyXEtQQ3abQ4PyPRWWAgq9atTb8kHjOoqzn_DbnywTLF8ebvhM0WNSb1Rky7qiQ
 PHFikGILlptUbwHk68twPfs_Z_SvuVy9X16hTGmrx1g6cs9TMRArsefPdxR9YWe76KjI_kzlgMlN
 LojVg541priL5JqfTGYrfH2hXB9YdDwvwUTv6MrkRqjVW1ZjnJ6e4_6K1F7cidXG4KH8ufvX3dYx
 SMr2kjsHvPf7u9QmRohV2VWwvL8l1Akud9yfyqZ5L1xV2X0c8_fS.PG6iCm2Aujd7IcWTSoullY3
 I8ZTqwwkV1WAkrEjh4wXxXL9JczqhV2AaAACVfFh0SQtLURW7PjOVt5sbA3ullSNGLYABiQieGlL
 hmgWzvrXYsrWkOUacJpTgZZiPEhnohYfpvDuv4Q5mMpp6fY5dQ.s4ibGYFYyV7zXHfUcTA_o50k9
 yJIn6zE.YNodKfkpN.s1AmW1pgWSwVlVrsB0VZBhytss5QusQ5GghB6joGnKn7Z93kB4ZTcT.2Du
 4CryiZwjOQlSLn4Se4Gy6NZykgFr8MGXRts4qzOYZ6rfwAlg3NnMrvV0gXAMrg5LY69whYjePXok
 .9ZsZ93x88cjojqgpKtwiG81WOuQLYK9qwVOgVjCYHCCXhqn3X6gYTvXGyYTKRssMRY79kaLSvaB
 LcdCeOi.JOOGw3vNuUcY2B.lpfisNMJ4OHdkzc4PzbSTeDdbn9_lTL68Cr_xi01AUX0NAr94LrYU
 NoCFOHsheytPSisEGJCBCBvGkEVQpj1NJPQ.UM33cwasIR5z6n5MOTUB1VpvGrPtPv_nLG.HXArY
 0dIKB_mQ4Q6Ue8C5MMUkYHz_Kso.JfWPs52ZAVIrjD9ObbF.jeWLmw85rryGSI8S65ClMkgxYLJB
 A.9OnohoREFmUsf0um1eS9K3069S.cItFQzTgoGlatvHhxWiVB9mYWH6OkQmDAa79geLIucuSJte
 AT_tDysT8pUlu0iD2ojhcq.MVtpQBhgs6otUPpOoKdcCrSK91fwHtWNn1IVyhFUcNDA6UUadD6J5
 V4lJICaPFY66.X.urxpVpDJ4H9i2xB00dfl7ojH1gujX7fmYpS9Ll3p3CdUjGogPMm0LR6YNto55
 3NIjrqjwl.qre8SWpi2nX7elTXyqS_QjbJbtj8Oe.31rVsL6HWLdh06jG_o5aWfDwUSi43eNi.xK
 4Ghpdg0olJnOHWvgFfRWufmHjdy7P9ffbMxBUTXuiz5g6Def3UojsvbmVdO6HSW3ZzcXM_a_TJGS
 ujK1hQsA-
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic304.consmr.mail.ir2.yahoo.com with HTTP; Thu, 4 Jun 2020 08:50:08 +0000
Received: by smtp417.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA
 ID 1c524dfba5571cfb0549d8414d902fbc; 
 Thu, 04 Jun 2020 08:50:04 +0000 (UTC)
Date: Thu, 4 Jun 2020 10:50:08 +0200
From: Ralf Mardorf <ralf.mardorf@rocketmail.com>
To: freebsd-questions@freebsd.org
Subject: Re: Minimal skills
Message-ID: <20200604105008.3e48d617@archlinux>
In-Reply-To: <CY4PR19MB0104DC7541A2154B5C435EA7F9890@CY4PR19MB0104.namprd19.prod.outlook.com>
References: <20200604074134.89eb6518.freebsd@edvax.de>
 <CY4PR19MB0104A2C03F4D66A1DA251A23F9880@CY4PR19MB0104.namprd19.prod.outlook.com>
 <20200604005859.ca438474.freebsd@edvax.de>
 <CY4PR19MB0104C290121BF756D57B2DDBF9880@CY4PR19MB0104.namprd19.prod.outlook.com>
 <20200604020051.0c02472d.freebsd@edvax.de>
 <CY4PR19MB0104DD86F8FE6446AD1BF327F9890@CY4PR19MB0104.namprd19.prod.outlook.com>
 <20200604074134.89eb6518.freebsd@edvax.de>
 <CY4PR19MB0104DC7541A2154B5C435EA7F9890@CY4PR19MB0104.namprd19.prod.outlook.com>
X-Mailer: Claws Mail (linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 49czxZ1lkMz492L
X-Spamd-Bar: --
X-Spamd-Result: default: False [-2.98 / 15.00]; RCVD_TLS_LAST(0.00)[];
 ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048];
 XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[];
 FREEMAIL_FROM(0.00)[rocketmail.com];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.019];
 RCPT_COUNT_ONE(0.00)[1]; MID_RHS_NOT_FQDN(0.50)[];
 R_SPF_ALLOW(-0.20)[+ptr:yahoo.com];
 DKIM_TRACE(0.00)[rocketmail.com:+];
 DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject];
 RCVD_IN_DNSWL_NONE(0.00)[77.238.179.146:from];
 NEURAL_HAM_SHORT(-0.46)[-0.462];
 NEURAL_HAM_MEDIUM(-1.01)[-1.011]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[rocketmail.com];
 ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB];
 RCVD_COUNT_TWO(0.00)[2];
 RWL_MAILSPIKE_POSSIBLE(0.00)[77.238.179.146:from]
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.33
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2020 08:50:11 -0000

On Thu, 4 Jun 2020 02:14:56 -0600, Brandon helsley wrote:
>I can set up a desktop environment that has all the programs I need,
>so that's not the problem.

Please start using a MUA on your FreeBSD desktop environment.

In the archive your mails look like this:
https://lists.freebsd.org/pipermail/freebsd-questions/2020-June/289811.html

They look way more confusing, if a MUA displays HMTL text as plain text
and if this is the first choice to be displayed. A workaround some of
us are using, to be able to get the information out of even the most
worse formatted messages.

>I would like to skip the ubuntu step.

It's possible to do this. It's just helpful for some beginners.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CY4PR19MB0104052EC4AA2CF989F1A1FBF9890>