Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
44 user(s) are online (29 user(s) are browsing Forums)

Members: 0
Guests: 44

more...

Headlines

Forum Index


Board index » All Posts (kas1e)




Re: CON: and command line length!
Home away from home
Home away from home


@JosDuchIt

In your echo example 220 bytes (if you post the whole line). Shell limit usually on all oses (include linuxes) 256-1024 bytes.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Initial steps with AmiFig 3.0 on aos4, version #2
Home away from home
Home away from home


@xenic
If you not in interest or not have time to add all of this to sourceforge, then send it to me at kas1e@yandex.ru, and i will add it myself (or will send it to yannick via email). Or you can do it yourself via PM on aros-exec :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: CON: and command line length!
Home away from home
Home away from home


@Deniil

Yep, i always do it like that. For example pretty offten when you compile something heavy (with many objects and options), you cant put the whole line to shell , and because of it i just create "make.bat", put everything here, and then "execute make.bat".

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: CON: and command line length!
Home away from home
Home away from home


@Deniil
Btw, for me, in most unixes which i see (and sunos, and freebsd, and irix, and others), almost all the time argument lenght are stripcted to something like 512-1024 bytes usually (in sh/bash/ksh/tch). I think its just to avoid bufferoverflow problems when anyone can crash the programm by long line.

But for example from scripts and programms, you can specify the big line as you can.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Quake II flickering on sam440ep?
Home away from home
Home away from home


@carvedeye

Here is

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Need some help to close active window by input.device
Home away from home
Home away from home


@all

There is full test-source code.
Compiling line are:
Quote:

gcc -D__USE_INLINE__=1 test.c -lamiga -lauto


You can run it with run >NIL: (to make it fully commoditie), or just as it (in that way it also will be as commodite, but can be stopped by ctrl+c).

Maybe someone can point me why it not works ? It close by alt+f5 all the app windowses, but not WB ones.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Need some help to close active window by input.device
Home away from home
Home away from home


@centaurz
Imho code the same as my.. I changed also PUBLIC on SHARED => all the same. I also check window_bar_dockye - pretty strange works with closing of active windowses. It show meny for "close" only when window are not active, and for now i cant found how to close active window by that dookie.

But for example FKEY commoditie, works fine for "close window". Active it or not. Dunno through, which way it use (maybe not input.device, but something else?). What is a bit strange for me: why my code works for all the windowses, but not for WB ones ? I.e. for dopus4, for shell, for owb, for notepad, for any programm it works. But when i try to close by that combo WB window, it just start to be not-active, but not closes.


Edited by kas1e on 2010/9/11 11:15:14
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Need some help to close active window by input.device
Home away from home
Home away from home


I trying to port little commoditie from os3, to os4, and for one of key-combos, i want to close any active window. Code looks like this:

case EVT_HOTKEY:

              
lock LockIBase(0);
              
window=((struct IntuitionBase *)IntuitionBase)->ActiveWindow;
              
UnlockIBase(lock);

//----- close active window by input.device

              
input_mp=CreateMsgPort();
              
io=CreateIORequest(input_mp,sizeof(struct IOStdReq));
              
OpenDevice("input.device",NULL,(struct IORequest *)io,NULL);

              
IE=AllocMem(sizeof(struct InputEvent),MEMF_PUBLIC);

              
IE->ie_Class IECLASS_CLOSEWINDOW;
              
IE->ie_EventAddress = &window;

              
io->io_Command IND_WRITEEVENT;
              
io->io_Length sizeof(struct InputEvent);
              
io->io_Data = (APTR)IE;


              
DoIO((struct IORequest *)io);

              
CloseDevice((struct IORequest *)io);

              
DeleteIORequest(io);

              
FreeMem(IE,sizeof(struct InputEvent));

              
DeleteMsgPort(input_mp);
//------
              
break;


The problem, that when i run commoditie, all the applications windowses (like notpade, dopus4, etc), closes fine. But WB windowses are not. I.e. i press for example on "system" icon, have opened window, press by key-combo, and window not closes (but start to be inactive).

On os3 it works fine, and close all the windowses of any app, and WB itself too. Any ideas ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: HOWTO for the running the last Eludes demos !
Home away from home
Home away from home


@tommysammy

There is nothing what you need to fix. You download the demos and run it with some different arguments, which give possibility to watch it on os4.

(i.e. uploading to os4, will make no sense). And all in all its 68k binary, not aos4 native.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


HOWTO for the running the last Eludes demos !
Home away from home
Home away from home


Some of you which are in interest in amiga demoscene, will be in interest to know, that the latest Elude demos works fine on aos4 when you add few swithch to it.

