× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Peter,

I would recommend using a "real" Unix terminal rather than 5250. The way I do that is by running the SSH daemon (STRTCPSVR *SSHD) and connecting with the free Putty client from Windows.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

There are many other ways, though.

The funny codes you see like [0G\ are escape sequences that direct the terminal to do something. They will not show up correctly in a 5250 terminal.

In your example, it looks like it's trying to make a "spinning" bar character by erasing and drawing characters in the same position of the screen. Just a little "while you wait" type of animation that won't work in 5250 and just looks confusing.

By using a real terminal you can, hopefully, see what the actual error is.

-SK


On 11/28/2016 8:05 PM, Peter Connell wrote:
I'm on little journey thru Node.js now that I know that IBM support it and I'm kinda taken with it.
I want to debug HTTP requests and have seen some useful examples using request-debug but it does not seem to be installed.
I can successfully use the request library (which for some reason I have to specify the full path) to get HTTP responses from a 3rd party server but when I add the require for request-debug I get an error.

var request = require('/QOpenSys/QIBM/ProdData/Node/lib/node_modules/npm/node_modules/request');
require('request-debug')(request);

Cannot find module 'request-debug'

I googled and found some advice from Aaron Bartell who has used npm install from QSH or QP2TERM so I tried
npm install require-debug

But it just repeated outputs lines of garbage like
[0G\ [0G| [0G/ [0G- [0G\ [0G| [0G/ [0G- [0G\ [0G| [0G/ [0G- [0G\

Same thing no matter what the name of the module to be installed is.

Peter




##############################################################
This correspondence is for the named person's use only. It may contain confidential or legally privileged information, or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error, please immediately delete it from your system and
notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Veda. If you need assistance, please contact Veda :-
Australia http://www.veda.com.au/contact-us
New Zealand http://www.veda.co.nz/contact-veda
##############################################################



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.