--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/50ef4bac-cd54-4574-b671-99f9d3364008%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43-5qLJhL6RRqXp2xXqGc%2BtFjupS2mStf4yMvq0r4a4UZQ%40mail.gmail.com.
i don't know of a way to do that. the gremlin console is built on groovysh which in turn uses jline2 for io stuff, so we are a bit dependent on them for that kind of functionality (perhaps there is a way and i'm just not aware). not sure if there is a OS specific way to do it (cls wouldn't work i guess) but, as an example, I learned the ctrl+u on linux is good to delete all contents of a line in the Gremlin Console - never realized that worked there before the same way it works from the regular command line.
On Wed, Jun 12, 2019 at 4:43 PM 'Jon Schoenfield' via Gremlin-users <gremli...@googlegroups.com> wrote:
I'm running Gremlin Console (on a laptop running Windows 10). If I want to clear the screen (similar to what the "cls" command normally does in a Command Prompt window), is there an easy way to do that?--If not ... is there a not-so-easy way that probably wouldn't be difficult for someone like me (just getting started with Gremlin)?Thanks!
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremli...@googlegroups.com.
CTRL+L in Linux and, according to https://www.davidtan.org/how-to-clear-screen-in-groovy-console/, CTRL+W in Windows.Cheers,Daniel
On Wed, Jun 12, 2019 at 2:38 PM Stephen Mallette <spmal...@gmail.com> wrote:
i don't know of a way to do that. the gremlin console is built on groovysh which in turn uses jline2 for io stuff, so we are a bit dependent on them for that kind of functionality (perhaps there is a way and i'm just not aware). not sure if there is a OS specific way to do it (cls wouldn't work i guess) but, as an example, I learned the ctrl+u on linux is good to delete all contents of a line in the Gremlin Console - never realized that worked there before the same way it works from the regular command line.
On Wed, Jun 12, 2019 at 4:43 PM 'Jon Schoenfield' via Gremlin-users <gremli...@googlegroups.com> wrote:
I'm running Gremlin Console (on a laptop running Windows 10). If I want to clear the screen (similar to what the "cls" command normally does in a Command Prompt window), is there an easy way to do that?--If not ... is there a not-so-easy way that probably wouldn't be difficult for someone like me (just getting started with Gremlin)?Thanks!
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremli...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/50ef4bac-cd54-4574-b671-99f9d3364008%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremli...@googlegroups.com.
gremlin>"cmd /c cls".execute.text
gremlin> def cls() {for (i in 1..100){println(" ")};[]}
gremlin cls()
gremlin> "cmd /c cls".execute.text
No such property: execute for class: java.lang.String
Type ':help' or ':h' for help.
Display stack trace? [yN]
gremlin> def cls() {for (i in 1..100){println(" ")};[]}
gremlin cls()
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/ff72fa1d-1cc1-4845-99a1-c881499a081d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/ff72fa1d-1cc1-4845-99a1-c881499a081d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/af379546-a8bd-4ea4-b20a-065d051488ae%40googlegroups.com.
sorry - i messed up the commit. it should be fixed now.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/af379546-a8bd-4ea4-b20a-065d051488ae%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/1287df4b-622b-4a94-9f02-898e575860d1%40googlegroups.com.
how about :cls and shorthand as :C ?
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/1287df4b-622b-4a94-9f02-898e575860d1%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c22c75f8-713f-44d7-b4ff-b79460c326cd%40googlegroups.com.