Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
51 user(s) are online (34 user(s) are browsing Forums)

Members: 0
Guests: 51

more...

Headlines

Forum Index


Board index » All Posts (broadblues)




Re: Can lha pack files with spaces ?
Home away from home
Home away from home


@kas1e

TL;DR;

add -H0 to the options

ie full command should be

lha -H0 -a a foo.lha "bar bash"

Longer:

LHA isn't the issue it's UnArc

10.RAM Disk:> echo foo "bar bash"
10.RAM Disk:> lha a foo.lha "bar bash" 


Creating new archive 'foo.lha':
     
Stored: (  0.0%)       =>      bar bash
1 file added
all files OK.

Operation successful.

10.RAM Disk:> delete "bar bash" 
10.RAM Disk:> lha x foo.lha 


Extracting from archive 
'foo.lha':
 
Extracting: (       4/       4)  bar bash
1 file extracted
all files OK.

Operation successful.

10.RAM Disk:> list
bar bash                          4 ----rwed Today     11:36:18
foo
.lha                          40 ----rw-d Today     11:36:30


By default lha sets -H1 and when this is set Unarc shows the files with spaces with underscores but lha itself still decodes with spaces.



Go to top


Re: Small problem with https (probably)
Home away from home
Home away from home


I'm not sure if it's https related but I'm finding that since aproximatly the time https testing was announced OWB 3.30 runs at 100% CPU after loading about 65Kb of data. It never seems to recover, only happens on amigans.net as far as I can tell, though other sites do render slowly! Due to OWB having limited features it's hard to see exactly which file connection is causeing the slow down.

Works fine in Odyssey though. I do prefer OWB on my SAM as the fonet rendering is smoother, though it's gradually getting harder to use anyway on the wider net often due to asynchronous css styles that cause multiple rerendering of the page, (whichever google engineer though that was a good idea needs taking out and reeducating! but I digress....) this doesn't appear to be that problem though as no page is rendered at all.


Go to top


XMas SketchBlock Video 2019
Home away from home
Home away from home


As has become my tradition I've designed my christmas card in SketchBlock and made a time lapse video of the process. I started from a loose line drawing this time to save a bit of recording time and keep the video length manageable without speeding it up too much!

https://youtu.be/9s4WCNWorcI

Hope you like it and Merry XMas

More about sketchblock here:

http://www.broad.ology.org.uk/amiga/sketchblock/

SketchBlock Pro is available on AmiStore!

Go to top


Re: Program (paint) that can save DPaint compatible .iff?
Home away from home
Home away from home


@Raziel

ImageFX would be the best bet, will be able to render out the ILBMs in any color depth you need and wil understand most PNGs

Go to top


Re: SketchBlock Professional Edition - Verions 3.2 now available to download from Amistore
Home away from home
Home away from home


Well that's great, thanks for spreading the word about my program and letting him try it out, look forward to hearing about the feedback he has.


Go to top


Re: Is setenv() works with newlib ?
Home away from home
Home away from home


@kas1e

I'm not sure that setting env vars from the main executable of program is a good idea, they are presumably for allowing the user to choose options, if you need those options permanently set then perhaps it would be better to override the code that checkc the env var.

If you still need them as options , then wrap the main executable in a script ( in the same way as 'blender' is ascript wrapping 'bldyn' or timberwolf etc).


Go to top


Re: Is setenv() works with newlib ?
Home away from home
Home away from home


@kas1e

setenv() set a local variable (visible with getenv()) which will be inherited by all sub processes, it does not set the global ENV: variables or even the local shel variables. THis might not be obvious as the intial set of variables *is* imported from the Amiga environment.

To access / modify the amiga envoronment use IDOS->GetVar(), IDOS->SetVar(), etc.

Go to top


Re: MP3 player supporting streaming via https transport?
Home away from home
Home away from home


@eliyahu

Really? Why would people encrypt an mp3 stream? I wonder how much of the green house effect is driven by all the pointless uses of SSL when no security issues are present....

Tunenet doesn't , but shouldn't be that hard to add you could perhaps raie an enhancement request at the A-Eon mantis so ot's not so easily forgotten about.

For current solutions what about mplayer?


Go to top


Re: PERL question
Home away from home
Home away from home


YAY!

Go to top


Re: PERL question
Home away from home
Home away from home


@Raziel

Your libc.so seams to b older than newlib (53.28 verses 53.30) That may or may not be the issue but they match here.


version FE:SObjs/libc.so full
newlib.library 53.30 (12/02/2014)



Go to top


Re: PERL question
Home away from home
Home away from home


@Raziel

I now what you mean, it's really a bash script so not designed to run from an icon but the shell.

Do you have both libc.so and libgcc.so in SOBJS: ? Versions? (file sizes and dates might have to do)?





Go to top


Re: PERL question
Home away from home
Home away from home


@Raziel

It doesn't list every file it installs. Just the executables, list the lot would slow things down enormously (as there are alot of files)

To remove the existing install try

DELETE ALL SDK:local/newlib/lib/perl5/5.22.1/

That removes the "library" which of most of what perl is removing the executables is more fiddly




Go to top


Re: PERL question
Home away from home
Home away from home


Curious I'm away on tour in Ireland from tomorrow so have to get stuff ready, can't hel;p in any more depth for now. You could try installing perl from scratch from http://os4depot.net/?function=showfil ... /language/perl_newlib.lha




Go to top


Re: PERL question
Home away from home
Home away from home


I've just tested on FE: Update 1 to be sure that it's not a beta thing and it works OK on that too.

Our snoopy logs diverge here:

