Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 2
Guests: 45

VooDoo, walkero, more...

Headlines

Forum Index


Board index » All Posts (cygnusEd)




Re: SDK 54.16
Quite a regular
Quite a regular


@ChrisH

This is the way I solved this problem in my Makefiles:

SHELL = /bin/sh

CXX_VERSION 
= $(shell $(CXX) -dumpversion)
TMPVER = $(subst ., , $(CXX_VERSION))
CXX_MAJOR_VER = $(word 1, $(TMPVER))
CXX_MINOR_VER = $(word 2, $(TMPVER))
CXX_PATCH_VER = $(word 3, $(TMPVER))

compare = $(shell if [ $(1) -ge $(2) ] ; then echo ge ; else echo lt fi)

ifeq ($(call compare,$(CXX_MAJOR_VER),8),ge)
  
THREADFLAGS = -std=c++11 -athread=native
  THREADS_SUPPORTED 
1
else
  
THREADFLAGS =
  
THREADS_SUPPORTED 0
endif

...


THREADFLAGS contains the needed flags if g++ major version is higher or equal to 8. And you can use THREADS_SUPPORTED for additional control.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: can't copy/paste from AbiWord to Claws mail?
Quite a regular
Quite a regular


@328gts

Basically all GTK 2 applications on AmiCygnix support the Amiga-C and Amiga-V keys. Only if you choose a menu item like "Edit/Copy", the text is not copied into the Amiga clipboard.

But it can happen, that it does not work, if you copy text with non latin chars in it (or something else, which is not supported). AmiCygnix tries to convert the UTF-8 text to ISO-8559-1 and if it fails, you have no content in the Amiga clipboard.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: AmiCygnix environment time
Quite a regular
Quite a regular


@rjd324


Did you set the environment variable "Cygnix/TZ" correctly? For Germany it must be set to "Europe/Berlin". See the
directory "Cygnix:CygnixPPC/etc/zoneinfo" for your correct setting.

I must admit, that it is a bit confusing, as the time management in AmiCygnix depends sometimes on Cygnix/TZ and
sometimes on the OS system time. So both settings must be conform! The reason is, that libaos4util does not
implement/replace the full set of functions available in Newlib.

I tried this here on my system and it works:

* Opened the "Locale" settings of OS4 and set country to "United States" and the timezone to UTC - 5.
* Opened the "Time" settings of OS4 and set the time using the time server.
* Set the timezone for AmiCygnix with: "setenv Cygnix/TZ America/New_York"

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Invoking a standalone BAT file from the command line
Quite a regular
Quite a regular


@NinjaCyborg

An AmigaDOS script or a batch file.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Invoking a standalone BAT file from the command line
Quite a regular
Quite a regular


@rjd324

The problem is, that normally the start script does not change the current directory. This could be an alternative start script, which sets a fixed directory (change the directory to your needs):

.key VERBOSE/K,DISPLAYNUMBER/K,ARGS/M
.def VERBOSE 0
.def DISPLAYNUMBER -1
.bra {
.
ket }

If 
EXISTS "Cygnix:Software/JASSPA-MEmacs-20091011/mew"
  
Set PROGPATH Cygnix:Software/JASSPA-MEmacs-20091011/mew
EndIf

Set DEF_XDRIVER "picasso96wb"
Set DEF_WINWIDTH "1024"
Set DEF_WINHEIGHT "768"
Set DEF_WINDEPTH "16"
Set DEF_WINDOWMANAGER "Dynamic Window Manager"
Set DEF_MAXIMIZE 1

PushCD Cygnix
:Software/JASSPA-MEmacs-20091011

If EXISTS "Cygnix:myX11SetupLight"
  
Cygnix:myX11SetupLight
  
