Дана 24/05/14 11:52AM, Walter Alejandro Iglesias написа:
> I learned about the convenience of adding the '-r' option in the "while
> read" loop many years ago when I was writing a script to convert roff to
> html, the problem aroused with the backslash in roff comments (.\").
That's more or less
Дана 24/05/12 07:31PM, Alexis написа:
> i wondered about that in this context. If people putting odd / inappropriate
> things in directory names are a concern ("weird characters", as you wrote
> upthread), what do we do about the possibility of someone having consciously
> put e.g. a \t in a
Дана 24/05/12 06:17PM, Alexis написа:
> To deal with spaces etc., one could possibly use something along the lines
> of the following kludge; it assumes that \n is relatively unlikely to be
> found in a directory name, and that the directories in $dirs can be
> separated by \n.
>
> cd "$target"
Дана 24/05/11 10:36PM, Страхиња Радић написа:
> cd "$target" &&
> find "$dirs" | sort | uniq > "$target_list"
Lapsus: the variable dirs should not be quoted here if it contains more
than one directory to be passed to find. It is vulnerable
Дана 24/05/11 07:41PM, Walter Alejandro Iglesias написа:
> Today I realized that the loop above is not necesary:
>
> ---
> dirs=$(echo "$files" | grep '/$')
>
> cd && find $dirs | sort | uniq > $source_list
> cd $target && find $dirs | sort
Дана 24/05/08 02:37PM, Karsten Pedersen написа:
> [...] The C program can be as simple as compiling "Hello World" to exhibit the
> issue. Takes about 15 seconds to compile "Hello World". [...]
On a Lenovo IdeaPad 3-15IGL05 81WQ[1] laptop:
$ time sh -c "printf '#include \\nint main() {
Дана 24/05/07 04:45PM, Riccardo Mottola написа:
> I too... even if I don't like where Firefox is going with their UI and rustc
> choices... I feel it is still better than Chromium, where the long arm of
> data-sucking of Google is so strong.
Some links to check out:
Дана 24/05/07 04:08PM, Martin Kjær Jørgensen написа:
> I was wondering which programs you use for
> replicating/copying/syncing environments/configs on your openbsd
> systems with between your desktops (home or work) and laptops?
git(1), rsync(1).
Дана 24/05/02 02:55PM, Harald Dunkel написа:
> SYNOPSIS
>fw_update [-adinv] [-p path] [driver ...]
>
> What is -F supposed to do? What happened to the -i?
I'm not sure what flavor are you using, but you should update it and
the packages (type ‘pkg_add -u’ as root).
With
Дана 24/04/30 01:12PM, Kirill A. Korinsky написа:
> You may download it by hand and install as fw_update /path/to/firmware.tgz
BTW, this is in fw_update(8).
man 8 fw_update
/SYNOPSIS
Дана 24/04/26 11:44AM, Alexis написа:
> One thing not mentioned there is top-posting, which is common outside tech
> communities, but often frowned upon within tech communities. 'Top-posting'
> involves adding one's reply _before_ the message one is replying to, rather
> than _after_.
Some links
Hi, I'd just like to report that I found the solution to the issue with GLX. It
was the environment variable
export LIBGL_ALWAYS_INDIRECT=1
which I read about in some search results about Ungoogled Chromium crashing
(also LIBGL_ALWAYS_SOFTWARE was suggested as an alternative to try),
Дана 24/04/15 02:25AM, Jeremy Mates написа:
> TL;DR it's TERMINFO related or when ~/.terminfo exists and no TERM file
> exists therein. Also trying to read "none" (or maybe also "none.db" when
> the TERMINFO thing happens) from the current working directory might not
> be a good idea, if an
> [drm] failed to load ucode RLC_RESTORE_LIST_CNTL(0x28) [drm] psp gfx
> command
I have found mention of similar lines output by Linux, even though the issue is
completely different:
https://lore.kernel.org/all/bug-216806-2...@https.bugzilla.kernel.org%2F/T/
there it was reported that
> It
Дана 24/04/12 08:46AM, Stuart Henderson написа:
> Unrelated, but: pkg_add -U is mostly for people running snapshots,
> wanting to install a new package without doing a full pkg_add -u run.
According to pkg_add(1) manpage, the -U option is used to update the
dependencies if required before
Дана 24/04/11 12:45PM, Jose Maldonado написа:
> Hi! Are you installed the firmware?
Yes, I have (using the fw_update). I also did `pkg_add -Uu` after upgrading to
7.5, for that matter.
> doas fw_update -av
I get:
$ doas fw_update -av
fw_update: add none; update none; keep
Hi, I noticed that running glxinfo on OpenBSD-release 7.5 amd64 gives an error:
$ glxinfo
X Error of failed request: BadValue (integer parameter out of range
for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24
Дана 24/04/08 06:56PM, Nick Holland написа:
> My 100% guess is that you have a machine that's very dependent upon
> ACPI, and the install kernel's ACPI support is very minimal, or
> has a funny UEFI system. Or a funny BIOS. Some machines work better
> as UEFI, some work better running BIOS. A
Дана 24/04/07 12:46PM, Страхиња Радић написа:
> Ok. The alternative would be to find a way to make 7.5 efifb work on my
> laptop.
> The version of efifb from 7.4 works (that is how I installed 7.4 in the first
> place), unlike 7.5 efifb.
I'd just like to add that it efifb mi
Дана 24/04/07 10:32AM, Stuart Henderson написа:
> None of the ramdisk kernels include these large drivers (no difference
> in that respect between 7.4 and 7.5, or any other release).
Ok. The alternative would be to find a way to make 7.5 efifb work on my laptop.
The version of efifb from 7.4
Дана 24/04/07 10:11AM, Stuart Henderson написа:
> Yes. It's very common though, especially when constructing strings for
> debug logging. I see this a lot with software in the GNOME ecosystem
> using sprintf for this.
Programmers who pass NULL to %s format specifier are writing incorrect code,
Дана 24/04/07 11:57AM, Sebastien Marie написа:
> Here, you are comparing GENERIC.MP kernel with RAMDISK_CD kernel.
>
> A RAMDISK_CD kernel is a reduced kernel with only what is necessary to
> install openbsd. radeondrm and amdgpu are NOT part of it, and it is
> expected.
Is there any way for me
As a follow-up to my previous post, after rereading [1], I tried to compare the
status of radeondrm, efifb and amdgpu in 7.4 /bsd boot and 7.5 /bsd.upgrade
boot. I got this (manually retyped to avoid large attachments):
1. The result of entering `boot -c` at the `boot>` prompt with /bsd.upgrade
Дана 24/04/06 06:04PM, Stuart Henderson написа:
> The fact that these all started hitting this with the same printf string
> (including tmux, which is in base) makes me wonder if it's coming from a
> library, the most likely being libcurses which was updated between 7.4
> and 7.5 (which all of
Дана 24/04/06 02:42PM, Eivind Eide написа:
> tmux: vfprintf %s NULL in "%.*s"
> bash: vfprintf %s NULL in "%.*s"
> multitail: vfprintf %s NULL in "%.*s"
> vim: vfprintf %s NULL in "%.*s"
This happens in OpenBSD when a program passes NULL pointer to *printf family of
functions. The bug reports
On 24/04/03 12:25AM, jslee wrote:
> Thirdly, I recommend avoiding using /bin/sh in the #! line if you intend
> things to be portable because:
>
> * on Linux it might be bash or dash or busybox, depending on distribution
> * on macOS it might be bash or zsh or dash, depending on the state of a
On 24/03/21 04:58PM, Kirill Miazine wrote:
> in this case I added escaped newlines when posting, i have all on one line,
> but I think i could have scripts where a pipe is followed by escaped
> newline. have to check that one.
BTW, this also applies to lists[1], for example:
! false &&
On 24/03/20 08:15AM, Kirill Miazine wrote:
> #!/bin/sh
> ifconfig wg1 | \
> grep wgaip | \
> awk '{print $2} ' | \
> grep /32$ | \
> sed 's/\/32//' | \
> sort | while read x; do
> ping -w 1 -c 1 $x 2>&1
> done
Just FYI, you don't need backslashes (\) here, as the command
On 24/03/11 05:24PM, beecdadd...@danwin1210.de wrote:
> didn't reboot, and I didn't mention but other files both from yt-dlp and
> the folder structure of torrenting are there, and yt-dlp said that video
> and other files are downloaded
Check the directory given to yt-dlp as the parameter to -o
Hi, a while ago I've sent a report[1] on bugs@ about the touchpad support on
Lenovo IdeaPad 3 I have installed OpenBSD on, which received no reply. The
issue is that touchpad doesn't work at all in OpenBSD - moving the finger
across the touchpad surface doesn't move the pointer and tapping on
On 24/03/08 11:37PM, Dan wrote:
> * depending on one general font for text, often a
> monospaced one, they will have no luck to display emoji anyway.
No, this depends on fontconfig[1] configuration.
[1]: https://fontconfig.pages.freedesktop.org/fontconfig/fontconfig-user.html
On 24/03/08 09:40PM, Dan wrote:
> Tested in 7.4 Xfce, Firefox and Badwolf titlebar don't support emojicon
> (tested: flags) like from the picture attached.
While OpenBSD doesn't support color emoji[1] like Noto Color Emoji, you can use
the font Symbola from the package symbola-ttf as a
32 matches
Mail list logo