Re: Timer for X-windows?

2021-10-24 Thread David Brownlee
On Sun, 24 Oct 2021 at 21:15, Edgar Pettijohn  wrote:
>
> On 10/24/21 11:06 AM, Ignatios Souvatzis (GSG) wrote:
> >
> > Am 23. Oktober 2021 04:55:21 MESZ schrieb Simon Burge :
> >
> > #!/bin/sh
> >>   $*
> >>
> >>
> >> osd_cat is in pkgsrc/x11/xosd
> >>
> >   I've used xmessage for similar tasks (in xbase)
> >
>
> Same here. Its easy enough to script a timer and pop up an xmessage.
>

... xcowsay


Re: Timer for X-windows?

2021-10-24 Thread Edgar Pettijohn



On 10/24/21 11:06 AM, Ignatios Souvatzis (GSG) wrote:


Am 23. Oktober 2021 04:55:21 MESZ schrieb Simon Burge :
  
#!/bin/sh

  $*


osd_cat is in pkgsrc/x11/xosd


  I've used xmessage for similar tasks (in xbase)



Same here. Its easy enough to script a timer and pop up an xmessage.



Re: Timer for X-windows?

2021-10-24 Thread Ignatios Souvatzis (GSG)



Am 23. Oktober 2021 04:55:21 MESZ schrieb Simon Burge :
 
#!/bin/sh
>  $*
>   
>
>osd_cat is in pkgsrc/x11/xosd
>
 I've used xmessage for similar tasks (in xbase)

-- 
GSG IfI+B-IT
CIE (Chief IPv6 Enabler)


Re: Timer for X-windows?

2021-10-24 Thread Todd Gruhn
Thanks Simon. I got the script working.
It will give me another reason to learn /bin/ksh.

So far, the only thing I learned is PERL. (just because
the syntax and power beat Apple Basic  (made in 1984) )

On Fri, Oct 22, 2021 at 10:55 PM Simon Burge  wrote:
>
> Todd Gruhn wrote:
>
> > I have a project I need to time. While I am on the computer, is there
> > an X-widget
> > that allows me to set and time a process, and has an alarm to get my 
> > attention?
> > Similar to a stopwatch?
>
> I have this little script that would pop up a reminder to do something
> every 10 minutes.
>
> #!/bin/sh
>
> FONT="-adobe-helvetica-bold-r-normal-*-*-640-*-*-p-*-iso8859-1"
>
> show()
> {
> echo $* | osd_cat -A center -p middle -c red -s 1 -d 1 -f 
> "$FONT"
> }
>
>
> while true; do
> sleep $((10 * 60))
> show $*
> sleep 1
> show $*
> sleep 1
> show $*
> done
>
> osd_cat is in pkgsrc/x11/xosd
>
> I haven't used this in over a decade.  It doesn't have a count down
> clock, but you might be able to do something with the alarm bit.
>
> Cheers,
> Simon.


Re: RAIDframe boot issues on amd64 (BIOS boot)

2021-10-24 Thread Matthias Petermann

On 22.10.21 07:58, Matthias Petermann wrote:

## Questions

  - does anyone know what the output of @'s means? I could not derive 
this from the source code of the bootxx_ffsv2 unfortunately, also did 
not find something in the error code explainations in the wiki[2]


  - could it be a BIOS limitation of my specific model and if so - how 
to explain it?


  - if the workaround is to have the wedges dk0/dk1 start in sector 63 - 
what effect does this have on the alignment? (I had read that an offset 
of 2048 is favorable).


Actually, my third question is cleared so far. According to [1] having 
an offset of 63 is not desirable at all. So I guess using this offset to 
work around the boot issues is not a good idea.


So the key to the issue might still be to find out what the @'s mean :-/ 
I would also be very thankful if someone could review my installation 
procedure (see initial mail) in case I missed some important step, or 
did something strange which results in arbitrary results depending on 
the actual hardware configuration.


Kind regards
Matthias


[1] 
https://www.thomas-krenn.com/en/wiki/Partition_Alignment_detailed_explanation