[BRLTTY] Brltty 5.6

2018-04-12 Thread Mgr. Janusz Chmiel

Dear developers,
I Am running Microsoft Windows 10 Home edition X 64 version 1709 build 
16299.371.
Unfortunately, Brltty for Windows service is not able to detect console 
Window. So Braille display display message no foreground window. No 
matter if I use older cmd.exe or modern Windows Power shell. I have even 
tried to remove Windows power shell by using add and remove programs 
control panel applet. I have though, that this will enable Me to use 
Brltty service in Windows console. My motivation is to be able to 
control internal Brltty functions such as dot pressure strength. But 
because Brltty service can not detect console window, I Am helpless.
I can send you a log generated by Brltty but it do not contain 
information related to console window detection.


Any advices are welcomed.
I would even try to run Brltty service from some GW based IDE to debug 
more, but I Am not so smart to prepare compilation environment for 
Windows. Since latest Cygwin do not want to cooperate with apt-cyg 
module. I have grabbed The module from Github, since link for getting it 
on The Brltty WEB article do not worked for me. cygwin accepted module 
by using modprobe, but I AM getting bugs while trying to run install 
command related to some setup .ini files.

Any help will be very welcomed.
I would not bother with console window detection, but I want to try 
internal Brltty functions controllable by using keys on Braille device.



---
Tato zpráva byla zkontrolována na viry programem Avast Antivirus.
https://www.avast.com/antivirus

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6

2018-04-07 Thread Mgr. Janusz Chmiel
The only one solution will be to use some free app on Google Play for 
fetching logcat messages while running. Because Android logs are 
changing very fast. Second solution is to use Android platform tools, 
connect Device to USB cable on A computer. I will try to fetch The 
logcat messages. I will try to find asserts or errors. Asserts are often 
presented if some C related issue has happened.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-07 Thread Dave Mielke
[quoted lines by Mgr. Janusz Chmiel on 2018/04/07 at 09:05 +0200]

>Here is procedure to reproduce The USB Braille device issue on Brltty

Do you know how to capture a log that covers the time of the failure?

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-07 Thread Mgr. Janusz Chmiel

Dear Mr Mielke,
    I wish you good Saturday morning.
Here is procedure to reproduce The USB Braille device issue on Brltty 
for Android.
Use Brltty and when system do not send data to Braille device, 
disconnect it.
Try to use Talkback as normally for several minutes. You should get 
warning from Android System UI, Brltty has stop working. Sure, Brltty 
must be enabled from Accessibility dialog window as The accessibility 
service.

App will be terminated.
You can also turn display on and off when device have been disconnected.
I Am using Android 6.0 with latest stable updates.
I will also contact Lenovo corporation today since they have 
incorporated new feature to their Android release. In The accessibility 
settings, there is special function, enable fast Startup. It is 
something like hybernate function in Windows.
After using this function and when I turn on The tablet, Brltty also 
stop to work. Even if Tieman Braille Voyager is connected to USB port.
I hope, that Lenovo will inform Me, which programmers techniques must 
every developer make so this app will work after turning on The device 
when it have been turned off after enabling The feature enable fast 
startup in The accessibility dialog Window.
But this will be complex and it will depend, if Lenovo will have good 
will to inform me or other developers about their feature and how to 
make app which will be compatible with this.
Using this function has big advantage. User can turn off The tablet and 
it will be active after several seconds. It also depend on, if it is 
official feature which is build inside Android 66.0 kernel, or if it is 
specific Lenovo kernel Module or path.



___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6

2018-04-06 Thread Dave Mielke
[quoted lines by Mgr. Janusz Chmiel on 2018/04/06 at 21:15 +0200]

>How complex would be for you to implement some hod keys combination,
>which would enable Brltty for Android users suspend The service.

It's easy to disable the service, but, without it running anymore, it's not 
possible to get it going again without manually navigating to Accessibility 
Settings and going through the process of turning it back on again.

>Talkback allow suspend itself by pressing two volume buttons, if this
>setting is allowed, checked from The Talkback setting dialog window.
>Why?

Google hasn't told me their reasons, but I can guess. When TalkBack is running 
then Explore By Touch changes the way screen gestures work. That makes it 
difficult for a sighted person to share the same device. It's nice, therefore, 
to have an easy way to turn TalkBack off and back on. It can be easily turned 
off for a sighted person to use the device, and it's very easy for a blind 
person to then turn it back on again.

>Since it is very complex to determine, if user have unplug USB cable
>from Micro USB or USB in general. And when I unplug The cable,
>Android System UI display messae, that Brltty has stop working.

Then that's what we should fix. I don't believe in implementing extra features 
to hide bugs. Are there some steps that I can try in orer to attempt to 
reproduce the problem you're having? Is it as simple as 
disconnecting/reconnecting the USB cable, or is there something more that needs 
to be done.

>I Am afraid, that it is not very easy to implement routine, which
>would monitor connection status in background. 

Brltty is already doing that.

>So what about adding suspend function. But I do not know, if suspend will also 
>disable SB communication, so when user would unplug USB cable after calling 
>suspend function. It is little think. I do not know, what will happen, if user 
>turn Blue tooth connected Braille device when Brltty service run. I suggest 
>hod key letter s in combination with The first routing key on Braille device. 

I don't think that this should be necessary. Let's work on solving the actual 
problem.

