Manual to cd (change working directory)

2017-12-13 Thread Freddy Fisker

Hi

I can't get the manual to the cd (change working directory) command. When I 
am trying, I get the manual to cd (ATAPI and SCSI CD-ROM driver) instead.


It's the same with: man cd

and in: https://man.openbsd.org/cd

Best regards
Freddy



Re: Manual to cd (change working directory)

2017-12-14 Thread Freddy Fisker

Thank you for the advice. I understand to use the ksh manual instead.

Best regards
Freddy



Re: Where to get Loongson hardware?

2018-01-08 Thread Freddy Fisker

Here is a link: http://zkml.lemote.com/en/


On Monday, 8 January 2018 13:17:13 CET, Otto Moerbeek wrote:

On Mon, Jan 08, 2018 at 12:47:39PM +0100, Marcus MERIGHI wrote:


m...@x9p.org (x9p), 2018.01.08 (Mon) 12:00 (CET): ...


https://encrypted.kd85.com/lemote.html

this page (with expired certificate as well) lists all models as out
of stock.

-Otto








Re: Where to get Loongson hardware?

2018-01-08 Thread Freddy Fisker

This is the business partners: http://zkml.lemote.com/en/about/contact/

It is years since I was using the Fuloong Mini-PC


On Monday, 8 January 2018 15:20:13 CET, Otto Moerbeek wrote:

On Mon, Jan 08, 2018 at 02:11:52PM +0100, Freddy Fisker wrote:


Here is a link: http://zkml.lemote.com/en/


yeah, but this actually gives no clue how to buy the products. Plus it
lists only pretty old models.

-Otto






Re: Flatbed scanner that works well with OpenBSD?

2018-01-21 Thread Freddy Fisker
I have an Epson WP-4595 Network Multifunction Printer, and the scanner 
works fine with XSane.


I also have an older Epson Perfection 2480 Photo USB scanner, but it needs 
a Firmware to run.




Re: Xfce with the .xinitrc file

2018-04-13 Thread Freddy Fisker

I only use the following in the .xinitrc file to start Xfce: xfce4-session

Best regards
Freddy


On Friday, 13 April 2018 12:38:36 CEST, Olivier REGNIER wrote:

Hi,

After xfce was installed, I used the xinitrc file found in 
/usr/local/share/examples/xfce4-session.


It is very complete.

Xfce runs but ck-launch-session is not executed.

Here is the script related to ck-launch-session:

# run xfce4-session if installed
if which xfce4-session ›/dev/null 2›&1; then

  # check if we start xfce4-session with ck-launch-session. this is only
   # required for starting from a console, not a login manager
   if test "$XFCE4_SESSION_WITH_CK" = "1"; then
 if which ck-launch-session ›/dev/null 2›&1; then
   ck-launch-session xfce4-session
 else
   echo "You have tried to start Xfce with consolekit support, but"
   echo "ck-launch-session is not installed."
   echo "Aborted startup..."
   echo

   exit 1
 fi
   else
 # start xfce4-session normally
 xfce4-session
   fi

   exit 0
 fi

Thanks for your help.





Can't start a pseudo terminal

2023-01-16 Thread Freddy Fisker

I can't start pseudo terminals in the xfce4 desktop anymore, why???

The history is that I tried to get data from a Symcode barcode scanner 
which appeared with the device name /dev/wskbd3 in the dmesg command, but I 
did not get any data. No console could make connection to the barcode 
scanner.


I made the mistake to try the same device name as the keyboard, and the 
cursor rushed forward. When I pressed a key then the character came in the 
pseudo terminal as long as I pressed the key.


I rebooted the Raspberry Pi4 computer, and since then there is no 
possibility to start a pseudo terminal for me.


A new installation of OpenBSD 7.2 current did not help.


Best regards
Freddy Fisker



Error from the PCB program

2023-02-09 Thread Freddy Fisker

The PCB do not start. This is the error:

openbsd6$ pcb 
pcb:/usr/X11R6/lib/modules/dri/swrast_dri.so: undefined symbol 
'util_streaming_load_memcpy'
libGL error: MESA-LOADER: failed to open swrast: Cannot load specified 
object (search paths /usr/X11R6/lib/modules/dri, suffix _dri)

libGL error: failed to load driver: swrast

(pcb:51925): Gtk-CRITICAL **: 08:52:43.771: IA__gtk_window_resize: 
assertion 'width > 0' failed


(pcb:51925): Gdk-WARNING **: 08:52:43.784: shmget failed: error 12 (Cannot 
allocate memory)


(pcb:51925): Gtk-CRITICAL **: 08:52:44.622: IA__gtk_window_resize: 
assertion 'width > 0' failed


