help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WARNING: terminal is not fully functional


From: Pascal Bourguignon
Subject: Re: WARNING: terminal is not fully functional
Date: 01 Jun 2003 08:07:32 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Burton Samograd <kruhft@hotmail.com> writes:

> Pascal Bourguignon <spam@thalassa.informatimago.com> writes:
> > M-x term is no use for tops...
> > 
> > A good emacs  exercise would be to add support  for basic VT100 escape
> > sequences to  shell or term,  moving the cursor, and  overwritting the
> > characters, etc.  Should not be too difficult.
> 
> Isn't that what M-x ansi-term is for?  I just found it recently and it
> works quite nicely, although you have to C-c before some commands are
> passed to emacs. 

Just try:

    M-x ansi-term RETURN
    RETURN
    top RETURN

and get:


  8:06am  up 20:04,  8 users,  load average: 2.57, 2.40, 2.33
                                                             124 processes: 113 
sleeping, 10 running, 1 zombie, 0 stopped
                                          CPU states:  1.7% user,  2.4% system, 
36.0% nice,  0.2% idle
                       Mem:  1030876K av, 1015332K used,   15544K free,       
0K shrd,  257944K buff
                     Swap: 3156648K av,   23308K used, 3133340K free            
      364616K cached
                     
                       PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   
TIME COMMAND
            1736 pascal    20  19 14760  13M   800 R N  47.2  1.3 580:49 
setiathome
     1735 pascal    19  19 14792  13M   792 R N  46.3  1.3 580:43 setiathome
                                                                            
16275 pascal    16   0   988  984   740 R     6.4  0.0   0:00 top
                                                                  1 root       
8   0    76   64    44 S     0.0  0.0   0:04 init
                                                     2 root       9   0     0   
 0     0 SW    0.0  0.0   0:01 keventd
                                           3 root       9   0     0    0     0 
SW    0.0  0.0   0:00 kapmd
                               4 root      19  19     0    0     0 SWN   0.0  
0.0   0:00 ksoftirqd_CPU0
                            5 root       9   0     0    0     0 SW    0.0  0.0  
 0:14 kswapd
                 6 root       9   0     0    0     0 SW    0.0  0.0   0:00 
bdflush
       7 root       9   0     0    0     0 SW    0.0  0.0   1:11 kupdated



-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------
Do not adjust your mind, there is a fault in reality.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]