>I know, that our situation is more complex than in Talkback. Talkback run as 
>system app and it do not use .so C libraryes. 

That wouldn't matter. Switching between C and Java is easy, and, in fact, 
necessary since Android manages Bluetooth and USB devices in Java.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Mgr. Janusz Chmiel

Dear MR Mielke and others,
I have big plea addressed to you, even I know, that it is not easy issue.
How complex would be for you to implement some hod keys combination, 
which would enable Brltty for Android users suspend The service. 
Talkback allow suspend itself by pressing two volume buttons, if this 
setting is allowed, checked from The Talkback setting dialog window.

Why?
Since it is very complex to determine, if user have unplug USB cable 
from Micro USB or USB in general. And when I unplug The cable, Android 
System UI display messae, that Brltty has stop working.
I Am afraid, that it is not very easy to implement routine, which would 
monitor connection status in background. So what about adding suspend 
function.
But I do not know, if suspend will also disable SB communication, so 
when user would unplug USB cable after calling suspend function.
It is little think. I do not know, what will happen, if user turn Blue 
tooth connected Braille device when Brltty service run. I suggest hod 
key letter s in combination with The first routing key on Braille device.
I know, that our situation is more complex than in Talkback. Talkback 
run as system app and it do not use .so C libraryes. It would be 
necessary to test aand find out, if suspend feature can be 
programatically implemented. And if suspend will not cause also bug from 
Android System UI application Brltty has stopped or has stop working.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Mgr. Janusz Chmiel
I Am very sorry that I Am intruding you and mailing list with this topic 
for so long time.
But really. Brltty program do not react on specific build in on Braille 
display keys presses. But NVDA can detect pressed keys. I have also 
terminated NVDA. May be, that The reason of my issue is caused by The 
fact, that I have chosen autodetect instead of choosing Voyager device 
in  Brltty configurator.



___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6

2018-04-06 Thread Dave Mielke
[quoted lines by Mgr. Janusz Chmiel on 2018/04/06 at 18:50 +0200]

>Please, are you sure, that compiled Brltty 5.6 includes algorithm for
>detecting keys for controlling Brltty from Braille display?
>I Am afraid, that it only work for Linux release of Brltty.

Yes, I'm very sure. The code is the same.

Are you observing that the keys on the braille device have no effect at all? 
Or, maybe you're saying that the keys on the braille device seem to be only 
controlling NVDA.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Mgr. Janusz Chmiel

Dear MR Mielke,
Please, are you sure, that compiled Brltty 5.6 includes algorithm for 
detecting keys for controlling Brltty from Braille display?

I Am afraid, that it only work for Linux release of Brltty.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Dave Mielke
[quoted lines by Mgr. Janusz Chmiel on 2018/04/06 at 14:47 +0200]

>Please, which key combination do I have to press?

For a Voyager, it's Thumb2+Dots1234. You can find all of the Voyager's key 
bindings documented online as follows:

   Go to: brltty.com
   Click on: Documentation
   Click on: Key Binding Lists
   Click on: Voyager
   Click on: All Models
   Click on: Special Modes
   There, you'll find: enter/leave preferences menu: Thumb2+Dots1234

For special key bindings within the menu, go back up to the Voyager level and 
click on Menu Bindings.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Mgr. Janusz Chmiel

Please, which key combination do I have to press?
I can not find it inside included documentation.
I have pressed many various Braille device button, but nothink.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Mgr. Janusz Chmiel
Oh, thank you very much. I did know that Brltty can be used for its 
configuration. So I will terminate NVDA and I will check it out. Thank 
you very much.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Dave Mielke
[quoted lines by Mgr. Janusz Chmiel on 2018/04/06 at 09:57 +0200]

>Please do you think, that it is possible to set DOT pressure on
>Tieman Braille Voyager while using non original .sys driver from
>Tieman? 

this should already be supported. Look in the Presentation submenu of the 
preferences menu for Dot Firmness. Please let me know how it works. If you can 
configure it the way you need then don't forget to save your prefernce changes.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Mgr. Janusz Chmiel
Please do you think, that it is possible to set DOT pressure on Tieman 
Braille Voyager while using non original .sys driver from Tieman? So by 
using Libusb? Do you think, that it could be incorporated new 
configuration Brltty item, which can specify DOT pressure and that this 
function would work for Tieman Braille Voyager?
Or unfortunately, this specific feature work onlywith their software 
from 2002 for SAM?
When using little percentage of DOT pressure, Braille is making less 
noise. And it is very important when taking audio records while reading 
from Braille device. Little noise can be masked by soft background music 
while adding it to The records.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-06 Thread Mgr. Janusz Chmiel
I have very probably solved my issue. I plugged Tieman Braille Voyager 
to USB 2.0 port. Problem was really caused by The fact, that I have used 
UsB 3.0 port. So I can use positive aspects of yours latest Brltty for 
Windows.
And CPU is even less working, USB 3.0 is really not ideal connection 
type for old Braille devices.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-05 Thread Dave Mielke
[quoted lines by Brian Tew on 2018/04/05 at 18:46 -0500]

>I sure did not realize a bad make file could trash the system. I will avoid 
>installing as root if possible.

When you're logged in as root, any command will be allowed to blindly go ahead 
and do its thing. We all wish that everone who writes code can be trusted, but 
that isn't always true. Even if someone who writes code can be trusted, he 
might still be unintentinally careless, have forgotten to test something, etc. 
Bugs are eventually found within any piece of code, and that includes make 
files. When you run someone else's make file, you have absolutely no idea what 
it's actually doing. What you are doing, however, is putting your complete 
faith in whomever wrote the make file, and that isn't always a good idea.

