typescript follows:

Script started on Sat Jun 23 19:09:49 2012
]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran19:09:50:haitran:~
 $  python pudb_usage.py 
7[?47h)0[?25lPuDB 2012.1 - ?:help  n:next  
s:step into  b:breakpoint  o:output  t:run to cursor  !:python shell            
                                1 
def function():       
                                                                      
 Variables:                               
>  2     import pudb; pudb.set_trace() 
                                                           
Return: NoneType                         
   3                         
                                                                     
pudb: <module 'pudb' from 
'/usr/local/Cel   4          
                                                                                
      
lar/python/2.7.1/lib/python2.7/site-pac  
 5 # filler line                                
                                                  
kages/pudb/__init__.pyc'>                
 6 # filler line                                
                                                          
                                  7 
# filler line                                             
                                                          
                     8 # 
filler line                                                         
                                                          
         9 # filler 
line                                                                
                                                         
  10 # filler 
line                                                                
                                                         
  11 # filler 
line                                                                
                                                         
  12 # filler 
line                                                                
                                                         
  13 # filler 
line                                                                
                                                         
  14 # filler 
line                                                                
                                                         
  15 # filler 
line                                                                
                Stack:                          
           16 # filler 
line                                                                
                   <module> pudb_usage.py:21  
             17 # filler 
line                                                                
                >> function pudb_usage.py:2 
               18 # filler 
line                                                                
                                                         
  19                        
                                                                      
                                          
 20                                             
                                                          
                                  21 
function()                                  
                                                          
                                                            
                                                                      
                                                
                                                                                
                                                    
                                                            
                                                          
                                                            
                                                           
                                                
                                                                                
                                                    
                                                            
                                                          
                                                            
                                                           
Breakpoints:                             
                                                            
                                                            
                                                            
                                                            
                                                            
                                                                           
                                          
                                                            
                                                            
                                                            
                                                            
                                                            
                                                                           
                                          
[?1002l[?1000l[?25h[?47l8
[?25hHit Ctrl-D to return to PuDB.
In [1]: 
Do you really want to exit ([y]/n)? 
7[?47h[?25lPuDB 2012.1 - ?:help  n:next  
s:step into  b:breakpoint  o:output  t:run to cursor  !:python shell            
                                1 
def function():       
                                                                      
 Variables:                               
>  2     import pudb; pudb.set_trace() 
                                                           
Return: NoneType                         
   3                         
                                                                     
pudb: <module 'pudb' from 
'/usr/local/Cel   4          
                                                                                
      
lar/python/2.7.1/lib/python2.7/site-pac  
 5 # filler line                                
                                                  
kages/pudb/__init__.pyc'>                
 6 # filler line                                
                                                          
                                  7 
# filler line                                             
                                                          
                     8 # 
filler line                                                         
                                                          
         9 # filler 
line                                                                
                                                         
  10 # filler 
line                                                                
                                                         
  11 # filler 
line                                                                
                                                         
  12 # filler 
line                                                                
                                                         
  13 # filler 
line                                                                
                                                         
  14 # filler 
line                                                                
                                                         
  15 # filler 
line                                                                
                Stack:                          
           16 # filler 
line                                                                
                   <module> pudb_usage.py:21  
             17 # filler 
line                                                                
                >> function pudb_usage.py:2 
               18 # filler 
line                                                                
                                                         
  19                        
                                                                      
                                          
 20                                             
                                                          
                                  21 
function()                                  
                                                          
                                                            
                                                                      
                                                
                                                                                
                                                    
                                                            
                                                          
                                                            
                                                           
                                                
                                                                                
                                                    
                                                            
                                                          
                                                            
                                                           
Breakpoints:                             
                                                            
                                                            
                                                            
                                                            
                                                            
                                                                           
                                          
                                                            
                                                            
                                                            
                                                            
                                                            
                                                                           
                                          
[?1002l[?1000l[?25h[?47l8
[?25hTraceback (most recent call last):
  File "pudb_usage.py", line 21, in <module>
    function()
  File "pudb_usage.py", line 2, in function
    import pudb; pudb.set_trace()
  File "/usr/local/Cellar/python/2.7.1/lib/python2.7/bdb.py", line 52, in 
trace_dispatch
    return self.dispatch_return(frame, arg)
  File "/usr/local/Cellar/python/2.7.1/lib/python2.7/bdb.py", line 85, in 
dispatch_return
    self.user_return(frame, arg)
  File 
"/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/pudb/debugger.py", 
line 253, in user_return
    self.interaction(frame)
  File 
"/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/pudb/debugger.py", 
line 208, in interaction
    self.ui.call_with_ui(self.ui.interaction, exc_tuple)
  File 
"/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/pudb/debugger.py", 
line 1242, in call_with_ui
    return f(*args, **kwargs)
  File 
"/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/pudb/debugger.py", 
line 1361, in interaction
    self.event_loop()
  File 
"/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/pudb/debugger.py", 
line 1314, in event_loop
    keys = self.screen.get_input()
  File 
"/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid/raw_display.py",
 line 284, in get_input
    self._wait_for_input_ready(self._next_timeout)
  File 
"/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid/raw_display.py",
 line 422, in _wait_for_input_ready
    fd_list, [], fd_list)
KeyboardInterrupt
]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran]7;file://ktmacbookpro/Users/haitran19:09:58:haitran:~
 $  exit
exit

Script done on Sat Jun 23 19:10:01 2012


On Jun 23, 2012, at 12:08 AM, Nicholas Marriott wrote:

> Ok, run the program in script inside tmux and send me the typescript
> file please.
> 
> 
> On Fri, Jun 22, 2012 at 06:05:01PM -0700, Kevin Tran wrote:
>> I think my $TERM is correct. Inside tmux $TERM is screen-256color.
>> 
>> On Jun 22, 2012, at 3:46 PM, Nicholas Marriott wrote:
>> 
>>> Your TERM is probably wrong, it needs to be "screen" inside tmux.
>>> 
>>> 
>>> On Fri, Jun 22, 2012 at 02:59:42PM -0700, Kevin Tran wrote:
>>>>  I am running:
>>>>  python 2.7.1
>>>>  pudb==2012.1
>>>>  urwid==1.0.1
>>>>  pigments==1.5
>>>>  tmux==1.6
>>>>  When I use pudb in a tmux session, the python shell shows at the bottom
>>>>  when it should clear the screen.
>>>>  Screenshots
>>>>  Outside of a tmux session: [1]http://imgur.com/uZHpG
>>>>  Inside a tmux session: [2]http://imgur.com/tjirf
>>>>  What's happening? Is this a problem with tmux or with pudb? How do you fix
>>>>  this?
>>>> 
>>>> References
>>>> 
>>>>  Visible links
>>>>  1. http://imgur.com/uZHpG
>>>>  2. http://imgur.com/tjirf
>>> 
>>>> ------------------------------------------------------------------------------
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and 
>>>> threat landscape has changed and how IT managers can respond. Discussions 
>>>> will include endpoint security, mobile security and the latest in malware 
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> 
>>>> _______________________________________________
>>>> tmux-users mailing list
>>>> tmux-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/tmux-users
>>> 
>> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to