screen-devel
[Top][All Lists]
Advanced

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

Re: [screen-devel] Extend windows command, introduce Xx string escape


From: Amadeusz Sławiński
Subject: Re: [screen-devel] Extend windows command, introduce Xx string escape
Date: Sat, 23 Feb 2013 10:13:06 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Feb 22, 2013 at 02:23:54PM +0100, Thomas Renninger wrote:
> On Thursday, February 14, 2013 06:32:53 PM Amadeusz Sławiński wrote:
> > On Thu, Feb 14, 2013 at 04:38:33PM +0100, Thomas Renninger wrote:
> > > On Thursday, February 14, 2013 02:42:31 AM Amadeusz Sławiński wrote:
> ...
> > > If I am the only one I certainly will do it similar like you do.
> > > If you or others are still interested we might want to give it a go after
> > > finding out who could adjust the GNU project page.
> > 
> > Well I'm certainly interested
> 
> This week was rather busy...
> I wanted to have a look at your repo, but did not manage to do so.
> I talked with Juergen and we should be able to add a link to a another
> git repo to the screen project which could continue with active
> development.
> Not sure whether I will have rights for the current git repo, it might make
> sense to pick up latest fixes and some of your enhancements into
> the already existing repo if this is possible.
> 
> Anyway, I try to find time to look deeper into this next week.

No problem at all, let me know if you have any questions
The most mergeable will probably be the older ones

Here is my todo list (it may help a bit with understanding some stuff):

* BUG reset color to defaults before & after drawing hardstatus/caption?
* readline?

* use Authenticate() when attaching/reattaching instead of this weird stuff it 
uses now

* better query interface
  query interface doesn't work to well with multiple displays

* escapes
modify escapes
%[ %<%> %] 
%[ %] - create block (variable length)
%<%> - center around in block
%12[ %] - block length in chars
%.12[ %] - block length in percent

* add escapes to check if flag is set
 - rendtion stuff can be removed then?

* modify some of escapes to work better via query
ie. multiline window list:
[flags] [number] [name]
* 0 window0
- 1 window1
 2 window2
 3 window3

* hardstatus should call script which should listen for input (events like 
resize, new/close window) and periodically or on event send new string
  a bit similar to callbacks

  another idea would be to make it configurable via config.h

* rewrite command line parsing (tmux has it thought out pretty well)

screen new
screen attach [-f --force] [pid] (or first free one) 
screen detach [-f --force] pid
screen reattach [-f --force] [pid
screen newdisplay [-n --new-window]
screen query windows|displays|sessions

attach to, use pid or first unattached?

* rewrite some stuff in headers (remove extern.h)

* int to uint(size)_t?

* POSIXify but go with compiling using latest standard c11 because of utf

* get rid of scripts generating code, they make it hard to edit code, and 
output is unpredictable
  term.sh remake terminal handling in code
      also 'man termcap' says which capabilitiess have what type
      infocmp - to view terminfo file
  comm.sh RC_* need to be defined in some other way

* just use canvases instead of viewports stuff? (from drafts/screen_internal)

* update documentation
  - hardstatus firstline
  - new escape codes
  - rendition attrib "colors" <- only 2 args
  - some stuff was removed

IN PROGRESS:

* color handling still need some work
  add '-' to be interpreted as no color ie %{-,-} etc
  attr also
  check xterm/urxvt/xfce4-terminal/st

* wcwidth ... better utf handling

DONE:
- remove hardstatus/caption escapes (start with stuff which can be just done by 
external scripts)
time, date
loadavg
- leave screen specific ones (escape, windowlist, backticks)

Amadeusz



reply via email to

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