A VT switch exits current X session

2020-07-11 Thread Chris Rawnsley
Hi, Switching to one of the console terminals exits the current X session when using an external display with the laptop's internal display turned off. I have a laptop that I occasionally hook up to a larger display and, when I do so, I prefer that the lid on my laptop be closed. In other words,

Re: List a package's dependencies

2020-04-20 Thread Chris Rawnsley
feature, if it were using the proper Perl machinery, be considered? Or is this something that you absolutely do not wish to included at this time? -- Chris Rawnsley

Re: List a package's dependencies

2020-04-19 Thread Chris Rawnsley
-slang $ pkg_dependents mutt--gpgme Information for inst:mutt-1.12.2v3-gpgme Directly depends on: gettext-runtime-0.20.1p0 gpgme-1.13.1p0 libidn2-2.0.0p0 qdbm-1.8.78p2 Transitively depends on: bzip2-1.0.8 curl-7.66.0 gnupg-1.4.23p3 libassuan-2.5.1p0 libgpg-error-1.36p0 libiconv-1.16p0 libunistring-0.9.7

Re: List a package's dependencies

2020-04-19 Thread Chris Rawnsley
ave such a feature. Hopefully the shell script I posted can be useful for some. Cheers -- Chris Rawnsley

Re: List a package's dependencies

2020-04-19 Thread Chris Rawnsley
.6.13 libffi-3.2.1p5 libiconv-1.16p0 librsvg-2.46.4 libxml-2.9.9 lzo2-2.10p1 pcre-8.41p2 png-1.6.37 python-3.7.4 shared-mime-info-1.10p5 tiff-4.0.10 xz-5.2.4 -- Chris Rawnsley

List a package's dependencies

2020-04-19 Thread Chris Rawnsley
behaviour. It has limitations on what package names it can accept, it only works locally and probably has numerous other problems :). It is inlined below. -- Chris Rawnsley #!/bin/sh bin=$(basename "$0") usage() { cat </dev/null; then printf '%s\n' "${bin}: Unable

Re: Faking the same LAN over the Internet

2020-04-03 Thread Chris Rawnsley
too. As I have not got into details yet, would the NAT issue be avoided if one side of the tunnel has a public IP? -- Chris Rawnsley

Faking the same LAN over the Internet

2020-03-31 Thread Chris Rawnsley
ease point it out as that could help too. -- Chris Rawnsley P.S. the game in question is Civilization 6 and, yes, they very annoyingly restricted it to LAN-only multiplayer...

Re: Using unveil(2) to block the entire file system

2019-12-04 Thread Chris Rawnsley
On Wed, 4 Dec 2019, at 18:07, Theo de Raadt wrote: > I think it is implied, if no permissions are listed. Perhaps and it may be due my inexperience with C interfaces that I didn't think to try it. I think your wording would have been enough for me to twig so I've made the patch for that

Re: Using unveil(2) to block the entire file system

2019-12-04 Thread Chris Rawnsley
On Wed, 4 Dec 2019, at 14:08, Theo de Raadt wrote: > unveil("/", ""); > unveil(NULL, NULL); Thank you. I didn't realise that was possible. I tried to write an update to the man page for unveil(2). Is this accurate? Should I send it along to tech@? Index: lib/libc/sys/unveil.2

Using unveil(2) to block the entire file system

2019-12-04 Thread Chris Rawnsley
P.S. Any tips for debugging programmes that exit from these technologies? I've been running ktrace(1)/kdump(1) and sort of bumbling through the output which seems to work okay. -- Chris Rawnsley