This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/2014] New: cannot use backslash for escape sequences


I'm trying to use ANSI escape sequences to do things like clear the screen, etc.

print("\033[2J\033[1;1H"); doesn't work. It turns into
"033[2J033[1;1H"
print("\\033[2J\\033[1;1H"); doesn't work. It turns into
"\\033[2J\\033[1;1H"

-- 
           Summary: cannot use backslash for escape sequences
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: hunt at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2014

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]