All Questions
523
questions
-1
votes
0
answers
30
views
Linux console not outputing the expected amount of characters [duplicate]
I am trying to fill the entire visable screen, with characters, in this case 0-9.
Yet, when I compile and run it with gcc.
The output of the console is diffrent sized blocks of text.
Yet the ...
1
vote
1
answer
78
views
Is it possible to run a WPF application that is started as an console application in Linux
I have a test WPF application that I have changed so it now can startup as an console application, like this.
How to be dynamically either console application or Windows Application
My application is ...
1
vote
4
answers
109
views
Is there a way to connect two programs output/input in linux?
I have two programs (p1 and p2), and I need to connect the p1 output to p2 input, and the p2 output to p1 input. Is there a way to do this?
The 'why' is because I have two programs that will play a ...
0
votes
1
answer
45
views
Linux - Is it possible to get mouse-input in C# from the bare Linux terminal (no DE)?
I want to make a simple "Desktop Environment" with keyboard and mouse functionality.
Now I can accept keypresses, but no mouse input (X Position, Y Position, Left Click, Right Click and ...
0
votes
0
answers
25
views
Esp32 Error ESP-Rainmaker - Ivalid MAC Address
I'm having an issue when trying to use the ESP-Rainmaker CLI for Host Driven Claiming. When I run ./rainmaker.py claim --manufacturer matter --mac xx:xx:xx:xx:xx ttyUSB0 with the corresponding MAC, it ...
1
vote
0
answers
319
views
How can I configure minicom settings programatically?
I am writing a script that uses minicom to automate some tasks.
In order to use minicom with the device I am accessing, I need to first hit "ctrl+a z" go into options, serial port settings, ...
0
votes
1
answer
132
views
Issue with Console Access to Switch Using Socat: Command Echoing
I'm attempting to connect to a switch through the console using the following socat command:
socat tcp4-listen:5050,reuseaddr,fork file:/dev/ttyUSB1,nonblock,raw,echo=0
However, when connecting to it ...
0
votes
0
answers
47
views
Yii2 console commands are just echoing list of commands
All of my Yii console commands are just echoing this:
This is Yii version 2.0.49.
The following commands are available:
- asset Allows you to combine and compress your ...
0
votes
1
answer
85
views
How can I check if I exit back to the ps terminal?
The question may sound a bit strange.
The situation is as following:
I execute the command "wsl" in the powershell console. My default
distro starts or get restored.
I execute some commands,...
0
votes
2
answers
392
views
QEMU Linux Bash init scripts not printing to the console
I am emulating a board from TI which run ARM-Cortex A15. The board using UART8250 and the default uart number is 3 at address 0x48020000. I use U-boot to boot the Linux kernel and run qemu with:
qemu-...
1
vote
1
answer
4k
views
Tmux displaying strange characters after installing theme through tpm
I've recently started using tmux and have been working on getting it configured. After installing the catppuccin theme some of the symbols at the bottom of the screen aren't being displayed properly.
...
0
votes
1
answer
75
views
EXEC in SHELL script running from .bashrc in console
I have a shell script that has to be ran when a user logs in, but when he tries to get out of the script, he should be logged out again.
The script uses dialog to create a TUI and is working fine when ...
-1
votes
1
answer
45
views
Variable not being updated
I am quite stuck with a little problem. I have a variable actual_account_balance which I need to set as global so that it's value can be shared and updated between functions, but I have no idea how to ...
1
vote
0
answers
59
views
golang: how to detach current process from console inside itself (programatically)?
I wrote a service program in Go, let's say, a web server. I run it like this:
mywebsvr &
How can I make the program detach itself from console without having to start it with &. In Windows, ...
1
vote
0
answers
16
views
Printing to console in x86 assembly [duplicate]
I am unable to print text other than pre defined variables into the console. For example,
add dx, 48
mov rax, 1
movzx rsi, dx
mov rdx, 1
syscall
somehow results in a "Floating point exception (...