At the very least, you should always do the make as someone other than root. 
Sometimes, of course, you need to do the make install as root. Often, however, 
you can even do the make install as some other user. All you often need to do 
is create the target directory such that it's owned by a safe user, and then 
install into it as that safe user.

>I didn't even realize uninstalling 5.3.1 would remove the brltty.service file, 

Well ... there's no particular reason that brltty's systemd service units would 
be part of any other package.

>Perhaps you begin to discern the level of my ignorance.

We all start from the beginning and learn as we go. The trick is for each of us 
to recognize what our own weaknesses are, and to take them into account when 
deciding whether or not to take some particular action.

>I will eventually go back and do things the right way.

Well ... there's ultimately no right way. There are safe and dangerous ways. 
There are cures and there are mere bandages.

>Maybe the reason for modifying /etc/default/brltty is to make brltty start 
>sooner.

This illustrates one of the things I'm trying to get at. I myself wouldn't do 
anything without first understandng why I'm doing it. Trying something just 
because is, for me, not a good enough reason. At the very least, if I don't 
know why I'm trying it then I can't possibly know if it actually succeeded.

>Indeed I am getting braille output sooner now.

Are you saying that you have 5.6 running now?

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-05 Thread Brian Tew
I sure did not realize a bad make file could trash the system. I will avoid 
installing as root if possible.
I didn't even realize uninstalling 5.3.1 would remove the brltty.service file, 
sheesh.
Perhaps you begin to discern the level of my ignorance.
I will eventually go back and do things the right way.
Maybe the reason for modifying /etc/default/brltty is to make brltty start 
sooner.
Indeed I am getting braille output sooner now.
Many thanks to you all for your patience and hlp.
The friendly and open nature on this list is a major plus--tyvm Dave.
 

On Apr 5, 2018, at 8:19 AM, Dave Mielke  wrote:

[quoted lines by Brian Tew on 2018/04/05 at 05:12 -0500]

> I made the changes in /etc/default/brltty that John mentioned.

There was no need as brltty (albeit, the installed one) was running.

> I apt-got purged 5.3.1

Well, I tried to advise to not do that.

> and recompiled 5.6 as root.

It's a bad practice to build as root. While we ourselves try very hard to 
ensure that our own make files can be trusted, the reason it's a bad idea is 
because you never really know what a make file will or won't do. If it's a bad 
make file then you could very easily ruin your system.

> All went well, but when root tried to edit /lib/systemd/system/brltty.service 
> it says no such file.

Sure, because you unintalled it. My suggestion was to sinmply just edit it.

> locate brltty.service gives ten files, but root cannot 
> see any of thm. so I cannot change the execstart line.

That doesn't matter since you removed it. I was trying to suggest an approach 
that'd keep things simple.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-05 Thread Mgr. Janusz Chmiel

Dear professionals,
Let Me express you my deepest possible appreciation to this Brltty for 
Windows release. I would like to congratulate MR Tibault and others, who 
have released this amazing application. Yours deepest possible 
appreciation should be expressed thanks to very professional memory 
management of Brltty Windows service. It allocates 1012 KB of memory and 
memory allocation do not change over time. Thank you very much for more 
and more Braille devices ddrivers support.
I have only found one little issue while working with latest release of 
NVDA. Brltty service stop randomly to cooperate with Tieman Braille 
Voyager connected by using USB and Libusb. I run Windows 10 X64 bit 
edition with latest updates. Bug presnets when I fast write new message 
inside new message windows while using Seamonkey latest release when 
composing mail.
And because I Am constructive user I Am ready to help to find The cause 
of The bug.
Any advice how to bring you so much information as possible to track it 
cause are welcomed.
It is sad issue, because newest Brltty for Windows react very fast. 
Brltty 4.1 did not contain this issue, but react not fluently with 
latest NVDA. I Am afraid, that bug is may be caused by The interaction 
with Brlapi Python and The service.

Problem stop to exist when I unplug USB cable and when I plug it again.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-05 Thread John Covici
Remember that locate only changes once per day, so it may be obsolete
by the time you were looking.  Maybe be better to do a find instead.

On Thu, 05 Apr 2018 08:50:59 -0400,
Adrian van Bloois wrote:
> 
> On Thu, Apr 05, 2018 at 05:16:26AM -0500, Brian Tew wrote:
> > Or 
> > 
> > Could root just mv brltty to /sbin  ?
> Yes it could, but you will be stuck when you make the next upgrade.
> 
> > 
> > ___
> > This message was sent via the BRLTTY mailing list.
> > To post a message, send an e-mail to: BRLTTY@brltty.com
> > For general information, go to: http://brltty.com/mailman/listinfo/brltty
> 
> -- 
>   Adri P. van Bloois
> 
> 
> "Elegance is not a dispensable luxury but a factor that decides between 
>  success and failure."
>   Edsger W. Dijkstra
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-05 Thread Dave Mielke
[quoted lines by Brian Tew on 2018/04/05 at 05:12 -0500]

>I made the changes in /etc/default/brltty that John mentioned.

There was no need as brltty (albeit, the installed one) was running.

>I apt-got purged 5.3.1 

