[GH-ISSUE #1698] When I type in console and something else is printed to the console what ever I typed gets removed. But when I press enter the command is ran #1325

Closed
opened 2026-02-27 02:56:30 +03:00 by kerem · 9 comments
Owner

Originally created by @Synkstar on GitHub (Nov 19, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1698

Plz fix

Originally created by @Synkstar on GitHub (Nov 19, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1698 Plz fix
kerem closed this issue 2026-02-27 02:56:30 +03:00
Author
Owner

@Scarsz commented on GitHub (Nov 19, 2017):

An exemplary example of how not to use GitHub Issues. This is a problem with the server software, not LGSM.

<!-- gh-comment-id:345481715 --> @Scarsz commented on GitHub (Nov 19, 2017): An exemplary example of how not to use GitHub Issues. This is a problem with the server software, not LGSM.
Author
Owner

@MarkTwoFive commented on GitHub (Nov 20, 2017):

Actually that is up to the terminal you're using and has to do with how the Std. IO-Streams work.

Whatever you type is sent to the stdIN stream either instantaneously or as soon as you hit enter (depending on your terminal/shell) and whatever the program wants to send to its console is sent to the stdOUT stream.

Those two streams do not interact with each other. So actions on one do not affect the other.

Now what you're experiencing is a behavior of you terminal/shell which displays both your input and the process output in the same log:

  1. You type a few characters
  2. Application sends a line (followed by a newline character) -> This is only visually appended to what you've written (Remember that the stdIN is not affected by this)
  3. You type the rest and hit enter -> The application receives what you typed via stdIN and does not know that you've seen something different

tl;dr: You don't need to worry about this as it is just a visual effect.

<!-- gh-comment-id:345721410 --> @MarkTwoFive commented on GitHub (Nov 20, 2017): Actually that is up to the terminal you're using and has to do with how the Std. IO-Streams work. Whatever you type is sent to the stdIN stream either instantaneously or as soon as you hit enter (depending on your terminal/shell) and whatever the program wants to send to its console is sent to the stdOUT stream. Those two streams ___do not interact___ with each other. So actions on one do not affect the other. Now what you're experiencing is a behavior of you terminal/shell which displays both your input and the process output in the same log: 1. You type a few characters 2. Application sends a line (followed by a ``newline`` character) -> This is ___only visually___ appended to what you've written (Remember that the stdIN is not affected by this) 3. You type the rest and hit enter -> The application receives what you typed via stdIN and does ___not know___ that you've seen something different tl;dr: You don't need to worry about this as it is just a visual effect.
Author
Owner

@Synkstar commented on GitHub (Nov 20, 2017):

I am just wondering if it is possible to fix this because I cant review what I am typing.

<!-- gh-comment-id:345828448 --> @Synkstar commented on GitHub (Nov 20, 2017): I am just wondering if it is possible to fix this because I cant review what I am typing.
Author
Owner

@Scarsz commented on GitHub (Nov 20, 2017):

No. Sorry but you have to live with it. Certain server softwares (such as Minecraft, I believe) don't have the problem while some do. Nothing we as developers of LGSM can do. I'm as annoyed by it as you are.

<!-- gh-comment-id:345829948 --> @Scarsz commented on GitHub (Nov 20, 2017): No. Sorry but you have to live with it. Certain server softwares (such as Minecraft, I believe) don't have the problem while some do. Nothing we as developers of LGSM can do. I'm as annoyed by it as you are.
Author
Owner

@Synkstar commented on GitHub (Nov 20, 2017):

Ok

On Mon, Nov 20, 2017 at 3:59 PM, Austin Shapiro notifications@github.com
wrote:

No. Sorry but you have to live with it. Certain server softwares (such as
Minecraft, I believe) don't have the problem while some do. Nothing we as
developers of LGSM can do.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GameServerManagers/LinuxGSM/issues/1698#issuecomment-345829948,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY9notHmvA4ND7MOMr4FSKuWp_ut6v-eks5s4egigaJpZM4QjM5l
.

<!-- gh-comment-id:345838004 --> @Synkstar commented on GitHub (Nov 20, 2017): Ok On Mon, Nov 20, 2017 at 3:59 PM, Austin Shapiro <notifications@github.com> wrote: > No. Sorry but you have to live with it. Certain server softwares (such as > Minecraft, I believe) don't have the problem while some do. Nothing we as > developers of LGSM can do. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/GameServerManagers/LinuxGSM/issues/1698#issuecomment-345829948>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AY9notHmvA4ND7MOMr4FSKuWp_ut6v-eks5s4egigaJpZM4QjM5l> > . >
Author
Owner

@MarkTwoFive commented on GitHub (Nov 20, 2017):

Actually there is: Use a terminal/shell that does not write stdIN and stdOUT on the same lines.

Or wrap another one that is capable of that around lgsm.

Or just find a way not to need the server console ^^

<!-- gh-comment-id:345848828 --> @MarkTwoFive commented on GitHub (Nov 20, 2017): Actually there is: Use a terminal/shell that does not write stdIN and stdOUT on the same lines. Or wrap another one that is capable of that around lgsm. Or just find a way not to need the server console ^^
Author
Owner

@Synkstar commented on GitHub (Nov 20, 2017):

Like what ? I am using ssh to connect to my server.

On Mon, Nov 20, 2017 at 5:15 PM, Magnus Leßmann (aka. mark332) <
notifications@github.com> wrote:

Actually there is: Use a terminal/shell that does not write stdIN and
stdOUT on the same lines.

Or wrap another one that is capable of that around lgsm.

Or just find a way not to need the server console ^^


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GameServerManagers/LinuxGSM/issues/1698#issuecomment-345848828,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY9nomTWmVPev_pRMRXXN8owvL2yvH9mks5s4fnwgaJpZM4QjM5l
.

<!-- gh-comment-id:345850522 --> @Synkstar commented on GitHub (Nov 20, 2017): Like what ? I am using ssh to connect to my server. On Mon, Nov 20, 2017 at 5:15 PM, Magnus Leßmann (aka. mark332) < notifications@github.com> wrote: > Actually there is: Use a terminal/shell that does not write stdIN and > stdOUT on the same lines. > > Or wrap another one that is capable of that around lgsm. > > Or just find a way not to need the server console ^^ > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/GameServerManagers/LinuxGSM/issues/1698#issuecomment-345848828>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AY9nomTWmVPev_pRMRXXN8owvL2yvH9mks5s4fnwgaJpZM4QjM5l> > . >
Author
Owner

@MarkTwoFive commented on GitHub (Nov 21, 2017):

The last one is propably the way to go for you. It is also the easiest.

<!-- gh-comment-id:345925163 --> @MarkTwoFive commented on GitHub (Nov 21, 2017): The last one is propably the way to go for you. It is also the easiest.
Author
Owner

@lock[bot] commented on GitHub (Nov 21, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:440548633 --> @lock[bot] commented on GitHub (Nov 21, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1325
No description provided.