Re: Programming Motif / mwm
In emwm you can put these in .Xresources: Emwm*renderTable: variable Emwm*renderTable.variable.fontType: FONT_IS_XFT Emwm*renderTable.variable.fontName: Droid Sans !menu font size Emwm*renderTable.variable.fontSize: 9 Emwm*renderTable.variable.fontStyle: Regular On Sat, May 18, 2024 at 7:47 PM Todd Gruhn wrote: > > I want to tweek the menu used in Motif. > > I want it larger; can I make the fonts bigger? > > I believe there is no 'f.font' . Is it possible to do this? > Then how?
Re: efibootmgr
Hello! Thank you for your response but unfortunately this is not what I am looking for :) gpt(8) works with partitions and, yes, it can modify some attributes. But I'm looking for a utility that can add netbsd loader into the UEFI boot menu. Anyway, I have solved the problem by booting into FreeBSD live images and issuing: efibootmgr -a -c -l /mnt/EFI/boot/bootx64.efi -L NetBSD Now I have a "NetBSD" entry along with other OSes in the boot menu. On Sat, May 4, 2024 at 7:40 PM Martin Neitzel wrote: > > VS> Does NetBSD have efibootmgr or any similar utilities to add/modify > VS> UEFI boot entries? > > apropos(1) doesn't turn up "efibootmgr or any similar utilities" > as in Free/DragonflyBSD, but gpt(8) may be able to do what you need: > > gpt set -l > gpt set [-a attribute] [-N] [-i index] [-b startsec] > The set command sets various partition attributes. The -l flag > lists all available attributes. The -a option specifies which > attributes to set and may be specified more than once, or the > attributes can be comma-separated. If the -N option and no -a > option are specified, all attributes are removed. The -i or the > -b option specify which entry to update. The possible attributes > are “biosboot”, “bootme”, “bootonce”, “bootfailed”, “noblockio”, > and “required”. The biosboot flag is used to indicate which > partition should be booted by legacy BIOS boot code. See the > biosboot command for more information. The bootme flag is used > to indicate which partition should be booted by UEFI boot code. > The other attributes are for compatibility with FreeBSD and are > not currently used by NetBSD. They may be used by NetBSD in the > future. > > [Same for NetBSD-8/9/10/current; caveat: I'm pretty clueless about about > UEFI myself.] > > Martin Neitzel
efibootmgr
Hello! Does NetBSD have efibootmgr or any similar utilities to add/modify UEFI boot entries?
Re: Use a wallpaper
If you start X with startx, then you can put "feh --bg-fill wallpaper.png" into .xinitrc before last "exec " ср, 17 апр. 2024 г., 23:35 Todd Gruhn : > My current root (?) window is black. > > How do I put a graphic or wallpaper on there > when I start X11? >
Re: Raspberry pi for network vpn
Vlan works as a completely separate interface. So having two vlans on a single physical interface means they behave as two physical network cards. So yes, you can forward traffic between them пт, 22 мар. 2024 г., 21:09 Justin Parrott : > does that forward? > > On Fri, Mar 22, 2024 at 12:53 PM Vitaly Shevtsov > wrote: > >> maybe vlan? >> >> пт, 22 мар. 2024 г., 18:51 Justin Parrott : >> >>> the packet filter can probably forward packets. >>> >>> On Fri, Mar 22, 2024 at 11:44 AM xuser wrote: >>> >>>> Does any one know how to forward packets from one alias to another? >>>> The raspberry pi has one ethernet socket. >>>> >>>> >>> >>> -- >>> Justin Allen Parrott >>> >> > > -- > Justin Allen Parrott >
Re: Raspberry pi for network vpn
maybe vlan? пт, 22 мар. 2024 г., 18:51 Justin Parrott : > the packet filter can probably forward packets. > > On Fri, Mar 22, 2024 at 11:44 AM xuser wrote: > >> Does any one know how to forward packets from one alias to another? >> The raspberry pi has one ethernet socket. >> >> > > -- > Justin Allen Parrott >
Re: RC6 (and later)
Because they can. Why not? On Fri, Mar 15, 2024 at 3:17 PM Todd Gruhn wrote: > > There is now NetBSD-10.0RC6 -- I don't ever recall seeing RC5 or later. > > Why so many *RC created this time?
Re: On dbus
Idk if there is such an option, I guess there is no. This is what I have in /etc/mk.conf and none of packages installed dbus as a dependency : PKG_OPTIONS.gtk3=-gtk3-atk-bridge -wayland -cups x11 PKG_OPTIONS.qt5=-dbus -cups PKG_OPTIONS.libcups=-dbus -dnssd -kerberos PKG_OPTIONS.wine=-cups -dbus -sane x11 On Wed, Dec 20, 2023 at 10:05 PM Todd Gruhn wrote: > > WOW -- thanks. > > Is there a nice way to tell pkgsrc "dont use dbus" (for ALL packages) > /etc/mk.conf ? > > On Wed, Dec 20, 2023 at 4:23 PM Vitaly Shevtsov wrote: > > > > Just build your packages without dbus and it will do the trick. > > > > On Wed, Dec 20, 2023 at 3:17 PM Todd Gruhn wrote: > > > > > > Is there a best-way to leave dbus off? (dbus=NO) > > > Use it only when it is needed? > > > > > > On Wed, Dec 20, 2023 at 7:58 AM Vitaly Shevtsov > > > wrote: > > > > > > > > It is used for IPC (interprocess communication) in desktop > > > > applications, usually in Desktop Environments. It is when one > > > > application sends a notification to another application. > > > > > > > > I never use it, since I use fvwm/xterm/firefox only. > > > > > > > > On Tue, Dec 19, 2023 at 6:22 PM Todd Gruhn wrote: > > > > > > > > > > I have any owners names tgruhn.dbus -- where does the group > > > > > dbus come from? It messed up cvsroot. > > > > > > > > > > Can I just shut dbus off? > > > > > > > > > > How often is dbus uses? Do I NEED IT???
Re: On dbus
Just build your packages without dbus and it will do the trick. On Wed, Dec 20, 2023 at 3:17 PM Todd Gruhn wrote: > > Is there a best-way to leave dbus off? (dbus=NO) > Use it only when it is needed? > > On Wed, Dec 20, 2023 at 7:58 AM Vitaly Shevtsov wrote: > > > > It is used for IPC (interprocess communication) in desktop > > applications, usually in Desktop Environments. It is when one > > application sends a notification to another application. > > > > I never use it, since I use fvwm/xterm/firefox only. > > > > On Tue, Dec 19, 2023 at 6:22 PM Todd Gruhn wrote: > > > > > > I have any owners names tgruhn.dbus -- where does the group > > > dbus come from? It messed up cvsroot. > > > > > > Can I just shut dbus off? > > > > > > How often is dbus uses? Do I NEED IT???
Re: On dbus
It is used for IPC (interprocess communication) in desktop applications, usually in Desktop Environments. It is when one application sends a notification to another application. I never use it, since I use fvwm/xterm/firefox only. On Tue, Dec 19, 2023 at 6:22 PM Todd Gruhn wrote: > > I have any owners names tgruhn.dbus -- where does the group > dbus come from? It messed up cvsroot. > > Can I just shut dbus off? > > How often is dbus uses? Do I NEED IT???
Re: ssh and libsqlite.so
I found a way to achieve what I wanted :) There is an option MKMAKEMANDB in mk.conf that does exactly what I want: $ ldd `which apropos whatis` /usr/bin/apropos: -lc.12 => /usr/lib/libc.so.12 /usr/bin/whatis: -lc.12 => /usr/lib/libc.so.12 $ file /usr/share/man/whatis.db /usr/share/man/whatis.db: ASCII text, with very long lines (6084) It also requires to change _mandb to whatdb in /etc/man.conf On Wed, Oct 25, 2023 at 7:49 PM Vitaly Shevtsov wrote: > > Makes sense, Abhinav. Thanks for the clarification. > > On Wed, Oct 25, 2023 at 6:13 PM Abhinav Upadhyay > wrote: > > > > On Wed, Oct 25, 2023 at 6:25 PM Vitaly Shevtsov > > wrote: > > > > > > Hello! > > > > > > No, I'm not saying to remove sqlite from the base image completely. Of > > > course not, since some binaris depend on it. > > > My point is that Full Text Search for apropos and whatis was > > > implemented for NetBSD by using sqlite in 2012 as GSOC. So I think now > > > it's no longer needed for apropos/whatis since the modern mandoc > > > > The semantic search of mandoc's apropos(1) is not the same as "full > > text search" of NetBSD's apropos(1). > > > > The mandoc apropos implementation works on expressions, where you can > > specify a specific mdoc macro and its value. The search will produce > > results containing man pages which satisfy that expression. > > > > On the other hand, NetBSD apropos will work like a typical search engine. > > > > I've never understood the usefulness of doing markup based search, it > > expects the user to have an intimate knowledge of the mdoc macros to > > effectively use it. But I might be biased. > > > > > supports semantic search using POSIX API only. > > > > We could implement full text search using POSIX APIs as well, but if > > Sqlite gives it out of the box, it is extra maintenance work. > > > > - > > Abhinav
Re: ssh and libsqlite.so
Makes sense, Abhinav. Thanks for the clarification. On Wed, Oct 25, 2023 at 6:13 PM Abhinav Upadhyay wrote: > > On Wed, Oct 25, 2023 at 6:25 PM Vitaly Shevtsov wrote: > > > > Hello! > > > > No, I'm not saying to remove sqlite from the base image completely. Of > > course not, since some binaris depend on it. > > My point is that Full Text Search for apropos and whatis was > > implemented for NetBSD by using sqlite in 2012 as GSOC. So I think now > > it's no longer needed for apropos/whatis since the modern mandoc > > The semantic search of mandoc's apropos(1) is not the same as "full > text search" of NetBSD's apropos(1). > > The mandoc apropos implementation works on expressions, where you can > specify a specific mdoc macro and its value. The search will produce > results containing man pages which satisfy that expression. > > On the other hand, NetBSD apropos will work like a typical search engine. > > I've never understood the usefulness of doing markup based search, it > expects the user to have an intimate knowledge of the mdoc macros to > effectively use it. But I might be biased. > > > supports semantic search using POSIX API only. > > We could implement full text search using POSIX APIs as well, but if > Sqlite gives it out of the box, it is extra maintenance work. > > - > Abhinav
Re: ssh and libsqlite.so
Hello! No, I'm not saying to remove sqlite from the base image completely. Of course not, since some binaris depend on it. My point is that Full Text Search for apropos and whatis was implemented for NetBSD by using sqlite in 2012 as GSOC. So I think now it's no longer needed for apropos/whatis since the modern mandoc supports semantic search using POSIX API only. On Wed, Oct 25, 2023 at 3:28 PM Martin Neitzel wrote: > > > I found that apropos and whatis from the modern mandoc no longer > > depend on libsqlite.so. > > Maybe it's time to switch to it and make the base image less dependent > > on third-party libraries? > > Personally, since sqlite *did* incorporated into base, I started to > rely a bit on it. So does our (base) postfix (check postconf -m). > Removing sqlite again would appear a bit willy/nilly to me. That's > how the fads of the year are treated in Ubuntu but (hopefully) not > in NetBSD. > > Moreover, Richard Hipp as its author is doing an awsome job keeping > sqlite itself trouble-free and DBs upgradable, too. It is probably > the SQL db with the least overhead. Is keeping it in base really a > big burden? > > Note that I am not arguing against the latest and greatest > mandb (without sqlite as a requirement). > > Martin Neitzel
Re: ssh and libsqlite.so
Hello! I found that apropos and whatis from the modern mandoc no longer depend on libsqlite.so. Maybe it's time to switch to it and make the base image less dependent on third-party libraries? --- MAJOR NEW FEATURES --- * apropos(1): Reimplement complete semantic search functionality without the dependency on SQLite3, using only POSIX APIs. This comes with a completely new mandoc.db(5) file format. On Sat, Oct 7, 2023 at 1:03 AM Vitaly Shevtsov wrote: > > Hello! > > Why is ssh linked with libsqlite.so? > I'm trying to create my own fork of apropos and whatis utils (I don't > like classic UNIX utilities to depend on 3rd party libraries) and > found that there are a lot of utilities that link to libsqlite.so. ssh > and dig are few of them. Is this how it should be?
ssh and libsqlite.so
Hello! Why is ssh linked with libsqlite.so? I'm trying to create my own fork of apropos and whatis utils (I don't like classic UNIX utilities to depend on 3rd party libraries) and found that there are a lot of utilities that link to libsqlite.so. ssh and dig are few of them. Is this how it should be?
ssh is linked to libsqlite.so
Hello! Why is ssh linked with libsqlite.so? I'm trying to create my own fork of apropos and whatis utils (I don't like classic UNIX utilities to depend on 3rd party libraries) and found that there are a lot of utilities that link to libsqlite.so. ssh and dig are few of them. Is this how it should be?
Re: Does any common mortals here (not programmers or sysads) use NetBSD as their daily productivity driver?
I would use with pleasure if it supported my wifi chip and amd ryzen vesa card (integrated) вт, 27 сент. 2022 г., 16:35 Ottavio Caruso : > If so, what can you not do on NetBSD that you can do on any other OS? > > I'm pretty sure I'm going to miss DRM. What else do I have to put up with? > > -- > Ottavio Caruso > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? >
Re: Test USB
I'm not sure what you mean, but kernel reports this in dmesg On Thu, Aug 25, 2022 at 9:26 PM Todd Gruhn wrote: > > If I attach anything to a USB port ; how to I ping all USB ports to see if > this > device is attached ? > > If I messed up, I had a brain operation...
ACPI on thinkpad t495
Hello! I have a thinkpad t495 (AMD Ryzen powered) Neither NetBSD-current nor 9.3 cannot boot on it. It hangs on: [] ugen1: vendor 06cb (0x06cb) product 00bd (0x00bd), rev 2.00/0.00, addr 5 If I boot with no ACPI support (boot -2 from the loader) then it boots fine. Is there a way to boot it without disabling ACPI? Maybe recompile the kernel with some specific options? Thanks, Vitaly
xterm and desktop-file-utils dependency
Hello! Can desktop-file-utils be optional for xterm? Because this dependence requires heavy glib2 and it seems removing it from x11/xterm/Makefile has no side effects. Thanks
Re: Is there any way i could use amdgpu on an r7 amd a8 apu or an r7-240 ?
I have the same problem with my Thinkpad T495. I tried to put the firmware into /libdata/firmware/amdgpu but it didn't help. Also, the Intel WirelessAC 9260 card doesn't work. On OpenBSD both devices are recognized and work. On Sun, Apr 24, 2022 at 6:36 PM chris greek wrote: > > Is there any way i could use amdgpu on an r7 amd a8 apu or an r7-240 ?
Re: Setting ACCEPTABLE_LICENSES in /etc/mk.conf
Hello! I'm pretty sure you can use space as a delimiter: ACCEPTABLE_LICENSES= \ cc-by-sa-v3.0 \ cc-by-sa-v4.0 \ cc-by-v4.0 On Sat, Apr 17, 2021 at 3:10 AM Todd Gruhn wrote: > > Can ACCEPTABLE_LICENSES have several values separated > by commas-- or must they all be on separate lines?
Third Party Software
Hello! According to this one - https://www.netbsd.org/docs/software/3rdparty/ and this - https://www.netbsd.org/changes/changes-10.0.html#libuv libuv is part of the base system, is it? I've installed a fresh current version 9.99.69 but found nothing regarding libuv. How can I take advantage of the fact that the libuv is distributed with NetBSD? __ Thanks!
Re: cvs better than git?
If NetBSD ever switchs to hg, does it mean that python will be included in base image because hg is written in Python? On Wed, Jun 17, 2020 at 3:38 PM mayur...@kathe.in wrote: > > On Wednesday, June 17, 2020 03:42 PM IST, Mayuresh wrote: > > > On Wed, Jun 17, 2020 at 11:51:48AM +0200, Matthias Petermann wrote: > > > Will downstream projects such as pkgsrc and pkgsrc-wip also adopt > > > Mercurial and use them as their official SCM? That would be great. > > > > wip adopted git after a lot of deliberation.. Hope we don't change it > > again... wip is the layer with largest count of people with push access > > and unless there is some really good reason changing again is unnecessary. > > [snip] > > I am unsure about reasons behind NetBSD's inclination towards hg instead > > of git. > > reasons! i am thinking along the lines of "hg" being more modern that 'cvs', > but _is_not_ "git". > but then again, _wip_ does use "git", so what's the problem with using "git" > across the board? > for a project which is as financially constrained as "netbsd", it would make > "a lot of sense" to out-source as much of the infrastructure to free services > as possible. > also, as i'd written in previously, if countries are going to ban access to > "github" because of some reason, there's no guarantee that they would not > also ban access to "netbsd" repositories, even if they are using 'cvs' or > "hg", and if github is being compelled to ban access to certain countries due > to US government regulations, those same regulations would apply to the > "netbsd foundation" too and hence lead to enactment of bans from certain > countries by the foundation to "netbsd" repositories. > i wonder where the actual problem is, but something does smell fishy. >
Re: Asterisk video conferences using NetBSD?
Hello! Sorry for the late reply. I don't know if sipjs supports video conference. I used it for p2p video call and that worked well. Regarding to letsencypt, I've never used it, sorry. On Thu, Apr 23, 2020 at 2:48 PM Mayuresh wrote: > > On Wed, Apr 22, 2020 at 11:50:21PM +0500, Vitaly Shevtsov wrote: > > I used asterisk and both firefox and chromium browser with WebRTC > > through sipjs as a client phones. Worked perfectly. But I used Linux > > browsers were run under Linux so I don't know if webrtc works at all > > on NetBSD. > > That's fine. My server is NetBSD. Clients would be phones or Windows. > > Does sipjs support video conference calls? > > Mayuresh
Re: Asterisk video conferences using NetBSD?
I used asterisk and both firefox and chromium browser with WebRTC through sipjs as a client phones. Worked perfectly. But I used Linux browsers were run under Linux so I don't know if webrtc works at all on NetBSD. On Wed, Apr 22, 2020 at 11:01 PM Mayuresh wrote: > > On Wed, Apr 22, 2020 at 10:24:24AM -0700, Tom wrote: > > The bigger question is what software are you going to use that can do > > video SIP calls? > > I expect majority of users to use mobile phones. For audio usually most > phones had sip clients and that worked in my past setup which was audio > only. Not sure about video. BTW Linphone has a version on android which > should work, I guess, for android phones. Not sure about iphones. > > For a few laptop users, difficult to ask them to install something. Is > there any way to get it to work with a browser - like some of the > proprietary systems do? > > Mayuresh
Re: logout delay
I just log in from physical console (/dev/constty). If I use urxvt under X11, it closes immediately. On Tue, Apr 21, 2020 at 6:35 PM Andreas Kusalananda Kähäri wrote: > > On Mon, Apr 20, 2020 at 02:06:23AM +0500, Vitaly Shevtsov wrote: > > Hello! > > > > Does anybody know why there is about 1 second delay before OS exited > > from the shell? There is no such issue on FreeBSD for example - it > > quits immediately when you type 'exit' or press ^D. > > How do you run the shell session (and what shell)? Is it in a terminal > (which one), or in a tmux pane, or a GNU screen window? > > I can see the same sort of delay on OpenBSD when exiting a shell when > that also means closing a tmux pane. > > -- > Andreas (Kusalananda) Kähäri > SciLifeLab, NBIS, ICM > Uppsala University, Sweden > > .
Re: logout delay
Greg, you're right! It seems to be a getty issue not shell itself. As I mentioned before (but chosen incorrect responder) I type 'exit', wait ~1 second then login prompt appears. And I tried many shells with the same result. Actually, I stopped worried about this because it happens only on getty logout. I log in once a day then dive into X and don't see getty until I turn computer on the next day :) I just wonder if somebody knows what the issue is. On Tue, Apr 21, 2020 at 6:26 PM Greg Troxel wrote: > > Gua Chung Lim writes: > > > * Vitaly Shevtsov wrote: > >> Does anybody know why there is about 1 second delay before OS exited > >> from the shell? There is no such issue on FreeBSD for example - it > >> quits immediately when you type 'exit' or press ^D. > > I would suggest looking into what's actually happening. I would suspect > that the shell actually exits promptly, and that the delay is between > that and getty printing a new "login:" prompt. > > If that doesn't make sense, please be much more precise about what > you're talking about.
mDNS
Hello! What's the point having mDNS in base image instead of installing it from pkgsrc when it's really needed? -- Vitaly
Re: mDNS in base image
Clear! Thanks. On Mon, Apr 20, 2020 at 9:23 PM Greg Troxel wrote: > > Vitaly Shevtsov writes: > > > What's the point having mDNS in base image instead of installing it > > from pkgsrc when it's really needed? > > This can be said of a fairly large number of things in base. The > question becomes what is normal/core, and what is extra. One > consideration is that base is cross compiled, where pkgsrc does not > really work cross. > > mdnsd seems quite normal to want on a machine, and I expect it's used > more often than an authoritative nameserver or a DHCP server, and > perhaps on par with an MTA. > > So your question is based on a faulty premise, that things are evicted > from base if it's possible to build them from pkgsrc. > > > Things are occasionally removed from base if there is broad consensus > that the overall NetBSD user community would be better off within them > in base. So far, I see no reason to think mdnsd is one of them.
mDNS in base image
Hello! What's the point having mDNS in base image instead of installing it from pkgsrc when it's really needed?
logout delay
Hello! Does anybody know why there is about 1 second delay before OS exited from the shell? There is no such issue on FreeBSD for example - it quits immediately when you type 'exit' or press ^D.
launchd
Hello! I've recently saw this project http://wiki.netbsd.org/projects/project/launchd-port/ and quite confused about it. Is it really one of netbsd's goals? It seems to me classic BSD init is much cleaner and precise. Sad to see this in project goals. sorry. -- Vitaly