Well, I tried to advise to not do that.

>and recompiled 5.6 as root.

It's a bad practice to build as root. While we ourselves try very hard to 
ensure that our own make files can be trusted, the reason it's a bad idea is 
because you never really know what a make file will or won't do. If it's a bad 
make file then you could very easily ruin your system.

>All went well, but when root tried to edit /lib/systemd/system/brltty.service 
>it says no such file. 

Sure, because you unintalled it. My suggestion was to sinmply just edit it.

>locate brltty.service gives ten files, but root cannot 
>see any of thm. so I cannot change the execstart line. 

That doesn't matter since you removed it. I was trying to suggest an approach 
that'd keep things simple.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-05 Thread Adrian van Bloois
On Thu, Apr 05, 2018 at 05:16:26AM -0500, Brian Tew wrote:
> Or 
> 
> Could root just mv brltty to /sbin  ?
Yes it could, but you will be stuck when you make the next upgrade.

> 
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
Adri P. van Bloois


"Elegance is not a dispensable luxury but a factor that decides between 
 success and failure."
Edsger W. Dijkstra
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-05 Thread Adrian van Bloois
On Thu, Apr 05, 2018 at 05:12:26AM -0500, Brian Tew wrote:
> Ok I think there is just one more hurdle.
> I made the changes in /etc/default/brltty that John mentioned.
> I apt-got purged 5.3.1 and recompiled 5.6 as root.
> All went well, but when root tried to edit /lib/systemd/system/brltty.service 
> it says no such file.
> locate brltty.service gives ten files, but root cannot see any of thm.
> so I cannot change the execstart line.
> so brltty does not start and I cannot login in braille.
> I can ssh in with the ipad and start it with brltty -n -e -bhm
> and then I have braille with brltty-5.6.
> 
> How do I change the attributes or whatever so I can change that execstart 
> line?
As a UNIX/Linux experienced person I'd say start vi as root and edit that
brltty.service file, if it aint there just make a copy of an existing one
to that place and edit it.
Then doo the systemctl enable and the systemcl start and I would expect
you got all engines running.

> 
> Below are the results of locate brltty.service:
> 
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
Adri P. van Bloois


"Elegance is not a dispensable luxury but a factor that decides between 
 success and failure."
Edsger W. Dijkstra
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6

2018-04-05 Thread Brian Tew
Or 

Could root just mv brltty to /sbin  ?

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6

2018-04-05 Thread Brian Tew
Ok I think there is just one more hurdle.
I made the changes in /etc/default/brltty that John mentioned.
I apt-got purged 5.3.1 and recompiled 5.6 as root.
All went well, but when root tried to edit /lib/systemd/system/brltty.service 
it says no such file.
locate brltty.service gives ten files, but root cannot see any of thm.
so I cannot change the execstart line.
so brltty does not start and I cannot login in braille.
I can ssh in with the ipad and start it with brltty -n -e -bhm
and then I have braille with brltty-5.6.

How do I change the attributes or whatever so I can change that execstart line?

Below are the results of locate brltty.service:

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-03 Thread John Covici
You need a file in /etc/default called brltty and you should have
RUNBRLTTY=YES in that file -- you may already have it.  Then you can
change the /bin/brltty in that same line to your version.  This is
something Debian specific.  The file in /lib is the correct one for Debian.

On Tue, 03 Apr 2018 13:10:14 -0400,
Brian Tew wrote:
> 
> quoting Dave: 
> Look in /usr/lib/systemd/system for a file with a name like brltty.service. 
> In it, look
> for a line that starts with ExecStart=. It's probably specifying /bin/brltty
> 
> (end of quote)
> 
> /usr/lib/systemd/system does not exist. /usr/lib/systemd does exist, but 
> theres no system directory in it.
> 
> locate brltty.service done as root gives four listings;
> /etc/systemd/system/sysinit.target.wants/brltty.service
> /lib/systemd/system/brltty.service
> /var/lib/systemd/deb-systemd-helper-enabled/brltty.service.dsh-also
> /var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/brltty.service
> 
> but even though the locate command shows them root cannot see three  of them.
> When root tries to edit those files it says no such file or directory.
> Only the second one can be found by root.
> /lib/systemd/system/brltty.service
> that file is below. the execstart line is not so simple.
> 
> [Unit]
> 
> Description=Braille Device Support
> Documentation=man:brltty(1)
> Documentation=http://brltty.com/
> 
> DefaultDependencies=no
> Before=sysinit.target
> 
> RequiresMountsFor=/var/lib/brltty
> 
> 
> [Service]
> 
> PIDFile=/run/brltty.pid
> ExecStart=/bin/sh -c "grep -sq '^ *RUN_BRLTTY=no' /etc/default/brltty || exec 
> /sbin/brltty -P /run/brltty.pid"
> 
> TimeoutStartSec=5
> TimeoutStopSec=10
> 
> Restart=on-failure
> RestartSec=30
> 
> Nice=-10
> OOMScoreAdjust=-900
> 
> ProtectHome=read-only
> ProtectSystem=full
> SystemCallArchitectures=native
> 
> 
> [Install]
> WantedBy=sysinit.target
> 
> 
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-03 Thread Dave Mielke
[quoted lines by Brian Tew on 2018/04/03 at 12:10 -0500]

>/usr/lib/systemd/system does not exist. /usr/lib/systemd does exist, but 
>theres no system directory in it.

