Ask coding questions

← Back to all posts
How to only display output in a bash repl.
h
Retrospicer (10)

Is there a way to only display the output of a (bash) repl?
(Don't show code or console, only output)

Thanks in advance!

Comments
hotnewtop
Coder100 (18071)

given a repl:
https://replit.com/@Coder100/Coder100

it can be made outputonly
https://replit.com/@Coder100/Coder100?outputonly=1&lite=1

well sort of, the terminal will also show, but that's a convenience in my book.

Retrospicer (10)

@Coder100 It's for a fork of one of your repls - So basically I want the Chromium browser in the repl to be fullscreen (in the tab if possible or in a new window) or hide the code and console if the 1st is not possible.
The forked repl: https://replit.com/@TamoghnaK13/Chromium (I gave you editing permission, please help)
Thanks @Coder100

Retrospicer (10)

@Coder100 But it's the same --start-fullscreen does not make it fullscreen in the repl page, it looks like this

But It should look like this by default when repl is run


@Coder100 Thanks!

( @TheBest156 Ping)

Coder100 (18071)

i mean when you change the flag to --start usually it won't do the same thing as --start-fullscreen?

@TamoghnaK13

Retrospicer (10)

@Coder100 When I mean fullscreen I mean like full tab like this:
@Coder100 If not this, is there a way to open this in a new tab window like a express server would or can I emulate this in nodejs and how?

Coder100 (18071)

no that is not possible because all apps start in 'small' mode @TamoghnaK13

Retrospicer (10)

@Coder100 If not this, is there a way to open this in a new tab window like a express server would or can I emulate this in nodejs and how?

TheBest156 (43)

@TamoghnaK13 Maybe try working on sound in the browser

Retrospicer (10)

@TheBest156 - https://dsc.gg/ez-dubs is the Discord server invite and my username/tag is Retrospicer#3336 so yeah!
(Vanity invite made with dsc.gg - it's safe)

TheBest156 (43)

@TamoghnaK13 So for when I join, i am titled, Cobra Kai with a xbox logo

Retrospicer (10)

@TheBest156 Ok, sure, also I'll give you mod too, but right now I am busy, I'll do it in 5 hours when I am free

Retrospicer (10)

@TheBest156 Gave you mod, pls dont abuse it

TheBest156 (43)

If the command is run from a terminal, you can do:

VAR=$(svn checkout $URL | tee /dev/tty)

Retrospicer (10)

@TheBest156 I'm just using the replit run button

TheBest156 (43)

@TamoghnaK13 OOh, So you want to programm the RUN button?

Retrospicer (10)

@TheBest156 I want to make the output run fullscreen (when repl is run) so you can't see the code or console but you can only see the output.

TheBest156 (43)

@TamoghnaK13 Ok, I am starting to understand it now. Maybe try wmctrl -r :ACTIVE: -b add,fullscreen wmctrl -r :ACTIVE: -b remove,fullscreen

Retrospicer (10)

@TheBest156 I don't understand. Can you fork the repl and send me with it implemented?

TheBest156 (43)

@TamoghnaK13 Sure! just give me some time to deal with someone else's repl ... i'll comment when i'm done.

Retrospicer (10)

@TheBest156 There is no difference though - it is "fullscreen"(not) but it is only 25% of the tab/window and you can still see the code and the console.