Re: X cut and paste
* Aaron Griffin [EMAIL PROTECTED] [2005-09-15 12:51:38 -0500]: One feature I was thinking about a while back would be a multiline hardstatus... I use the hardstatus line for *alot* of stuff... cpu temp, battery levels, scaling freq, weather, and all that jazz - basically I use it in the same way most people use May I request you to share how you use hardstatus line to monitor all that. If you use any external programs, it would be good to know about them as well. Cheers -- Ajitabh Pandey http://www.ajitabhpandey.info ICQ - 150615062 Registered Linux User - 240748 GnuPG Key ID - 35CF8CC4 Key fingerprint = E1A8 657D BE0C 4747 52EC 10C4 1AC2 C124 35CF 8CC4 --- You have no real enemies. signature.asc Description: Digital signature ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: X cut and paste
On Thu, Sep 15, 2005 at 12:51:38PM -0500, Aaron Griffin wrote: On 9/15/05, Michael Schroeder [EMAIL PROTECTED] wrote: Planned features for the next release: - maybe vertical split, if I still have some time left. Hooray! Out of morbid curiosity, what would be the implications of converting screen to use ncurses (ignoring the workload, of course) - could it be done? I think it'd improve portability and reduce the code base a bit and would give you the capability to handle V/H splits easilly, and even floating windows or something Actually screen's display functions can do all of this and lots more, so there is no need to switch to ncurses. Cheers, Michael. -- Michael Schroeder [EMAIL PROTECTED] main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: X cut and paste
On 9/20/05, Ajitabh Pandey [EMAIL PROTECTED] wrote: * Aaron Griffin [EMAIL PROTECTED] [2005-09-15 12:51:38 -0500]: One feature I was thinking about a while back would be a multiline hardstatus... I use the hardstatus line for *alot* of stuff... cpu temp, battery levels, scaling freq, weather, and all that jazz - basically I use it in the same way most people use May I request you to share how you use hardstatus line to monitor all that. If you use any external programs, it would be good to know about them as well. You can do it all with the backtick command... just note that the backtick command will not work with pipes or redierction, so complicated things must be thrown in a script. For example, I use: # backticks 1, 2, 4 and 5 omitted for example backtick 3 5 5 $HOME/.screen/therminfo hardstatus alwayslastline %{+b kb}[%m.%d.%y %0C:%s%a]%{kw} %1` | %2` | %3` | %{kc}%4`%{-} | %{ky}%5`%{-} NOTE: the undrawable characters below (before each {} set) are C-v,C-e in vim (^E) - they are escape characters that work insides scripts the same way % works in the hardstatus line. It allows me to color temp based on the value #! /bin/bash #therminfo stat=` acpi -tBf | tr -s , \ | cut -d\ -f4 ` temp=` acpi -tBf | tr -s , \ | cut -d\ -f5 ` t=${temp%%.*} color={k.} if [ $t -ge 130 ]; then color={ky} elif [ $t -ge 140 ]; then color={kr} fi echo $color$stat:$temp{-} I have similar scripts for weather (which simply scrapes a website) and net up/down statistics, but that one's a tad more complicated ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: X cut and paste
On 9/20/05, Michael Schroeder [EMAIL PROTECTED] wrote: On Thu, Sep 15, 2005 at 12:51:38PM -0500, Aaron Griffin wrote: On 9/15/05, Michael Schroeder [EMAIL PROTECTED] wrote: Planned features for the next release: - maybe vertical split, if I still have some time left. Hooray! Out of morbid curiosity, what would be the implications of converting screen to use ncurses (ignoring the workload, of course) - could it be done? I think it'd improve portability and reduce the code base a bit and would give you the capability to handle V/H splits easilly, and even floating windows or something Actually screen's display functions can do all of this and lots more, so there is no need to switch to ncurses. Hmmm, didn't know that. I did notice it was possible as the layers took into account all the information needed already (x,y,h,w). Admittedly I didn't attempt to patch it because the layers stuff seems to span 3-4 files, so it was hard to follow. Maybe I will do something with it - or at least try. Would you, by chance, be willing to accept patches to get rid of the KR style? Call me OCD, but if I was going to work on screen at all I would *have* to clean it up a bit - and I just might be crazy enough to do it 8) ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: X cut and paste
On Tue, Sep 20, 2005 at 11:15:11AM -0500, Aaron Griffin wrote: Hmmm, didn't know that. I did notice it was possible as the layers took into account all the information needed already (x,y,h,w). Well, you just need the right setup. Try compiling screen with -DHOLE, for example. Admittedly I didn't attempt to patch it because the layers stuff seems to span 3-4 files, so it was hard to follow. All the clipping is done in layer.c, the raw output functions are in display.c. Maybe I will do something with it - or at least try. Would you, by chance, be willing to accept patches to get rid of the KR style? Call me OCD, but if I was going to work on screen at all I would *have* to clean it up a bit - and I just might be crazy enough to do it 8) I'm against changing to ANSI, as we have prototypes you don't get extra functionality and screen won't complile with some older compilers anymore. It's the same thing as throwing out support for old OSes, it's just a bunch of ifdefs that doesn't hurt much. Cheers, Michael. -- Michael Schroeder [EMAIL PROTECTED] main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: X cut and paste
Le 15 septembre 2005 à 19:26, Michael Schroeder a écrit: Now that's a good question. I'd love to spend much time for screen, but had almost no spare time the last couple of months due to heavy workload in my job. I hope things will calm down a bit now. Planned features for the next release: [...] Is it planned to migrate from kr style to ansi C one day ? Are there some code cleanup in the way, like taking care of the very big switch/case in the main.c ? -- Xavier Nicollet http://nicollet.jeru.org/ ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: X cut and paste
On Thu, Sep 15, 2005 at 11:39:02AM -0400, [EMAIL PROTECTED] wrote: The list has been very quiet lately. I hope everyone is having a good vacation. I'm using HP-UX. When I start my X server and XDMCP to a box, login and start screen, everything is OK. When I telnet to another host and try to paste text into vi, there's a lot of text loss. It happens with rlogin as well. This happens when screen's input buffer is full. Known problem. I'll try to fix it in the next version of screen. Cheers, Michael. -- Michael Schroeder [EMAIL PROTECTED] main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users