That's okay. Each distribution does things its own way. Since I can't look 
directly at yours, the best I can do is make suggestions. We'll just need to 
figure out where it really is.

>locate brltty.service done as root gives four listings;
>/etc/systemd/system/sysinit.target.wants/brltty.service
>/lib/systemd/system/brltty.service
>/var/lib/systemd/deb-systemd-helper-enabled/brltty.service.dsh-also
>/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/brltty.service

It's the one in /lib/. Many distributions make /lib/ and /usr/lib/ be the same. 
I guess that isn't the case on yours.

>but even though the locate command shows them root cannot see three  of them.
>When root tries to edit those files it says no such file or directory.

Please don't try to edit any files other than the one you really should be 
editing. Doing so could cause unwanted corruption.

>Only the second one can be found by root.
>/lib/systemd/system/brltty.service

Yes, that's the right one.

>that file is below. the execstart line is not so simple.
...
>ExecStart=/bin/sh -c "grep -sq '^ *RUN_BRLTTY=no' /etc/default/brltty || exec 
>/sbin/brltty -P /run/brltty.pid"

There are two extra pieces which you can ignore (i.e. just leave them as they 
are).

The first part (to the left of the ||) is checking to see if RUN_BRLTTY=no is 
specified within /etc/default/brltty. I guess that's the Ubuntu way to disable 
brltty.

The third part (the -P option) is to get brltty to use the correct PID file. 
That bit mustn't be changed.

The second part (exec /sbin/brltty) is what you're looking for. Change it to 
point to the desired place. Then remember to do systemctl daemon-reload and 
then to disconnect/reconnect your device.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6

2018-04-03 Thread Brian Tew
quoting Dave: 
Look in /usr/lib/systemd/system for a file with a name like brltty.service. In 
it, look
for a line that starts with ExecStart=. It's probably specifying /bin/brltty

(end of quote)

/usr/lib/systemd/system does not exist. /usr/lib/systemd does exist, but theres 
no system directory in it.

locate brltty.service done as root gives four listings;
/etc/systemd/system/sysinit.target.wants/brltty.service
/lib/systemd/system/brltty.service
/var/lib/systemd/deb-systemd-helper-enabled/brltty.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/brltty.service

but even though the locate command shows them root cannot see three  of them.
When root tries to edit those files it says no such file or directory.
Only the second one can be found by root.
/lib/systemd/system/brltty.service
that file is below. the execstart line is not so simple.

[Unit]

Description=Braille Device Support
Documentation=man:brltty(1)
Documentation=http://brltty.com/

DefaultDependencies=no
Before=sysinit.target

RequiresMountsFor=/var/lib/brltty


[Service]

PIDFile=/run/brltty.pid
ExecStart=/bin/sh -c "grep -sq '^ *RUN_BRLTTY=no' /etc/default/brltty || exec 
/sbin/brltty -P /run/brltty.pid"

TimeoutStartSec=5
TimeoutStopSec=10

Restart=on-failure
RestartSec=30

Nice=-10
OOMScoreAdjust=-900

ProtectHome=read-only
ProtectSystem=full
SystemCallArchitectures=native


[Install]
WantedBy=sysinit.target


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-04-02 Thread Adrian van Bloois
On Mon, Apr 02, 2018 at 03:51:09PM -0500, Brian Tew wrote:
> WellI don't know what to try next.
> 5.3.1 works fine, so I'm not in trouble, but 5.6 would be nice.
> I was thinking of the following:
> rm all brltty directories recursively, apt-get purge 5.31 and recompil.
> What do yall think?
> I can do this via ssh, io don't need brltty   during the proceedure.
> I am very confident about reinstalling 5.3.1 with apt-get as I have done it 
> several times.
It's worth a try, I install my brltty that way as well.
Since you can back easily it should not create a real problem.

> 
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
Adri P. van Bloois


"Elegance is not a dispensable luxury but a factor that decides between 
 success and failure."
Edsger W. Dijkstra
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6

2018-04-02 Thread Brian Tew
WellI don't know what to try next.
5.3.1 works fine, so I'm not in trouble, but 5.6 would be nice.
I was thinking of the following:
rm all brltty directories recursively, apt-get purge 5.31 and recompil.
What do yall think?
I can do this via ssh, io don't need brltty   during the proceedure.
I am very confident about reinstalling 5.3.1 with apt-get as I have done it 
several times.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-03-31 Thread Dave Mielke
[quoted lines by Brian Tew on 2018/03/31 at 14:48 -0500]

>attached are /usr/local/brltty-5.6/config.log and the entire compile ane 
>-ldebug.

There were no attachments.

>I can't believe anybody can go through all this.

It's a matter of knowing where might be interesting places to look.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6

2018-03-31 Thread Brian Tew
attached are /usr/local/brltty-5.6/config.log and the entire compile ane 
-ldebug.
I can't believe anybody can go through all this.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-03-31 Thread Dave Mielke
[quoted lines by Brian Tew on 2018/03/31 at 11:19 -0500]

>trying to send the config.h and config.mk files.
>they are attached if that works.

Got them. Thanks. I don't see anything obviously wrong in them (so far, 
anyway). Perhaps config.log and the -ldebug output might shed some light on the 
problem.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6

2018-03-31 Thread Brian Tew


trying to send the config.h and config.mk files.
they are attached if that works.


files
Description: Binary data

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6