If ${DONOTSTARTEQ "YES"
    
PopCD
    Quit 20
  
EndIf
Else
  
Set Cygnix/CYGNIX_SCREEN_MODE ${DEF_XDRIVER}@${DEF_WINWIDTH}x${DEF_WINHEIGHT}x${DEF_WINDEPTH}
  
Set Cygnix/CYGNIX_DESKTOP_BACKGROUND "none"
  
Set Cygnix/CYGNIX_WINDOW_MANAGER "Cygnix:CygnixPPC/bin/openbox"
EndIf

Set PROGARGS " "

Internal settings
Set LAUNCH_SOUND_SERVER 0
Set LAUNCH_WINDOW_MANAGER 1
Set OPENBOX_RC_FILE 
"openbox-rc.xml"
;Set Cygnix/CYGNIX_QUICK_TRANSFER "1"

GetEnv >NIL: *>NILCygnix/G_FILENAME_ENCODING
If WARN
  Set Cygnix
/G_FILENAME_ENCODING ISO-8859-1
EndIf

Execute Cygnix:S/Execute_Standalone.bat VERBOSE={VERBOSEDISPLAYNUMBER={DISPLAYNUMBER} {ARGS}
PopCD

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Pidgin 2.13.0 on AmigaOS4
Quite a regular
Quite a regular


@VooDoo

You could contact Antique. He was able to login to Facebook.

I'm afraid, that you have to disable the 2-factor-authentification.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Pidgin 2.13.0 on AmigaOS4
Quite a regular
Quite a regular



X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: AmiCygnix Copy And Paste Buffers
Quite a regular
Quite a regular


@rjd324

You should be able to copy something in Leafpad and paste it into Notepad for example. But it only works with latin characters. If there is for example an UTF-8 encoded character in the copied text that cannot be converted, you cannot paste it into an Amiga program.

Second is: You only can exchange the clipboard buffer by using the key combinations "RAmiga+C" and so on. If you copy text in Leafpad by using the menu item, it will not be copied into the Amiga clipboard. Clipboard support is not fully implemented in GTK+.

There are some clipboard functions in my utility library "libaos4util":

- int __cygnix_write_text_to_amiga_clipboard(char *text, int cbunit);
- char *__cygnix_read_text_from_amiga_clipboard(int cbunit);

I think they are easy to understand. They are using the iffparse.library.

And especially for GTK+:

- void __cygnix_write_amiga_clipboard_gtk2(void); (copies the content of the Amiga clipboard into the GTK+ clipboard)
- int __cygnix_read_amiga_clipboard_gtk2(void); (copies the content of the GTK+ clipboard to the Amiga clipboard)

Sources are in the "amicygnix-base-src.lha" package on OS4-depot.
You can find the GTK+ clipboard code in "Cygnix:CygnixPPC/src/X11R6.3/xc/aos4/misc/__cygnix_init_gtk2.c".

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Pidgin 2.13.0 on AmigaOS4
Quite a regular
Quite a regular


@Antique

Don't know exactly, The discord plugin is a bit tricky. Maybe I make a new release with broken discord first. Do you use discord?

If you like, I can make a test package for you so you can test if facebook works for you?

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Pidgin 2.13.0 on AmigaOS4
Quite a regular
Quite a regular


@pjs

Whow - what a surprise! Thank you very very much

I think I have to increase my speed of working on AmiCygnix

But first a beer and a pizza...

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Pidgin 2.13.0 on AmigaOS4
Quite a regular
Quite a regular


@Antique

Which protocol did you use? I guess it was "facebook". This is broken in the current release, but will be fixed in the next one.
It will be released, when the also broken "discord" protocol is working.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Do People Still Use IRC?
Quite a regular
Quite a regular


@tekmage

I have now a new pidgin binary including these updates:

- Latest discord plugin
- Latest skype plugin
- Latest slack plugin
- Fixed facebook plugin
- Latest GnuTLS (TLS/SSL layer)
- Updated OTR plugin

If you like to test it, send me a PM

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Do People Still Use IRC?
Quite a regular
Quite a regular


@smf

I've downloaded and ported the latest discord plugin for pidgin. The author startet to implement an authorisation process using a QR code, but it is not finished yet.
As far as I know, discord wants to make a special authorisation, when you login with a certain device the first time. It seems it uses CAPTCHAs and/or QR codes for this.
I don't know, how we can handle this as I don't have a discord account.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Do People Still Use IRC?
Quite a regular
Quite a regular


@Skateman

Did you try Pidgin for AmiCygnix?

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Finally some version of (M)Emacs for the Amiga
Quite a regular
Quite a regular


@rjd324

You got a mail!

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Finally some version of (M)Emacs for the Amiga
Quite a regular
Quite a regular


@rjd324

Quote:
Interesting, I can already reproduce this issue.
...


Yes, I can confirm this. I guess, you need newer files. Please give me some time to make a package for you.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Finally some version of (M)Emacs for the Amiga
Quite a regular
Quite a regular


@rjd324

Hmm - the question is: When do you get the DSI? After you confirmed the AmiCygnix settings? Or later, when the display is already open?

Maybe you can try an other display driver.

Or you need a more more current AmiCygnix SDK. I could give you the latest includes and libs of libaos4util.
Which additionally libs did you use? Only libX11.a?

On the other hand, I had no crashes so far.

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: Finally some version of (M)Emacs for the Amiga
Quite a regular
Quite a regular


@rjd324

Well done! Works without problems

To be compatible with other AmiCygnix packages and to have a proper version control, I recommend to use the files provided with all other packages.
Here are some ready to use files you can include in your package: memacs-files.lha.

All files expect this:
- Software directory must be : "Cygnix:Software/JASSPA-MEmacs-20091011"
- icon file "me_gnome_48.png" must be in "Cygnix:CygnixPPC/share/pixmaps"

The archive includes following files:

- "Install"
This is a standard installer script for AmiCygnix applications. Only a few changes were necessary. Just have a look at the first lines.
The script expects, that most data is stored in their final destination drawers like "Software/JASSPA-MEmacs-20091011".

- "jasspa-memacs.desktop"
Should be in "CygnixPPC/share/applications". Creates an entry in the desktop panel menu.

- "jasspa-memacs.lnk"
Should finally be in "Cygnix:Home/root/.idesktop" and in "install-data/.idesktop" in your package. Creates an icon on the desktop.

- "jasspa-memacs.pc"
Should be in "CygnixPPC/lib/pkgconfig". Contains data about the installed program for version control. Increase "release" in every new release of a same version (also the #app_release variable in "Install")

- "Start_JASSPA-MEmacs_Desktop.bat" + "Start_JASSPA-MEmacs_Standalone.bat"
Two new launch scripts for standalone and desktop

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top


Re: setitimer() / getitimer() / strerror() undefined reference
Quite a regular
Quite a regular


@rjd324

That's strange. The strerror() function IS included in the newlib and the clib2 library.

Go to top


Re: Finally some version of (M)Emacs for the Amiga
Quite a regular
Quite a regular


@rjd324

Congrats for your first version of micro emacs

If you need some help to run your app in standalone mode, feel free to ask me.

Go to top



TopTop
(1) 2 3 4 ... 18 »




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project