Opened 9 years ago
Last modified 8 years ago
#12635 assigned bug
An old BeOS app (source files attached) which no longer properly works on Haiku
Reported by: | Giova84 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Tracker | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
The last time that I succesfully run this app called Replitext, was about one year ago, on Haiku.
Replitxt is a transparent text desktop replicant which can display various and dynamic text messages using scripting.
eg: print the current date inside the replicant:
~> time=$(date +"%d/%b/%Y - %R %p ")
Get IDs from the replicants:
~> replitxt --list
Insert the current date into Replitxt:
~> replitxt --text $ReplicantID "Current time: ${time} "
and we'll see:
And so on: as I've said is - was - possible send various inputs, via scripting, to the replicant.
I say *was possible* since in the latest nightly builds, when I attempt to run the command
~> replitxt --list
All that I get is the following error:
shelf_messenger not found (Bad port ID) There are 0 replitxt replicants out of 0 replicants
I also tried to recompile this app from the source code (it correctly compiles, using setarch x86_gcc2), but the above error is still here.
I attach the zip file with the source code and the binary, maybe someone would be able to fix the code?
Attachments (1)
Change History (11)
by , 9 years ago
Attachment: | replitxt_src.zip added |
---|
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I think the Tracker shelf view's name has been changed, so the application can't find it anymore. It needs to be adjusted in the code.
comment:3 by , 9 years ago
Hi,
Can you give me some hints about the old and the new view's name? So I could do an attempt to recompile the app with the proper names.
Thanks.
comment:4 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 7 comment:5 by , 9 years ago
Component: | Applications → Applications/Tracker |
---|---|
Owner: | changed from | to
Platform: | x86 → All |
Pre-layout behavior restored in hrev50139, but this is still broken and I've no idea why at this point.
comment:6 by , 9 years ago
Did you try with and without the "full path in title" setting in Tracker?
comment:7 by , 9 years ago
Replying to waddlesplash:
Pre-layout behavior restored in hrev50139, but this is still broken and I've no idea why at this point.
Well: at least, now, replitxt is partially working.
Now, when I launch the command
~> replitxt --list
I no longer get the error about the shelf_messenger, but just
There are 0 replitxt replicants out of 0 replicants
With the above command I expect to see a number between 0 and 9. If I attempt to guess the number (seems that the ID of the first replicant is always 0), now I am able to send the output to the replicant. Eg:
replitxt --text 0 "Hello"
And I can read "Hello" inside the replicant of replitxt on the Desktop.
So, now seems that remains to understand and fix the fact that the list command doesn't find any replicant, although the fact that now, is possible communicate with the replicant.
comment:8 by , 9 years ago
Wait..
I had an old bash script with the following content
replitxt --list > /tmp/list.txt checkID=$(cut -c1 /tmp/list.txt) ID=$(basename $checkID)
Since, currently, the result of "replitxt --list" is "There are 0 replitxt replicants out of 0 replicants." the variable $ID is just "T" (the first letter of the phrase).
and then i run
replitxt --text $ID "Message received"
I am able to send "Message received" to the replicant.
I discovered that as replicant ID I can use any letter (A,B,C...T,Z,Y) and also any senseless word (eg: sdfjkl ): in all these cases the replicant of replitxt will receive the message. Very odd.
comment:9 by , 8 years ago
comment:10 by , 8 years ago
Owner: | changed from | to
---|
Sorry, i forget to mention the fact that the source code was present on an old backup disk; in past this app was available on Haikuware and Bebits, but, due to the fact that both Haikuware and Bebits seems deads, I can't recall the original author of this app.