Toggle navigation
PxPlus User Forum
PxPlus User Forum
»
Main Board
»
Discussions
»
Thin Client/WindX
»
Clear screen from bash
Likes
« previous
next »
Print
Pages: [
1
]
Author
Topic: Clear screen from bash (Read 1994 times)
JimGwynn
Member
Posts: 16
Clear screen from bash
«
on:
October 04, 2019, 07:37:44 PM »
Is there way to issue a clear screen command within the .bash_profile that will clear the windx screen and return to the upper left?
Logged
keith.mcbride
Member
Posts: 12
Re: Clear screen from bash
«
Reply #1 on:
October 07, 2019, 09:23:15 AM »
In a terminal window, the command "clear" will clears the screen. You can see if it will do the same in Windx
Logged
Mike King
Diamond Member
Posts: 3824
Mike King
Re: Clear screen from bash
«
Reply #2 on:
October 07, 2019, 10:09:42 AM »
If the 'clear' command doesn't work for you, WindX will accept most ANSI terminal escape sequences thus you should be able to issue at the Linux command line:
printf "\033[H\033[J"
When \033 is the octal representation of the ESC character.
Logged
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com
Print
Pages: [
1
]
« previous
next »
PxPlus User Forum
»
Main Board
»
Discussions
»
Thin Client/WindX
»
Clear screen from bash