Skip to content
← Back to Community
How to only display output in a bash repl.
Profile icon
Retrospicer

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

Thanks in advance!

Voters
Profile icon
ExcaliburnPlayz
Profile icon
Retrospicer
Comments
hotnewtop
Profile icon
Coder100

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.

Profile icon
Coder100

what do you mean?

Profile icon
Retrospicer

@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

Profile icon
Coder100

done nice @TamoghnaK13

Profile icon
Retrospicer

@Coder100 But it's the same --start-fullscreen does not make it fullscreen in the repl page, it looks like this Screenshot 2021-05-06 6.19.08 PM

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

Screenshot 2021-05-06 6.21.48 PM
@Coder100
Thanks!

( @TheBest156 Ping)

Profile icon
Coder100

uh
it worked for me?? @TamoghnaK13

Profile icon
Coder100

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

image

@TamoghnaK13

Profile icon
Retrospicer

@Coder100 When I mean fullscreen I mean like full tab like this: Screenshot 2021-05-06 6.21.48 PM
@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?

Profile icon
Coder100

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

Profile icon
Retrospicer
Profile icon
Retrospicer

@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?

Profile icon
TheBest156

@TamoghnaK13 this is amazing!

Profile icon
TheBest156

@TheBest156 a whole browser!

Profile icon
TheBest156

@TamoghnaK13 Maybe try working on sound in the browser

Profile icon
TheBest156

@TamoghnaK13 so, what is ur discord?

Profile icon
Coder100
Profile icon
Retrospicer

@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)

Profile icon
TheBest156
Profile icon
TheBest156

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

Profile icon
Retrospicer

@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

Profile icon
TheBest156

@TamoghnaK13 So, i joined already

Profile icon
Retrospicer

@TheBest156 Gave you mod, pls dont abuse it

Profile icon
TheBest156

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

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

Profile icon
Retrospicer

@TheBest156 I'm just using the replit run button

Profile icon
TheBest156

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

Profile icon
Retrospicer

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

Profile icon
TheBest156

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

Profile icon
Retrospicer

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

Profile icon
TheBest156

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

Profile icon
TheBest156

@TamoghnaK13 Alright, I am back.

Profile icon
TheBest156

@TamoghnaK13 https://replit.com/join/zubcdxpo-thebest156 Dude, This is amazing! here is the fork

Profile icon
Retrospicer

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