public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
From: "L. C. Robinson" <lcr@draken.localnet>
To: blinux-list@redhat.com
Subject: Re: segmentation fault?? and fsck problems.
Date: Thu, 11 Jun 1998 11:31:40 -0600 (MDT)	[thread overview]
Message-ID: <Pine.LNX.3.95.980611101846.4928B-100000@draken.localnet> (raw)
In-Reply-To: <357f91ed.ccs@ccs.covici.com>

I thought you might have problems with this.  I wonder if it's
because you might need to set the protocol on the serial port to
match your terminal device setup.  The command to do this would
look something like this:
stty speed 19200 cs8 -parenb -cstopb < /dev/ttyS0
This would need to be adjusted for the protocol you are using, of
course.  You can make stty report the existing protocol by
running the stty command with no protocol options (but add '-a'
to force stty to report everything).  Note the odd direction of
the redirection operator '<': this is correct.

I suspect that the reason things work better with screader is
because you are logged in on a fully booted system, and before
you logged in, the getty set the protocols on the serial port
correctly.  Of course, gettys are not active till the boot
process is complete.  Screader is not responsible for setting the
port up, but it does offer lots of advantages in terms of
controlling the output, of course.  Has anyone found a way to
get speech software like screader, working on a system that is not
yet fully operational (during the boot process)?

This problem with not having access to the speech resources of
the machine before it is fully booted (which I believe is the way
things should be), is the reason why I think that the right way
to handle the boot message problem for blind users, is to log
everything possible, and allow the user to look at the log files
after the boot is complete (this could be automated).  Extra help
should be added where possible, in case things go wrong, by
playing wav files, beeping, and the like, to give cues during the
boot.  This discussion has helped me to get a better idea where
to add such things to a modified "initscripts" package which I
have been working on.  I am, of course, interested in the ideas
of others, especially since I am not blind, and do not have any
speech hardware, and so have difficulty testing many aspects of
the concept.

On Thu, 11 Jun 1998, John Covici wrote:

> on Thu, 11 Jun 1998 00:31:26 -0600 (MDT) "L. C. Robinson" <lcr@draken.localnet> in
> <Pine.LNX.3.95.980610180759.30808A-200000@draken.localnet> wrote:
> >On Wed, 10 Jun 1998, John Covici wrote:
> >
> >> I didn't want to redirect the whole sysinit process because I had
> >> already put in those echo statements and didn't want to confuse things
> >> further.  Also, I want the screens to remain the same in case
> >> something else goes wrong where I need sighted assistance.
> >
> >You probably just need to do:
> >fsck [options]   > /dev/ttyS0
> >or something similar.  I tried doing:
> >exec > /dev/tty6 2> /dev/tty6 < /dev/tty6
> >fsck -fV /dev/hdc2
> >and it worked in interactive mode (hdc2 is a small experimental
> >partition I use).
> 
> I wonder if that is because its a tty and not a serial port -- I have
> had some other problems with programs redirecting their output to the
> serial port -- I can't remember which programs they were, but I know I
> had problems with that approach -- that is why I want to run a program
> like screader and use that instead.
> 
> >fsck -fV /dev/hdc2 > /dev/tty6 2> /dev/tty6 < /dev/tty6
> >worked similarly.
 

-- 
L. C. Robinson
reply to infynity@cyberhighway.net (a family account)

People buy MicroShaft for compatibility, but get incompatibility and
instability instead: then they get to buy upgrades to fix it, and get
still more problems.  This is award winning "innovation".



       reply	other threads:[~ UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <357f91ed.ccs@ccs.covici.com>
 ` L. C. Robinson [this message]
     [not found]   ` <5MZg10r1JgCU089yn@ccs.covici.com>
     ` John Covici
       ` L. C. Robinson
     [not found] <357e4331.ccs@ccs.covici.com>
 ` L. C. Robinson
   ` Luke Davis
     [not found]     ` <+Fvf10r1Jg6U089yn@ccs.covici.com>
       ` John Covici
     [not found]   ` <h3uf10r1J8vU089yn@ccs.covici.com>
     ` John Covici
       ` L. C. Robinson
 segmentation fault?? John Covici
 ` segmentation fault?? and fsck problems L. C. Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.95.980611101846.4928B-100000@draken.localnet \
    --to=lcr@draken.localnet \
    --cc=blinux-list@redhat.com \
    --cc=infynity@cyberhighway.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).