× 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.



Hi I am considering implementing an IRC style chat program on our AS400's
for the help desk to communicate with customers (some of our customer sites
are only linked by AS400 to AS400 dialup instead of internet), and I am
having a problem with accepting console input.

Basically there is a ChatServer constantly running, accepting connections
and maintaining a list of messages/connected users.

Each ChatClient class connects to the server and you can type in the
console in and it sends the message to the server, where the clients get
the new messages.

My problem is that if you are in the middle of typing a message in the Java
Shell display (JAVA command on AS/400), and someone else's message comes up
in the console output (via System.out.print), then the cursor jumps back to
the beginning of the line and you end up typing over the text you started
to type.

Does anyone know a workaround for this?

Thanks,
Dean Clowe




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.