In general, all the demos from Elude are runs, but, the first ones are have bugs on os4, some effects just not works, some parts of animation just not showns (and that can be because of different emulation of aos3 stuff on aos4 and morphos. On aos3 and on morphos all works fine, thourgh). Anyway, the last 2 demos works fine.

So, for the all Elude prods you can go at their site HERE. But for now, site not updated by the new and fresh demo (Dust), so i will put direct links on.

Dust (fresh one, from the 3 days ago RiwerWash party, 1st place),

Resized Image

and

We come in peace (1st place at breakpoint2010).

Resized Image

Demos are 68k and system friendly, and because of it it works on all amiga and amiga like oses (except AROS of course).

For running on os4 you need to provide those args for the binaryes:

Quote:

binary.exe -ahi -cgx -morphos -double -wide


By that switch-combo you will have full-screen working demo.

And by that:
Quote:

binary.exe -ahi -cgx -morphos


You will have window mode of demo. But while the Dust works in window mode, We Come In Piece works only in FullScren (that is because -morphos swith was added only now, and it say to os4, that demo should use some NG stuff).

Have fun ! And thanks to Kiero for his help with all that stuff which help to run it os4 as well.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Quake II flickering on sam440ep?
Home away from home
Home away from home


@all
Did you use old version of quake2 or new one (done few weeks ago by xeron) ? Also its flickering in software rendering, or in hardware ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Initial steps with AmiFig 3.0 on aos4, version #2
Home away from home
Home away from home


@xenic

I have answer from YAnnick related to export/import stuff:

Quote:

import/export is calling Amilua scripts that are front ends to fig2dev for export and potrace/autotrace for import.
Amilua and especially Zulu (Zune interface for lua) is AROS specific, and will therefore not work on OS4.
You can however call whatever program you want, it can be configured in preference window (I/O panel, F2D_xxx and R2V_xxx fields), up to you to program some graphical user interface for those programs.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Initial steps with AmiFig 3.0 on aos4, version #2
Home away from home
Home away from home


@samo79

Sended

@Xenic
Did you have any code for now which we can include to SVN ? In general will be cool to have fixes for that export/import stuff (i noticed that too before). But strange, why it works for AROS..

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Initial steps with AmiFig 3.0 on aos4, version #2
Home away from home
Home away from home


@xenic

Yep, all the latest aos4 related changes are in the current SVN, so, if you have some code/data to commit, then send it for me plz.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: AmiDARK Engine "news 2010.09.09"
Home away from home
Home away from home


@freddix

Yes !!

Btw, maybe you will be in interest to do some betatest of your current version (with the latest-public one i have crashes on peg2), and we can try to found where is problem (if you in interest of course).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Torque for OS4 progress
Home away from home
Home away from home


@Shadow
What about releasing even current version ?:)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: New Future Amiga Website - need your feedback and opinions
Home away from home
Home away from home


@Antique

You want to show for newbies that one of the best aos4 apps, its little catalogue-kind program ?:)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Amigabounty.net not able to accept donations atm.
Home away from home
Home away from home


@Troels
That bad ..

Btw, maybe you can try to say to that yang lady : "please, give the phone for someone who can resolve my problem". Usually all that yang ladies only sit over phone to say "fuck off" in good words. Imho 11 messages and 3 calls are enough to be sick, and say some hard words for them (maybe then they will fix it).

Also as meantime fix, maybe we can setup another paypal account like the current one ? (if there is no problems to get money from, only locked on recieving) ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Initial steps with AmiFig 3.0 on aos4, version #2
Home away from home
Home away from home


@samo79

Yannick added fixed AmiFIG.catalog and italiano.ct, try it:

AmiFig.catalog
italiano.ct

As he say, it's working without any issue under AROS, so, test it to be sure.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: XADFileSystem development thread:
Home away from home
Home away from home


@salass00

Yes !

Btw, maybe you also will be in interest to add switch to MountXad which will mean "not show an icon on desktop" ? As Fab say on aw, in Ambient it done like that:
Quote:

When doubleclicking (that's the default action), Ambient mounts the archive "locally" (with the help of some DOS extension) and the archive stays mounted as long as a related view is opened *or* that a lock to a file of the archive is pending. When all the views related to the archive are closed and that there are no more pending locks, it's unmounted automatically.

That being said, even if it's mounted locally to ambient, the files are still accessible from other programs, of course. The device just won't appear in the doslist, and won't pollute the desktop or requesters for no reason.


While part one imho must be add into the Filer code (imho), a second part (for just not show an icon) can be added as switch to mountxad. What you think ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top



TopTop
« 1 ... 368 369 370 (371) 372 373 374 ... 426 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project