2018-03-31 Thread Dave Mielke
[quoted lines by Brian Tew on 2018/03/31 at 09:03 -0500]

>the -ldebug option spews out over three thousand lines, lol.

It'd be better to also use the -L (uppercase) option to specify a file for 
brltty to write its log to. Then (which would be helful) you could post that 
log file for us to look at.

>I see the drivers directory does not exist. /usr/local/brltty-5.6/lib is full 
>of .so files. but /usr/local/brltty-5.6/lib/brltty does not exist. 

Please post the config.h and config.mk files (which should be in 
/usr/local/brltty-5.6/).

>Also it doein't seem to like usb as a device. 

You specified usb but it needs to be usb: (i.e. you need to add a colon at the 
end).

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6

2018-03-31 Thread John Covici
Hi.  I am coming late to this thread, but I know that the prefix is
wrong.  If you leave this out then brltty will install
in/usr/local/... which is what I think you may want.  If the prefix is
wrong, everything else after that will not work correctly.  So, clean
the directory /usr/local/root/brltty-5.6 and start again.

On Sat, 31 Mar 2018 10:03:04 -0400,
Brian Tew wrote:
> 
> Still trying to get 5.6 going.
> Dave asked to see the commands I am trying.
> the -ldebug option spews out over three thousand lines, lol.
> I see the drivers directory does not exist. /usr/local/brltty-5.6/lib is full 
> of .so files.
> but /usr/local/brltty-5.6/lib/brltty does not exist.
> Also it doein't seem to like usb as a device.
> Maybe you can see obvious mistakes. Commands follow:
> 
>  root@Laggy:/home/btew# cd /usr/l ocalroot@Laggy:/usr/local# ls *bz2 
> root@Laggy:/usr/local# tar xjf * bz2 root@Laggy:/usr/local# cd brltty -5.6 
> root@Laggy:/usr/local/brltty-5.6## ./configure --prefix=/usr/loca 
> l/brltty-5.6 --silent root@Laggy:/usr/local/brltty-5.6## make --silent 
> root@Laggy:/usr/local/brltty-5.6## make install --silent 
> root@Laggy:/usr/local/brltty-5.6## /usr/local/brltty-5.6/bin/brlt ty -ldebug 
> -e -n root@Laggy:/usr/local/brltty-5.6## /usr/local/brltty-5.6/bin/brlt ty 
> -bhm -dusb -ldebug -n -e root@Laggy:/usr/local/brltty-5.6## exit ~$
> 
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6

2018-03-31 Thread Brian Tew
Still trying to get 5.6 going.
Dave asked to see the commands I am trying.
the -ldebug option spews out over three thousand lines, lol.
I see the drivers directory does not exist. /usr/local/brltty-5.6/lib is full 
of .so files.
but /usr/local/brltty-5.6/lib/brltty does not exist.
Also it doein't seem to like usb as a device.
Maybe you can see obvious mistakes. Commands follow:

 root@Laggy:/home/btew# cd /usr/l ocalroot@Laggy:/usr/local# ls *bz2 
root@Laggy:/usr/local# tar xjf * bz2 root@Laggy:/usr/local# cd brltty -5.6 
root@Laggy:/usr/local/brltty-5.6## ./configure --prefix=/usr/loca l/brltty-5.6 
--silent root@Laggy:/usr/local/brltty-5.6## make --silent 
root@Laggy:/usr/local/brltty-5.6## make install --silent 
root@Laggy:/usr/local/brltty-5.6## /usr/local/brltty-5.6/bin/brlt ty -ldebug -e 
-n root@Laggy:/usr/local/brltty-5.6## /usr/local/brltty-5.6/bin/brlt ty -bhm 
-dusb -ldebug -n -e root@Laggy:/usr/local/brltty-5.6## exit ~$

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6: no joy in mudville

2018-03-27 Thread Brian Tew
Well I have to give up on 5.6 I guess; can't make it work.
I have not compiled many programs as I always used apt-get.

The configure, make and make install all go well, but when I start 5.6 as root 
I hale no braille.

5.3.1 works great so I just apt-got it back.

After make install is there something else that needs to be done?

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6 configure warnings

2018-03-25 Thread Dave Mielke
[quoted lines by Didier Spaier on 2018/03/25 at 23:36 +0200]

>This should means that you are building on a system without systemd installed, 
>I think.

Yes, or it could also be that systemd is being used but that the systemd 
developer package isn't installed.

>As brltty works without it, that's nothing to worry about.

Yes. If something is serious then it'd be an error - not a warning.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] 5.6 configure warnings

2018-03-25 Thread Brian Tew
./configure --silent --prefix=/usr/local/brltty56
yields many warnings.
Do I need to wohry about any of these?
I only use command line so far, but it would be nice if I could operate in 
mwindows.

 configure: WARNING: polkit support not available configure: WARNING: Java 
compiler not found configure: WARNING: Java BrlAPI bindings not included 
configure: WARNING: Cannot find ocamlc. configure: WARNING: OCaml BrlAPI 
bindings not included configure: WARNING: Python developer environment not 
installed configure: WARNING: Cython compiler not found configure: WARNING: 
Python BrlAPI bindings not included configure: WARNING: Tcl configuration 
script not found: tclConfig.sh configure: WARNING: Tcl packages directory not 
found configure: WARNING: Tcl BrlAPI bindings not included configure: WARNING: 
xtst support not available configure: WARNING: louis support not available 
configure: WARNING: system service support not available on this platform 
configure: WARNING: Bluetooth I/O support not available on this platform 
configure: WARNING: Libbraille package not found: /usr /usr/local 
/usr/local/Libbraille /usr/local/libbraille /opt/Libbraille /opt/libbraille 
/mingw /mingw/Libbraille /mingw
 /libbraille configure: WARNING: eSpeak package not found: /usr /usr/local 