[code]
00292 : perl            : o.k. = Lock("SDK:Local/newlib/lib/perl5/5.22.1/ppc-amigaos-thread-multi/auto/threads/threads.pso",S
00293 : perl            : o.k. = ExamineObject(0x4610FA08) [10uS]
00294 : perl            : FAIL = Lock("SDK:Local/newlib/lib/perl5/5.22.1/ppc-amigaos-thread-multi/auto/threads/threads.bs",SH
00295 : perl            : o.k. = [exec] OpenLibrary("dos.library",53) [6uS]
00296 : perl            : o.k. = [exec] OpenLibrary("elf.library",53) [2uS]
00297 : perl            : o.k. = Open("Development:Coding/SDK/local/C/perl5.22.1",OLD) = [0x144EEA1A] [40uS]
-------> 00298 : perl            : FAIL = Open("/SDK/Local/newlib/lib/perl5/5.22.1/ppc-amigaos-thread-multi/auto/threads/threads.pso",
00299 : perl            : FAIL = Open("Development:Coding/SDK/local/C//SDK/Local/newlib/lib/perl5/5.22.1/ppc-amigaos-thread-m
00300 : perl            : FAIL = Open("Development:Coding/SDK/local/C/SObjs//
[/code

Mine caries on with doing perl stuff at that point yours seems to start searching the SOBJS path for the shared object. It's not obvious why that should be.

Random thoughts,

1. has you perl executable been stripped? For comparison

list `which perl`
Directory "Programing:SDK/local/C" on Wednesday 25-Sep-19
perl5.22.1 4841446 ----rwed 15-Dec-15 13:45:03
1 file - 4727K bytes - 9457 blocks used

2. What version of elf.library

elf.library 53.27 (10/18/2016)

3. What version of dos.library

dos.library 53.158 (09/21/2015)

4. Which way is the wind blowing?

Go to top


Re: PERL question
Home away from home
Home away from home


Hmm that suggests an installation error then.

Most obvious first does the file

SDK:Local/newlib/lib/perl5/5.22.1/ppc-amigaos-thread-multi/auto/threads/threads.pso

exist?

Other wise maybe run snoopy as you run that command line and see if it throws any obvious errors.


Go to top


Re: PERL question
Home away from home
Home away from home


@Raziel


# Many dynamic extension loading problems will appear to come from
    # this section of code: XYZ failed at line 123 of DynaLoader.pm.
    # Often these errors are actually occurring in the initialisation
    # C code of the extension XS file. Perl reports the error as being
    # in this perl code simply because this was the last perl code
    # it executed.

    
my $flags $module->dl_load_flags;
    
    
my $libref dl_load_file($file$flags) or
    
croak("Can't load '$file' for module $module: ".dl_error());


Try typing the following at console

perl -e "use threads; print 'foo\n'";

Does it throw a similar error?







Go to top


Re: Any way to suppress DOS "Please insert volume" requesters from code?
Home away from home
Home away from home


@Hans

For Amiga Os 4.x use

Quote:


NAME
SetProcWindow - Set the current process' DOS window pointer. (V50)

SYNOPSIS
APTR oldvalue = SetProcWindow( CONST_APTR newvalue );

FUNCTION
SetProcWindow() changes the current process' pr_WindowPtr to the
value specified by "newvalue".
This is the V50 supported method of setting up pr_WindowPtr in
your process structure, specifically to control where (and if)
DOS error requester windows appear.

A new process created by CreateNewProc() can set this value with
the tag: NP_WindowPtr.

There are three supported modes you can use here:-

(a) A value of NULL will cause all DOS error requester windows
for this process to appear on the Workbench or default
public screen.

(b) A value of (APTR)-1L will prevent all DOS error requester
windows from displaying. This mode will require you to
handle any unexpected errors yourself. ( see IoErr() ).

(c) A pointer to the open intuition window you wish requester
windows to be rendered upon. You will need to cast this
as an APTR.

For semantical reasons, you should restore its original value
before the nominated window is closed.

Do not use random values here, use only the specified values to
ensure future compatibility.

INPUTS
newvalue - NULL, (APTR)-1L, (APTR)windowpointer.

RESULT
oldvalue - The value previously set.

NOTES
This function is NOT callable from a task.

Before V50, you must always restore the previous value before
your process exits, as this could leave a hanging window pointer
that may be accessed after your program returned to DOS.
From V50, pr_WindowPtr will always be restored to the pre-launch
value by the InternalRunCommand() function when your program exits.

The system may not always obey your wishes to suppress or redirect
the requester windows. In some rare cases (catastrophic failure,
etc.) requester windows may still open on the Workbench or
default public screen.

SEE ALSO
Lock(), Open(), NameFromLock()



Go to top


Re: AREXX - MUI (or any other app) windows to front
Home away from home
Home away from home


@Raziel

WindowToFront operates on the location of the mouse click, so is not really of use in this regard.

DepthToFront however, generates a list of windows, so in theory were an ARexx port added or similar program created that could give list of windows to bring to front. Tricky to make 100% reliable though as a windows might get closed inbetween fetching the list of open windows and issue to the TOFRONT command. Could be a useful little tool though ...

Good time to develop your coding skills to the next level?


Go to top


Re: AREXX - MUI (or any other app) windows to front
Home away from home
Home away from home


It would be application specific as all arexx ports are.




Go to top


Re: How update the driver to my Sam460?
Home away from home
Home away from home


@trixie

Indeed both Radeon HD 1 x and 2.x show up in my Amistore / Updater downloads, this should still be the case for templario (depending which version he bought).

Could be catch 22 though if he doesn't have driver installed to get AmiStore up and running?

Go to top



TopTop
« 1 ... 9 10 11 (12) 13 14 15 ... 114 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project