(pcb:51925): GtkGLExt-WARNING **: 08:52:45.619: cannot create GdkGLContext


(pcb:51925): GdkGLExt-CRITICAL **: 08:52:45.621: 
gdk_gl_window_impl_x11_make_context_current: assertion 
'GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed

No stencil bits available.
Cannot mask polygon holes or subcomposite layers
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
No more stencil bits available, total of 0 already assigned
The program 'pcb' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
 (Details: serial 1089 error_code 2 request_code 150 minor_code 3)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() 
function.)




I hope someone can help.


Best regards
Freddy Fisker



Re: Error from the PCB program

2023-02-09 Thread Freddy Fisker

Thanks for your interest.

I forgot to mention that the problem came after the last time I updated 
OpenBSD 7.2 to current.


Best regards
Freddy Fisker


On Thursday, 9 February 2023 10:23:27 CET, John Rigg wrote:

On Thu, Feb 09, 2023 at 09:12:31AM +0100, Freddy Fisker wrote:

The PCB do not start. This is the error:

openbsd6$ pcb pcb:/usr/X11R6/lib/modules/dri/swrast_dri.so: 
undefined symbol

'util_streaming_load_memcpy'
libGL error: MESA-LOADER: failed to open swrast: Cannot load specified
object (search paths /usr/X11R6/lib/modules/dri, suffix _dri) ...


pcb fails here with following error message:
pcb: Fatal IO error 55 (no buffer space available) on X server :0.

Should this be moved to ports@ list?

John







Re: Error from the PCB program

2023-02-09 Thread Freddy Fisker
It is installed from source code I have used the PCB program. And it was 
early yesterday the problem began. Before PCB has been working on my 
Raspberry Pi4 with OpenBSD 7.2. The only difference is update of OpenBSD to 
current version. The system update I did before this one is a few weeks 
ago, and there was no problem.


I know PCB-RND come from PCB but I tried it today and the result was almost 
the same:


openbsd6$ pcb-rnd
pcb-rnd:/usr/X11R6/lib/modules/dri/swrast_dri.so: undefined symbol 
'util_streaming_load_memcpy'
libGL error: MESA-LOADER: failed to open swrast: Cannot load specified 
object (search paths /usr/X11R6/lib/modules/dri, suffix _dri)

libGL error: failed to load driver: swrast

(pcb-rnd:14635): GtkGLExt-WARNING **: 14:43:43.517: cannot create 
GdkGLContext



(pcb-rnd:14635): GdkGLExt-CRITICAL **: 14:43:43.523: 
gdk_gl_window_impl_x11_make_context_current: assertion 
'GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed

The program 'pcb-rnd' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
 (Details: serial 222 error_code 2 request_code 150 minor_code 3)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() 
function.)




I still hope there is a solution.


Best regards
Freddy Fisker



On Thursday, 9 February 2023 12:39:16 CET, Stuart Henderson wrote:

On 2023-02-09, Freddy Fisker  wrote:

Thanks for your interest.

I forgot to mention that the problem came after the last time I updated 
OpenBSD 7.2 to current.


cad/pcb didn't get built in the last set of bulk builds due to a
dependency loop in multimedia/frei0r-plugins which has since been
fixed, please either wait for a new package snapshot and run
pkg_add -u, or build from ports, and retry.

If there's still a problem then, ports@ would be the best place for it.








BackUp with Cdrecord

2018-08-07 Thread Freddy Fisker

Hi

When I try to make a backup with Cdrecord more than once with the following 
commands there is coming this messages:


openbsd1$ mkisofs -r -quiet -print-size /home/ff/div
9203690
openbsd1$ su
Password:
openbsd1# mkisofs -r /home/ff/div | cdrecord -v -sao -data \

fs=16*2048*2048 dev=/dev/rcd0c tsize=9203690s -
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-openbsd6.3) Copyright (C) 
1995-2010 J�rg Schilling

TOC Type: 1 = CD-ROM
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Cannot allocate memory. Cannot get mmap for 67112960 Bytes on 
/dev/zero.


The FIFO of fs=16*2048*2048 is to make the writing faster, but there is no 
difference with the problem. I have also been using the default FIFO of 4M.



I need to reboot the computer to make a new backup.

The dmesg list is attached.