/usr/local/eSpeak /usr/local/espeak /opt/eSpeak /opt/espeak /mingw 
/mingw/eSpeak /mingw/espeak configure: WARNING: FestivalLite package not found: 
/usr /usr/local /usr/local/FestivalLite /usr/local/flite /opt/FestivalLite 
/opt/flite /mingw /mingw/FestivalLite /mingw/flite configure: WARNING: 
Mikropuhe package not found: /usr /usr/local /usr/local/Mikropuhe 
/usr/local/mikropuhe /opt/Mikropuhe /opt/mikropuhe /mingw /mingw/Mikropuhe 
/mingw/mikropuhe configure: WARNING: speech-dispatcher package not found: /usr 
/usr/local /usr/local/speech-dispatcher /usr/local/speechd 
/opt/speech-dispatcher /opt/speechd /mingw /mingw/speech-dispatcher 
/mingw/speechd configure: WARNING: Swift package not found: /usr /usr/local 
/usr/local/Swift /usr/local/swift /opt/Swift /opt/swift /mingw /mingw/Swift 
/mingw/swift configure: WARNING: Theta package not found: /usr /usr/local 
/usr/local/Theta /usr/local/theta /opt/Theta /opt/theta /
 mingw /mingw/Theta /mingw/theta configure: WARNING: ViaVoice package not 
found: /usr /usr/local /usr/local/ViaVoice /usr/local/viavoice /opt/ViaVoice 
/opt/viavoice /mingw /mingw/ViaVoice /mingw/viavoice configure: WARNING: cspi 
support not available configure: WARNING: atspi2 support not available 
../../../Headers/get_curses.h:54:2: warning: #warning 
curses package either unspecified or unsupported [-Wcpp]  #warning curses 
package either unspecified or unsupported 
../Headers/get_curses.h:54:2: warning: #warning curses 
package either unspecified or unsupported [-Wcpp]  #warning curses package 
either unspecified or unsupported ./xbrlapi.c:54:2: 
warning: #warning key press simulation not supported by this 
build - check that libxtst has been installed [-Wcpp]  #warning key press 
simulation not supported by this build - check that libxtst  ~$

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6 is now released.

2018-02-12 Thread 高生旺

Well, I delete the source and clone again, then every thing is okay.
Thank you very very much!

On Tue, 13 Feb 2018, Dave Mielke wrote:


Date: Tue, 13 Feb 2018 13:16:27
From: Dave Mielke <d...@mielke.cc>
Reply-To: Informal discussion between users and developers of BRLTTY.
<brltty@brltty.com>
To: Informal discussion between users and developers of BRLTTY.
<brltty@brltty.com>
Subject: Re: [BRLTTY] 5.6 is now  released.

[quoted lines by 高生旺 on 2018/02/13 at 13:09 +0800]


My build commands:
./autogen
./configure --with-init-path=/sbin/init
make


Is this immediately after a git clone into a fresh directory?

--
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-12 Thread Dave Mielke
[quoted lines by 高生旺 on 2018/02/13 at 13:09 +0800]

>My build commands:
>./autogen
>./configure --with-init-path=/sbin/init
>make

Is this immediately after a git clone into a fresh directory?

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-12 Thread 高生旺

Unfortunately the result is same as previous.

My build commands:
./autogen
./configure --with-init-path=/sbin/init
make

config.mk:
LOUIS_LIBS = ""

On Mon, 12 Feb 2018, Dave Mielke wrote:


Date: Tue, 13 Feb 2018 12:56:55
From: Dave Mielke <d...@mielke.cc>
Reply-To: Informal discussion between users and developers of BRLTTY.
<brltty@brltty.com>
To: Informal discussion between users and developers of BRLTTY.
<brltty@brltty.com>
Subject: Re: [BRLTTY] 5.6 is now  released.

[quoted lines by 高生旺 on 2018/02/13 at 11:47 +0800]

Your configure script looks fine. Perhaps, just to be sure, update to the 
latest code and try again. Please let me know exactly which commands you 
execute to do the build. Also, after the configure, let me know if the 
LOUIS_LIBS line in config.mk contains quotes or not.


--
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-12 Thread Dave Mielke
[quoted lines by 高生旺 on 2018/02/13 at 11:47 +0800]

Your configure script looks fine. Perhaps, just to be sure, update to the 
latest code and try again. Please let me know exactly which commands you 
execute to do the build. Also, after the configure, let me know if the 
LOUIS_LIBS line in config.mk contains quotes or not.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-12 Thread Dave Mielke
[quoted lines by Samuel Thibault on 2018/02/12 at 21:54 +0100]

>> Could you please try changing that AC_PATH_PROG (line 353 of configure.ac) 
>> to 
>> AC_PATH_TOOL (same syntax) as perhaps a simpler way of resolving the problem?
>
>That seems to be working fine indeed.

Thanks. Done.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6 is now released.

2018-02-12 Thread Samuel Thibault
Hello,

