Using Windows 10 (currently 1803) I have ‘console’ apps that will run only in the new console 1 and similarly others requiring the old NT console. The problem and question is I can’t find how to run 2 console app of the opposite ‘genders’ at the same time ! There is a global settings in the Registry, and then there are settings per app (with or without “pif” aka shortcut) but I have been unable to adopt the “old” console for ONE app WITHOUT it also resetting the GLOBAL registry key. Consequence : either of my apps crash or refuse to start ! I’m probably & hopefully missing something : is it POSSIBLE to make the switch towards the “v2” console globally WHILE forcing the use of the OLD console for selected apps and/or shortcuts ?
I often find it convenient to work entirely from the command line, and like to have several tty “consoles” open simultaneously.
How do I make my system default to having more than the traditional 6 tty consoles (CTRL-ALT-Fn)?
Also with the transition to SystemD and Gnome, has the tty console number actually drop? I seem to struggle sometimes opening even one, let alone several, and often end up with a behavior in which several (CTRL-ALT-Fn) combinations all lead to a GUI rather than a tty.
I am running a combo of Ubuntu 18.04 and 18.10 across several machines, if it matters.
I have Java application. I try to realize multiplayer chat with TCP protocol, but I have an issue. I cannot output all messages I get on client tier (server tier works perfectly), because I give an input to user and create a thread to read messages from TCP client, so
Is blocking an output of my app. I can create by Swing, but I still haven’t fully understood it.
I have two options:
- Output all new messages from queue after sending message by user.
- Somehow detach input and output.
I think you don’t need to explain that in 1st option if user will go out for a long time, he will need to send a message before he will get all these new messages.
Only the second option remains. I need to detach input and output and I found that in some “interactive tasks” there are two consoles – first used for input, other – for output. But can I do it into a Java? And if I can, how?