Best regards
Freddy
OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7970263040 (7601MB)
avail mem = 7721644032 (7363MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xebe60 (16 entries)
bios0: vendor American Megatrends Inc. version "P1.10" date 05/06/2015
bios0: ASRock QC5000M-ITX/PH
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET AAFT SSDT SSDT CRAT SSDT SSDT SSDT 
SSDT
acpi0: wakeup devices GFX_(S4) GPP1(S4) GPP2(S4) GPP3(S4) SBAZ(S4) PS2K(S4) 
PS2M(S4) UAR1(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4) OHC3(S4) EHC3(S4) XHC0(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD A4-5050 APU with Radeon(TM) HD Graphics, 1547.31 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
acpitimer0: recalibrated TSC frequency 1547104472 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A4-5050 APU with Radeon(TM) HD Graphics, 1547.11 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD A4-5050 APU with Radeon(TM) HD Graphics, 1547.10 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD A4-5050 APU with Radeon(TM) HD Graphics, 1547.10 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 6 pa 0xfec01000, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpihpet0: recalibrated TSC frequency 1547097459 Hz
acpiprt0 at acpi0: bus

Re: Use xenodm like startx?

2019-01-31 Thread Freddy Fisker

Hi

I have never used the startx command. I use the xinit command together with 
the ~/.xinitrc file.


Best regards
Freddy Fisker


On Thursday, 31 January 2019 11:57:12 CET, John Ankarström wrote:

trondd  wrote:

It's not really that complicated.  The bare minimum is to copy your
.xinitrc to .xsession and then just run xenodm on demand with doas.  All
the configs already exist in /etc/X11/xenodm.  Nothing requires you to run
it at startup.

Here's what I've done: ...


Hm.  Thank you.  This works, except the environment in which I 
run xenodm is lost.  For example, I have ENV=~/.kshrc in my 
~/.profile, but this isn't inherited to X11 ... I guess I should 
add these things to my .xsession, but then I'll have it in two 
places instead of once.



Only thing I never figured out is how to make X and xenodm shutdown when I
exit my window manager.


This too makes me feel like xenodm is far too complex for what I want.







Re: Use xenodm like startx?

2019-01-31 Thread Freddy Fisker

Hi

I am using the Xfce desktop, and the only thing I am doing is making the 


file with:

$ echo xfce4-session > ~/.xinitrc


And then starting the Xfce desktop with the command:

$ xinit


Best regards
Freddy Fisker


On Thursday, 31 January 2019 16:55:20 CET, li...@wrant.com wrote:

Thu, 31 Jan 2019 12:23:08 +0100 Freddy Fisker 

Hi

I have never used the startx command. I use the xinit command 
together with 
the ~/.xinitrc file.


Hi Freddy,

Are you referring to a recent OpenBSD, or some other customised variant?
If that's a bypass of the recent security fixes don't bother responding.
I'm only interested how it solves or improves on-demand X session model.

Kind regards,
Anton Lazarov


Best regards
Freddy Fisker


On Thursday, 31 January 2019 11:57:12 CET, John Ankarström wrote: ...








Can't run the PCB program on OpenBSD 6.9

2021-05-17 Thread Freddy Fisker
When I start the PCB program on OpenBSB 6.9 then the window is only open 
for a short moment.


Running PCB from the terminal is giving this message:

 openbsd7$ pcb

 (pcb:82167): Gtk-CRITICAL **: 12:25:03.067: IA__gtk_window_resize:
 assertion 'width > 0' failed

 (pcb:82167): Gtk-CRITICAL **: 12:25:03.184: IA__gtk_window_resize:
 assertion 'width > 0' failed
 pcb: Fatal IO error 55 (No buffer space available) on X server :0.0.


There was no problem running the PCB program on OpenBSD 6.8.


Best regards
Freddy Fisker



Problem with Line Spacing in Inkscape

2022-01-14 Thread Freddy Fisker
There has for some time been a problem with the line spacing in version 
1.1.1p1 of Inkscape.


In a text the first two lines has one line spacing, and the next lines has 
the double line spacing.


Opening older Inscape documents, the same problem occures - even though 
there was no problem writing the document.


I can not imagine it is a regular change in Inkscape.

I hope someone can help.

Best regards
Freddy Fisker



Re: Problem with Line Spacing in Inkscape

2022-01-14 Thread Freddy Fisker

Thank you for your help.

Inkscape has wrote back, and the problem is known. It will be fixed in 
version 1.1.2 of Inkscape.


Best regards
Freddy Fisker



On Friday, 14 January 2022 21:08:22 CET, Chris Cappuccio wrote:

You should ask about this on Inkscape forums first

Freddy Fisker [f...@freddyfisker.dk] wrote:

There has for some time been a problem with the line spacing in version
1.1.1p1 of Inkscape.

In a text the first two lines has one line spacing, and the next lines has
the double line spacing.

Opening older Inscape documents, the same problem occures - 
even though ...








Update to Inkscape

2022-02-08 Thread Freddy Fisker
There is a version 1.1.2 update to Inkscape which have some corrections I 
need.


I hope OpenBSD will have this update soon.

Best regards
Freddy Fisker