Re: NetBSD reference card (again!)
Thank you!!! Look forward in using netbsd again. :D ciao, SFC Hammond US Army 2014-08-10 10:05 GMT-04:00 Leonardo Taccari : > Hello to the entire NetBSD community! > I'm happy to announce that I've revived the NetBSD reference card > (I wrote it in 2008). > > After thinking a bit about it I saw that six years ago I did two big > mistakes: > 0. The source code of the NetBSD reference card was not easily > available through a RCS (but only via HTTP)... This discouraged a > lot contribution. > 1. I didn't discussed with all interesting users and developers for the > topics that should be part of the NetBSD reference card (IMO it > should be useful for everyone). > > I've updated it and now is finally available in this git repository: > > https://github.com/iamleot/netbsd-refcard > > It uses print/tex-leaflet and also (optionally) print/latex-mk in order > to ease the generation of the PDF. > > I've found similar material that I hope to integrate in some way or > another in the reference card: > o https://wiki.netbsd.org/tutorials/netbsd_command-line_cheat-sheet/ > [more or less all interesting commands described there are present in > the reference card] > o https://wiki.netbsd.org/users/imil/cheatsheet/ > [there are various interesting information that ATM are not in the > reference card, in particular: IPv6, build.sh example, upgrading the > system with binaries (maybe should be used sysutils/sysupgrade or > sysupdate here), and probably also a basic wpa_supplicant.conf > configuration] > > If we need more space it can be also splitted in a > ``NetBSD reference card'' and in a ``pkgsrc reference card''. > > > Every kind of critiques and comments are welcomed! > Ciao, > L. > > -- Chris Hammond 449 Frick Ave Waynesboro, PA 17268 (c) (305) 720-8407
Re: NetBSD reference card (again!)
On Wed, Aug 13, 2014 at 05:17:42PM +0200, Leonardo Taccari wrote: > > $ curl -O > 'https://raw.githubusercontent.com/iamleot/netbsd-refcard/master/netbsd-refcard.pdf' > $ file netbsd-refcard.pdf > netbsd-refcard.pdf: PDF document, version 1.5 > $ mupdf netbsd-refcard.pdf > > ...maybe you need to add "-k" to www/curl if you do not have cacert.pem > and/or you do not have set SSL_CERT_FILE or CURL_CA_BUNDLE variable. Thanks! Used wget, with no probs. -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X
Re: NetBSD reference card (again!)
Hello Chris, On Thu, Aug 14, 2014 at 02:29:17AM +1200, Chris Bannister wrote: > OOps spoke too soon! > > % mupdf netbsd-refcard.pdf > error: cannot recognize version marker > warning: trying to repair broken xref > error: cannot find page tree > mupdf: warning: Cannot load page > mupdf: discarded changes to document > > So it is not a valid pdf file? > > *groan* > > tal% file netbsd-refcard.pdf > netbsd-refcard.pdf: HTML document, UTF-8 Unicode text, with very long lines Please try to do that: $ curl -O 'https://raw.githubusercontent.com/iamleot/netbsd-refcard/master/netbsd-refcard.pdf' $ file netbsd-refcard.pdf netbsd-refcard.pdf: PDF document, version 1.5 $ mupdf netbsd-refcard.pdf ...maybe you need to add "-k" to www/curl if you do not have cacert.pem and/or you do not have set SSL_CERT_FILE or CURL_CA_BUNDLE variable. I'm sorry that I didn't provided the PDF link before. HTH, Ciao, L.
Re: NetBSD reference card (again!)
On Tue, Aug 12, 2014 at 12:32:37AM +1200, Chris Bannister wrote: > On Sun, Aug 10, 2014 at 04:05:08PM +0200, Leonardo Taccari wrote: > > Hello to the entire NetBSD community! > > I'm happy to announce that I've revived the NetBSD reference card > > (I wrote it in 2008). > > > > After thinking a bit about it I saw that six years ago I did two big > > mistakes: > > 0. The source code of the NetBSD reference card was not easily > > available through a RCS (but only via HTTP)... This discouraged a > > lot contribution. > > 1. I didn't discussed with all interesting users and developers for the > > topics that should be part of the NetBSD reference card (IMO it > > should be useful for everyone). > > > > I've updated it and now is finally available in this git repository: > > > > https://github.com/iamleot/netbsd-refcard > > > > It uses print/tex-leaflet and also (optionally) print/latex-mk in order > > to ease the generation of the PDF. > > Oh. Um is there an actual downloadable PDF some where? > > Hang on ... > > https://github.com/iamleot/netbsd-refcard/blob/master/netbsd-refcard.pdf > > Ahh! Thanks. Lucky I didn't ask without looking first. :) OOps spoke too soon! % mupdf netbsd-refcard.pdf error: cannot recognize version marker warning: trying to repair broken xref error: cannot find page tree mupdf: warning: Cannot load page mupdf: discarded changes to document So it is not a valid pdf file? *groan* tal% file netbsd-refcard.pdf netbsd-refcard.pdf: HTML document, UTF-8 Unicode text, with very long lines :( -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X
Re: NetBSD reference card (again!)
On Tue, Aug 12, 2014 at 10:53:59AM +0400, Ilia Zykov wrote: > Hello! > Maybe anybody knows how to remove an user from a secondary(additional) > group without > manual edits the /etc/group. For instance: > FreeBSD 'pw groupmod group -d user' > > Thank you. Please, don't hijack threads! Thank you. -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X
delete user from group (was Re: NetBSD reference card (again!))
On Tue, 12 Aug 2014, Ilia Zykov wrote: > Maybe anybody knows how to remove an user from a secondary(additional) > group without > manual edits the /etc/group. For instance: > FreeBSD 'pw groupmod group -d user' The user(8) tool doesn't offer it, but its code does have rm_user_from_groups function for removing from all groups. Maybe you can reuse or extend that code to have routine to only remove from defined group(s). By the way, the usermod/groupmod tool(s) on Linux (I looked at Ubuntu passwd 1:4.1.4.2+svn3283-3ubuntu5.1 package) also doesn't have this feature, but the usermod -G does remove the user from any groups not listed with the -G.
Re: NetBSD reference card (again!)
Hello! Maybe anybody knows how to remove an user from a secondary(additional) group without manual edits the /etc/group. For instance: FreeBSD 'pw groupmod group -d user' Thank you. Ilia.
Re: NetBSD reference card (again!)
On Sun, Aug 10, 2014 at 04:05:08PM +0200, Leonardo Taccari wrote: > Hello to the entire NetBSD community! > I'm happy to announce that I've revived the NetBSD reference card > (I wrote it in 2008). > > After thinking a bit about it I saw that six years ago I did two big > mistakes: > 0. The source code of the NetBSD reference card was not easily > available through a RCS (but only via HTTP)... This discouraged a > lot contribution. > 1. I didn't discussed with all interesting users and developers for the > topics that should be part of the NetBSD reference card (IMO it > should be useful for everyone). > > I've updated it and now is finally available in this git repository: > > https://github.com/iamleot/netbsd-refcard > > It uses print/tex-leaflet and also (optionally) print/latex-mk in order > to ease the generation of the PDF. Oh. Um is there an actual downloadable PDF some where? Hang on ... https://github.com/iamleot/netbsd-refcard/blob/master/netbsd-refcard.pdf Ahh! Thanks. Lucky I didn't ask without looking first. :) -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X
NetBSD reference card (again!)
Hello to the entire NetBSD community! I'm happy to announce that I've revived the NetBSD reference card (I wrote it in 2008). After thinking a bit about it I saw that six years ago I did two big mistakes: 0. The source code of the NetBSD reference card was not easily available through a RCS (but only via HTTP)... This discouraged a lot contribution. 1. I didn't discussed with all interesting users and developers for the topics that should be part of the NetBSD reference card (IMO it should be useful for everyone). I've updated it and now is finally available in this git repository: https://github.com/iamleot/netbsd-refcard It uses print/tex-leaflet and also (optionally) print/latex-mk in order to ease the generation of the PDF. I've found similar material that I hope to integrate in some way or another in the reference card: o https://wiki.netbsd.org/tutorials/netbsd_command-line_cheat-sheet/ [more or less all interesting commands described there are present in the reference card] o https://wiki.netbsd.org/users/imil/cheatsheet/ [there are various interesting information that ATM are not in the reference card, in particular: IPv6, build.sh example, upgrading the system with binaries (maybe should be used sysutils/sysupgrade or sysupdate here), and probably also a basic wpa_supplicant.conf configuration] If we need more space it can be also splitted in a ``NetBSD reference card'' and in a ``pkgsrc reference card''. Every kind of critiques and comments are welcomed! Ciao, L.