Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] users.r tip

From: pat665::ifrance::com at: 24-Nov-2001 17:18

Hi, This is just a tip I use all the time because I am too lazy to write change-dir or list-dir. I use a little rebol program (1) to define cls, dir, and cd functions. Then I have modified my user.r file to add this line (2). cls clears the console using ansi escape sequence. I found it very usefull when experimenting some Ladislav codes. isn'it strange that such command are so long ? (1) Rebol [] ; my quick-pref.r file cls: does [print "^(1B)[J"] dir: :list-dir cd: :change-dir (2) do %quick-pref.r