Dave Mielke, on dim. 11 févr. 2018 14:59:02 -0500, wrote:
> Could you please try changing that AC_PATH_PROG (line 353 of configure.ac) to 
> AC_PATH_TOOL (same syntax) as perhaps a simpler way of resolving the problem?

That seems to be working fine indeed.

Samuel
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-12 Thread Dave Mielke
[quoted lines by 高生旺 on 2018/02/12 at 12:20 +0800]

>Atached. Thanks!

The problem is, that for some reason I'm not understanding, your config.mk 
contains:

   LOUIS_INCLUDES = 
   LOUIS_LIBS = ""

Your log shows that liblouis isn't installed, so both these make macros should 
be empty. The way that configure calculates both of them is the same. I've no 
idea why LOUIS_INCLUDES is truly empty but LOUIS_LIBS is an empty string. The 
fact that those quotes are there is creating an empty arument to gcc, and 
that's why you're getting the "file not found" error.

Are you using the configure script right out of the brltty tarball? Could you 
please post it so that I can have a look at it?

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-11 Thread Dave Mielke
[quoted lines by 高生旺 on 2018/02/12 at 10:44 +0800]

>Log file attached. Thank you!

Please also post your config.mk and config.log files.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-11 Thread 高生旺

Log file attached. Thank you!

On Sun, 11 Feb 2018, Dave Mielke wrote:


Date: Mon, 12 Feb 2018 10:15:55
From: Dave Mielke <d...@mielke.cc>
Reply-To: Informal discussion between users and developers of BRLTTY.
<brltty@brltty.com>
To: Informal discussion between users and developers of BRLTTY.
<brltty@brltty.com>
Subject: Re: [BRLTTY] 5.6 is now  released.

[quoted lines by ??? on 2018/02/12 at 10:00 +0800]


While building the last code, I got the error:

gcc: error: : No such file or directory

What's wrong and how to check and fix it?


It means that a source file is missing. That, of course, shouldn't happen. 
Please post the full make log so that we can try to figure out what the problem 
is.


--
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

makelog.bz2
Description: Binary data
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-11 Thread Dave Mielke
[quoted lines by 高生旺 on 2018/02/12 at 10:00 +0800]

>While building the last code, I got the error:
>
>gcc: error: : No such file or directory
>
>What's wrong and how to check and fix it?

It means that a source file is missing. That, of course, shouldn't happen. 
Please post the full make log so that we can try to figure out what the problem 
is.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] 5.6 is now released.

2018-02-11 Thread 高生旺

While building the last code, I got the error:

gcc: error: : No such file or directory

What's wrong and how to check and fix it?
Please someone help me. Thank you!

Coscell
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6 is now released.

2018-02-11 Thread Dave Mielke
[quoted lines by Samuel Thibault on 2018/02/11 at 17:53 +0100]

>While working on the Debian package, I got the following warning which
>got recently added to Debian:
>
>autotools-pkg-config-macro-not-cross-compilation-safe
>
>  The package appears to use AC_PATH_PROG to discover the location of
>  pkg-config(1). This macro fails to select the correct version to
>  support cross-compilation.
>  
>  A better way would be to use the PKG_PROG_PKG_CONFIG macro from pkg.m4
>  and then using the $PKG_CONFIG shell variable.
>  
>  Refer to https://bugs.debian.org/884798 for details.

This isn't picked up automatically. pkg.m4 is in /usr/share/aclocal/, and that 
seems to need some incantation of the aclocal command to work. I don't kow what 
that incantation is. Perhaps someone does, and can give me a hint.

Could you please try changing that AC_PATH_PROG (line 353 of configure.ac) to 
AC_PATH_TOOL (same syntax) as perhaps a simpler way of resolving the problem?

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke   | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: d...@mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] 5.6 is now released.

2018-02-11 Thread Samuel Thibault
Hello,

Dave Mielke, on lun. 05 févr. 2018 12:02:34 -0500, wrote:
> Release 5.6 of brltty is now available.

While working on the Debian package, I got the following warning which
got recently added to Debian:

autotools-pkg-config-macro-not-cross-compilation-safe

  The package appears to use AC_PATH_PROG to discover the location of
  pkg-config(1). This macro fails to select the correct version to
  support cross-compilation.
  
  A better way would be to use the PKG_PROG_PKG_CONFIG macro from pkg.m4
  and then using the $PKG_CONFIG shell variable.
  
  Refer to https://bugs.debian.org/884798 for details.

Although properly detecting pkg files for cross-compilation may not be a
priority target, it could be useful to fix it :)

Samuel
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] Request for testing soon to be released brltty-5.6

2018-01-28 Thread Didier Spaier
Follow-up and correction below.

I wrote this:
> Dave Mielke has requested to test the next brltty release, cf:
> http://brltty.com/pipermail/brltty/2018-January/015421.html
> [quoted lines from Dave Mielke]
>  > The current plan is for 5.6 to be released two 
> or three weeks from now.

The linked-to post is dated Mon Jan 8 16:16:49 EST 2018 i.e.
roughly three weeks ago, but this could have been overlooked by people
not following the link, leading them to think that they still have
3 weeks to test.

This is wrong: please provide your test results no later than Monday,
February 5 2018.

I am sorry if the my wording of the previous post made you think that
the allocated time for testing was bigger.

Happy testing! 

Greetings,

Didier
http://slint.fr
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty