ncurses / terminfo key mapping on QNX console

message unavailable

David Verbrugge <dverbrugge-nospam-@home.com> wrote:

that doesn’t sound right either way: I see no special code in the qnx
terminfo for tab; a few of the function-keys end with a \0, which a
program would see as \200.

Because this is my first experience with ncurses I wrote a small test
program to show me the key codes returned by getch(). My program tells me
(using keyname() ) that the TAB key is just ^I. So far so good. On a photon
pterm window, the SHIFT-TAB key returns KEY_BTAB. On the QNX console
SHIFT-TAB returns \200. Since you say it doesn’t sound right either way I am

well, if that’s what it returns, ok - I was commenting lest you were using
the string returned by tigetstr, which would replace an embedded null
character with \200.

now confused as to how special keys are mapped to key codes. Should
SHIFT-TAB not exist as a key code?

Also, is there a way to make ncurses NOT do any action on backspace key

ncurses is looking at the terminfo description, which says that
it can move the cursor left one space (cub1) with a backspace.

– it’s not clear if you are asking about the cursor optimization,
or if there is a problem with getstr, etc.


My application uses a custom made forms routine which was ported from QNX 2
and which originally used the qnx “term_*()” functions. Since these
functions are obsolete I adapted my routines for the ncurses equivalents.
Not a perfect mapping but close enough for most functions. Of course, the
form routines handle backspace, delete, etc. on their own and do not
gracefully accept ncurses’ attempts to do “space-bs-space” since such action
is not always appropriate. I was hoping to switch off this ncurses behaviour
without diving into terminfo just yet. Getstr() etc. works fne and cursor
optimization I don’t worry about just now because I don’t have any way of
checking it (no slow serial port terminals).

presses? I have echo switched off and, just as it says in the docs, ncurses
does a backspace-space-backspace sequence which messes up my screen. How do
I stop ncurses from making a mess?

I’d look to see why ncurses was using that particular sequence (I suspect
because it sees that your terminfo has cub1=^H listed). Does the space
not wipe out the character it overwrites?

To see “why”, I’d link my application with the libncurses_g.a debugging
library and add a call
trace(TRACE_CALLS|TRACE_ORDINARY);
before the relevant code - there should be (in the “trace” file generated)
some references to tputs, tparm or mvcur which show how ncurses is optimizing
that fragment.


I have QNX 4.25C and compiler, etc. loaded from the DEC 99 cd-rom suite.

The current version of ncurses is 5.1 (20000708)
There’s an faq at
http://dickey.his.com/ncurses/ncurses.faq.html


Thanks for the faq pointer. I will check it out. BTW, does ncurses 5.1
compile easily for QNX 4? (or maybe I should read the FAQ first > :wink: > )

I don’t know: I had some interaction with a couple of people at QNX who
were porting ncurses 4.2 to QNX, but nothing since then. The QNX port
looked mostly simple except that there is some additional code (not in
ncurses 5.*) to handle QNX’s mouse. Since I don’t have a QNX box, I’m
not in a good position to integrate the patch (since it changes a good
deal of the mouse logic, iirc, it would take some debugging on QNX and
Unix to make it mesh properly).


Thomas E. Dickey <dickey@radix.net> <dickey@herndon4.his.com>
http://dickey.his.com
ftp://dickey.his.com

Previously, David Verbrugge wrote in comp.os.qnx:

“Daryl Low” <> dlow@undergrad.math.uwaterloo.ca> > wrote in message
news:> 396CBD49.8102375C@undergrad.math.uwaterloo.ca> …
Sam Roberts wrote:

Well, I though that Sympatico’s ADSL service would use dhcp…

Nope, that why I hate it so much. > :neutral_face:

Looks like it’s using something called PPP over Ethernet, which
sounds to me like it needs a custom driver, and won’t work for
me. Anybody in Ontario, Canada got this working? Any suggestions,
even a definitive, return the h/w before they charge you for it?

If you have about $300 CDN floating around, I would suggest you try the
D-Link DI-701 home gateway. It’s basically a NAT box with DHCP
client/server. They have beta firmware that supports PPPoe. I would try
the new firmware (at a friend’s house who is on Sympatico HSE), but I
lost serial cable that came with it. > :frowning:

PPPoe aside, this gadget is wonderful and I already have 3 PC’s hooked up
to it running Windows NT/95/98, QNX4 and RtP over an @HOME cable
connection.

Looks good, but setting a firewall up is what I wanted to do.

Linksys has a similar device (model BEFSR41) for about same price. It
supports PPPoe as well and has four-port 10/100 switch built-in. I use it at
home on @home also with excellent results.

Ditto.

Thanks all,
Sam


Sam Roberts (sam@cogent.ca), Cogent Real-Time Systems (www.cogent.ca)
“News is very popular among its readers.” - RFC 977 (NNTP)

Previously, Chris McKillop wrote in comp.os.qnx:

Actually, it doesn’t need a custom driver but rather a converter
for io-net. I have actually thought about writing one. I still
might if I have time when I get back to Waterloo. Unfortunatly I
will only have Sympatico for 4-5 days before I move! I will see
if I can hack something (from the RFC) before hand. Maybe I
will try to find an opensource PPPoE server test it out.

Didn’t think there was such a server, but what do you know:

application: rp-pppoe 2.0
author: David F. Skoll <dfs@roaringpenguin.com>
license: GPL
category: Console/Networking
urgency: medium

homepage: http://freshmeat.net/redir/homepage/945660195/
download: http://freshmeat.net/redir/download/945660195/

description:
rp-pppoe is a user-mode PPPoE client and server suite. It is fully
RFC-compliant and supports cookies, relay-IDs, and multiple
simultaneous PPPoE discovery phases. It is cleanly coded and fairly
efficient. If you want to experiment with PPPoE clients and need a
PPPoE server, rp-pppoe includes one.

Changes:
Inclusion of a server as well as a client in the package, ports to
NetBSD, FreeBSD, and OpenBSD, more stringent sanity checks, a fix for a
bug in which HostUniq tag did not work if access concentrator sent a
cookie, total code reorganization, and improvements to adsl-* shell
scripts.

|> http://freshmeat.net/news/2000/07/14/963586559.html


Sam Roberts (sam@cogent.ca), Cogent Real-Time Systems (www.cogent.ca)
“News is very popular among its readers.” - RFC 977 (NNTP)

Henrik Berglund SdU wrote:
Last I heard is

  1. a release (alpha, beta1, whatever you call it)
    was avaiable for QNX2000 attendees in May. Those
    who has attended has confirmed that.
  2. next beta release will be available for selected developers
    (if you have signed up at get.qnx.com, you may or may not
    be selected, no criteria has been released)
    late this summer (probably August).
  3. another beta release for general public, no date yet.

On Mon, 10 Jul 2000, Fredo wrote:

Hi !
Do you know when the free version of Qnx will be available ?

In the FAQ it says:
The platform will be available to selected developers in May 2000 and to
the general public in midsummer

on the frontpage of get.qnx.com it says:
The QNX realtime platform will be made available for download and on CD
later this summer.

So probably sometime soon.

have any of those selected developers recieved any cds?

Henrik.Berglund@mds.mdh.se
http://www.mds.mdh.se/~adb94hbd/

I have linux (Redhat 6.2) but I’m a total newbie in it. How would one go
about using LILO to cheat QNX? I’ve looked at the docs for LILO, and they
are fairly confusing, and don’t say much about installing a boot loader onto
zip disks (floppies yes, zips no.) Thanks for the help.

Jacob Trenta

Frank Liu wrote in message …

Do you have linux and LILO installed? LILO has those features
to cheat QNX to boot.

Frank

Robert Rutherford wrote:

We had no problems with various chassis from Industrial Computer Source.
They even know about QNX > :slight_smile:

Try > http://www.icsadvent.com/

Caveat: Don’t know about SCSI disks. We were using IDE.

No, the Adaptec SCSI chip used on the Endeavor Plus CPU
card is not supported by the current release of QNX. Everything
else is. We are currently converting to using this company’s systems
as our previous supplier left the business. ICS Advent’s tech support
has been very helpful (much more so than others) in addressing issues.
(The SCSI chip on their older 586 card is supported by Fsys.aha7scsi)
The new board also “features” the Intel 810 chipset which is not supported
by the current release of Photon as stated in another thread. What’s
worse for me is that the Watcom graphics libraries don’t support it
either and that’s what I use. Other that these issues, the systems work
fine.

Chris

read the lilo documents and look for the “map-drive” option.
the boot loader is still on linux or HD MBR, no need to install on
QNX/ZIP. You basically boot from HD, and then switch over to QNX
on ZIP.

On Fri, 14 Jul 2000, Jacob Trenta wrote:

I have linux (Redhat 6.2) but I’m a total newbie in it. How would one go
about using LILO to cheat QNX? I’ve looked at the docs for LILO, and they
are fairly confusing, and don’t say much about installing a boot loader onto
zip disks (floppies yes, zips no.) Thanks for the help.

Jacob Trenta

Frank Liu wrote in message …

Do you have linux and LILO installed? LILO has those features
to cheat QNX to boot.

Frank


\

Unfortunately, we don’t want to have a hard drive present in the system -
just the zip drive. It doesn’t appear that LILO wants to do this any better
than qnx’s boot loader. I originally thought that the zip drive would look
just like any other hard drive since it was IDE, but apparently that is not
the case. Thanks for the help, though, I really appreciate it.

Frank Liu wrote in message …

read the lilo documents and look for the “map-drive” option.
the boot loader is still on linux or HD MBR, no need to install on
QNX/ZIP. You basically boot from HD, and then switch over to QNX
on ZIP.

On Fri, 14 Jul 2000, Jacob Trenta wrote:

I have linux (Redhat 6.2) but I’m a total newbie in it. How would one go
about using LILO to cheat QNX? I’ve looked at the docs for LILO, and
they
are fairly confusing, and don’t say much about installing a boot loader
onto
zip disks (floppies yes, zips no.) Thanks for the help.

Out of curiosity, where did you download it from? My understanding was it
would be avaiable for download later this summer, and can’t find any links
to a download sight from the get.qnx.com website.

<liug1@my-deja.com> wrote in message news:8km5sl$lh4$1@nnrp1.deja.com

After hearing all the good words and reading the get.qnx.com
white papers, I decide to download the beast and give it a
try. It seems to be an MS executable file. I guess it must be a self
extraction file. How do I untar this file and install on my ext2
partition? get.qnx.com seems to imply that you can install it on ext2,
qnx77 or fat partitions. Since this linux box has ext2 partitions
only, any suggestions will be appreciated.


Sent via Deja.com > http://www.deja.com/
Before you buy.

I guess QSSL doesn’t like general public to download it at this
time, or else you will find the link.

In article <hcNb5.53832$9t5.189205@quark.idirect.com>,
“Gary Dike” <gdike@idirect.ca> wrote:

Out of curiosity, where did you download it from? My understanding
was it
would be avaiable for download later this summer, and can’t find any
links
to a download sight from the get.qnx.com website.

liug1@my-deja.com> > wrote in message news:8km5sl$lh4
$> 1@nnrp1.deja.com> …
After hearing all the good words and reading the get.qnx.com
white papers, I decide to download the beast and give it a
try. It seems to be an MS executable file. I guess it must be a self
extraction file. How do I untar this file and install on my ext2
partition? get.qnx.com seems to imply that you can install it on
ext2,
qnx77 or fat partitions. Since this linux box has ext2 partitions
only, any suggestions will be appreciated.


Sent via Deja.com > http://www.deja.com/
Before you buy.
\

Sent via Deja.com http://www.deja.com/
Before you buy.

Jacob Trenta <software@sagerobot.com> wrote:

I originally thought that the zip drive would look
just like any other hard drive since it was IDE, but apparently that is not
the case.

Yes, isn’t that sneaky of them. I imagine that Iomega chose
ATAPI as their interface because it is much closer to the
native SCSI that is usually hiding on board a Zip drive.
The only ATAPI devices that I know you can boot off of
directly are CD-ROMS, and then only if the CD-ROM is
setup just right, and the BIOS supports it.


\

Mitchell Schoenbrun --------- maschoen@pobox.com

<liug1@my-deja.com> wrote in message news:8koql3$j8q$1@nnrp1.deja.com

I guess QSSL doesn’t like general public to download it at this
time, or else you will find the link.

I’ll ask around, my understanding was the CD released at the conference was
the only release so far, and even that was hard to grab a copy of… :slight_smile:
(BTW I’m hardly “general public”)

In article <hcNb5.53832$> 9t5.189205@quark.idirect.com> >,
“Gary Dike” <> gdike@idirect.ca> > wrote:
Out of curiosity, where did you download it from? My understanding
was it
would be avaiable for download later this summer, and can’t find any
links
to a download sight from the get.qnx.com website.

liug1@my-deja.com> > wrote in message news:8km5sl$lh4
$> 1@nnrp1.deja.com> …
After hearing all the good words and reading the get.qnx.com
white papers, I decide to download the beast and give it a
try. It seems to be an MS executable file. I guess it must be a self
extraction file. How do I untar this file and install on my ext2
partition? get.qnx.com seems to imply that you can install it on
ext2,
qnx77 or fat partitions. Since this linux box has ext2 partitions
only, any suggestions will be appreciated.


Sent via Deja.com > http://www.deja.com/
Before you buy.





Sent via Deja.com > http://www.deja.com/
Before you buy.

Send an email to augustabeta@qnx.com and they will give you
the URL for downloading if they think you are qualified as
“selected developers”.

In article <_e0c5.54825$9t5.197757@quark.idirect.com>,
“Gary Dike” <gdike@idirect.ca> wrote:

liug1@my-deja.com> > wrote in message news:8koql3
$j8q$> 1@nnrp1.deja.com> …
I guess QSSL doesn’t like general public to download it at this
time, or else you will find the link.

I’ll ask around, my understanding was the CD released at the
conference was
the only release so far, and even that was hard to grab a copy
of… > :slight_smile:
(BTW I’m hardly “general public”)


In article <hcNb5.53832$> 9t5.189205@quark.idirect.com> >,
“Gary Dike” <> gdike@idirect.ca> > wrote:
Out of curiosity, where did you download it from? My
understanding
was it
would be avaiable for download later this summer, and can’t find
any
links
to a download sight from the get.qnx.com website.

liug1@my-deja.com> > wrote in message news:8km5sl$lh4
$> 1@nnrp1.deja.com> …
After hearing all the good words and reading the get.qnx.com
white papers, I decide to download the beast and give it a
try. It seems to be an MS executable file. I guess it must be a
self
extraction file. How do I untar this file and install on my ext2
partition? get.qnx.com seems to imply that you can install it on
ext2,
qnx77 or fat partitions. Since this linux box has ext2
partitions
only, any suggestions will be appreciated.


Sent via Deja.com > http://www.deja.com/
Before you buy.





Sent via Deja.com > http://www.deja.com/
Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.

We have used HP’s Netserver LM series - they use the Symbios chip.

jchausler wrote:

Robert Rutherford wrote:

We had no problems with various chassis from Industrial Computer Source.
They even know about QNX > :slight_smile:

Try > http://www.icsadvent.com/

Caveat: Don’t know about SCSI disks. We were using IDE.

No, the Adaptec SCSI chip used on the Endeavor Plus CPU
card is not supported by the current release of QNX. Everything
else is. We are currently converting to using this company’s systems
as our previous supplier left the business. ICS Advent’s tech support
has been very helpful (much more so than others) in addressing issues.
(The SCSI chip on their older 586 card is supported by Fsys.aha7scsi)
The new board also “features” the Intel 810 chipset which is not supported
by the current release of Photon as stated in another thread. What’s
worse for me is that the Watcom graphics libraries don’t support it
either and that’s what I use. Other that these issues, the systems work
fine.

Chris

…that should be the “LH series”

“Richard R. Kramer” wrote:

We have used HP’s Netserver LM series - they use the Symbios chip.

jchausler wrote:

Robert Rutherford wrote:

We had no problems with various chassis from Industrial Computer Source.
They even know about QNX > :slight_smile:

Try > http://www.icsadvent.com/

Caveat: Don’t know about SCSI disks. We were using IDE.

No, the Adaptec SCSI chip used on the Endeavor Plus CPU
card is not supported by the current release of QNX. Everything
else is. We are currently converting to using this company’s systems
as our previous supplier left the business. ICS Advent’s tech support
has been very helpful (much more so than others) in addressing issues.
(The SCSI chip on their older 586 card is supported by Fsys.aha7scsi)
The new board also “features” the Intel 810 chipset which is not supported
by the current release of Photon as stated in another thread. What’s
worse for me is that the Watcom graphics libraries don’t support it
either and that’s what I use. Other that these issues, the systems work
fine.

Chris

<liug1@my-deja.com> wrote in message news:8kqi5e$nd0$1@nnrp1.deja.com

Send an email to > augustabeta@qnx.com > and they will give you
the URL for downloading if they think you are qualified as
“selected developers”.

Ah didn’t know they were doing this (doesn’t really matter I got my CD, I
was just curious).

In article <_e0c5.54825$> 9t5.197757@quark.idirect.com> >,
“Gary Dike” <> gdike@idirect.ca> > wrote:

liug1@my-deja.com> > wrote in message news:8koql3
$j8q$> 1@nnrp1.deja.com> …
I guess QSSL doesn’t like general public to download it at this
time, or else you will find the link.

I’ll ask around, my understanding was the CD released at the
conference was
the only release so far, and even that was hard to grab a copy
of… > :slight_smile:
(BTW I’m hardly “general public”)


In article <hcNb5.53832$> 9t5.189205@quark.idirect.com> >,
“Gary Dike” <> gdike@idirect.ca> > wrote:
Out of curiosity, where did you download it from? My
understanding
was it
would be avaiable for download later this summer, and can’t find
any
links
to a download sight from the get.qnx.com website.

liug1@my-deja.com> > wrote in message news:8km5sl$lh4
$> 1@nnrp1.deja.com> …
After hearing all the good words and reading the get.qnx.com
white papers, I decide to download the beast and give it a
try. It seems to be an MS executable file. I guess it must be a
self
extraction file. How do I untar this file and install on my ext2
partition? get.qnx.com seems to imply that you can install it on
ext2,
qnx77 or fat partitions. Since this linux box has ext2
partitions
only, any suggestions will be appreciated.


Sent via Deja.com > http://www.deja.com/
Before you buy.





Sent via Deja.com > http://www.deja.com/
Before you buy.




Sent via Deja.com > http://www.deja.com/
Before you buy.

I’ve put a tgz together with samba version 2.0.7. It’s about 6M in size
(ouch!). Before I drop this off at QUICS, I’d appreciate it if any
volunteers (preferably with W2K) would try it out first. (I can send it
by email or ftp.)

regards,

rick

Rick Lake wrote:

According to postings in the comp.protocols.smb group, 2.0.7 should be
able to work with W2K. I’m running 2.0.7 in-house for simple
straight-forward use, but I haven’t tried it with W2K, though.

Time permitting I’ll see about putting an install package together this
weekend and dropping it somewhere on QUICS. (Unless, of course, someone
else was already planning this. In that case, be my guest > :slight_smile:

You will have to run the test yourself to determine if it really does
work with W2K, because I don’t have W2K to test with.

regards,

rick

BTW: I’m assuming people have already patched their system to use the
new crypting algorithm to login(?)

Paul Russell wrote:

Has anyone ported a version of Samba that works with Windows2000 to QNX4.25?
If possible, I would really like to get a copy of the binaries (I don’t have
the tcp/ip libraries so I can’t build it myself).

Paul
paul@jenosys.com

Mitchell Schoenbrun <maschoen@tsoft.com> wrote:

To anyone who has downloaded this program,
a slightly newer version which has Icon’s
is now available. That is the only change.


Mitchell Schoenbrun --------- maschoen@pobox.com

Ken Schumm <kwschumm@qsolv.com> ÐÉÛÅÔ ×
ÓÏÏÂÝÅÎÉÉ:Voyager.000713074346.2099B@dilbert…

Has anyone heard about using QNX in airborne systems?

I did some troubleshooting work for a company in Hood River, Oregon
that developed an inexpensive flight management system, intended for
civil aviation. This was funded by the FAA in the US as an
exploration
in inexpensive IFR systems for civilian aircraft.

This is probably not very helpful, but the FAA seems to know about
QNX.

Can you give any links? Think it’d be of help to talk to that people.
I would be extremely grateful.

  • Nick