* screen in guile
@ 2012-03-08 9:14 Thien-Thi Nguyen
2012-03-08 11:02 ` Andrew Gwozdziewycz
2012-03-08 13:48 ` Ludovic Courtès
0 siblings, 2 replies; 6+ messages in thread
From: Thien-Thi Nguyen @ 2012-03-08 9:14 UTC (permalink / raw)
To: guile-user
Hey, here's a summer (to start with) of code idea:
Rewrite GNU Screen in Guile Scheme.
Bonus points for adding "vertical split" a la tmux.
(I got this idea after reading some screen vs tmux posts,
not ever having used tmux, personally, but somewhat irked
anyway by the "aging code base" vibe...)
I suppose if nobody else picks this up, it will go on my queue
after {RPX, Guile-{WWW,SDL,PG}} in Guile 2, {RCS, Git} in Guile...
Do you all really want to wait that long?!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: screen in guile
2012-03-08 9:14 screen in guile Thien-Thi Nguyen
@ 2012-03-08 11:02 ` Andrew Gwozdziewycz
2012-03-08 16:43 ` Thien-Thi Nguyen
2012-03-08 13:48 ` Ludovic Courtès
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Gwozdziewycz @ 2012-03-08 11:02 UTC (permalink / raw)
To: Thien-Thi Nguyen; +Cc: guile-user
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
On Thu, Mar 8, 2012 at 4:14 AM, Thien-Thi Nguyen <ttn@gnuvola.org> wrote:
> Hey, here's a summer (to start with) of code idea:
>
> Rewrite GNU Screen in Guile Scheme.
> Bonus points for adding "vertical split" a la tmux.
>
Maybe I'm missing something, but doesn't screen *have* vertical split a la
tmux?
http://i.imgur.com/IXdEF.png
(I got this idea after reading some screen vs tmux posts,
> not ever having used tmux, personally, but somewhat irked
> anyway by the "aging code base" vibe...)
>
> I suppose if nobody else picks this up, it will go on my queue
> after {RPX, Guile-{WWW,SDL,PG}} in Guile 2, {RCS, Git} in Guile...
> Do you all really want to wait that long?!
>
>
--
http://www.apgwoz.com
[-- Attachment #2: Type: text/html, Size: 1296 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: screen in guile
2012-03-08 9:14 screen in guile Thien-Thi Nguyen
2012-03-08 11:02 ` Andrew Gwozdziewycz
@ 2012-03-08 13:48 ` Ludovic Courtès
1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2012-03-08 13:48 UTC (permalink / raw)
To: guile-user
Hello!
Thien-Thi Nguyen <ttn@gnuvola.org> skribis:
> Rewrite GNU Screen in Guile Scheme.
> Bonus points for adding "vertical split" a la tmux.
Good idea. :-)
I presume GNU Guile-NCurses could be of help here?
Extra bonus point: getting the Scheme implementation of screen actually
become the new GNU Screen (may well be the hardest part.)
Cheers,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: screen in guile
2012-03-08 11:02 ` Andrew Gwozdziewycz
@ 2012-03-08 16:43 ` Thien-Thi Nguyen
2012-03-08 16:57 ` Andrew Gwozdziewycz
0 siblings, 1 reply; 6+ messages in thread
From: Thien-Thi Nguyen @ 2012-03-08 16:43 UTC (permalink / raw)
To: Andrew Gwozdziewycz; +Cc: guile-user
() Andrew Gwozdziewycz <apgwoz@gmail.com>
() Thu, 8 Mar 2012 06:02:46 -0500
Maybe I'm missing something, but doesn't screen
*have* vertical split a la tmux?
http://i.imgur.com/IXdEF.png
Certainly seems like it. Well then, we will need
something else bonus-points worthy, i suppose. The
only thing that strikes me as interesting (personally)
would be schemier ~/.screenrc syntax, but i assume that
any reasonable porting effort would address that issue
de rigueur.
[Hangs head in shame, peeking at ~/.rpxrc ...]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: screen in guile
2012-03-08 16:43 ` Thien-Thi Nguyen
@ 2012-03-08 16:57 ` Andrew Gwozdziewycz
2012-03-08 18:47 ` Thien-Thi Nguyen
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Gwozdziewycz @ 2012-03-08 16:57 UTC (permalink / raw)
To: Thien-Thi Nguyen; +Cc: guile-user
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
On Thu, Mar 8, 2012 at 11:43 AM, Thien-Thi Nguyen <ttn@gnuvola.org> wrote:
> () Andrew Gwozdziewycz <apgwoz@gmail.com>
> () Thu, 8 Mar 2012 06:02:46 -0500
>
> Maybe I'm missing something, but doesn't screen
> *have* vertical split a la tmux?
>
> http://i.imgur.com/IXdEF.png
>
> Certainly seems like it. Well then, we will need
> something else bonus-points worthy, i suppose. The
> only thing that strikes me as interesting (personally)
> would be schemier ~/.screenrc syntax, but i assume that
> any reasonable porting effort would address that issue
> de rigueur.
>
> [Hangs head in shame, peeking at ~/.rpxrc ...]
>
Not to strike you down twice, but I'm not sure how .screenrc's syntax would
be better served with s-expressions. To my knowledge it's completely line
oriented without any sort of section delimiting.
--
http://www.apgwoz.com
[-- Attachment #2: Type: text/html, Size: 1366 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: screen in guile
2012-03-08 16:57 ` Andrew Gwozdziewycz
@ 2012-03-08 18:47 ` Thien-Thi Nguyen
0 siblings, 0 replies; 6+ messages in thread
From: Thien-Thi Nguyen @ 2012-03-08 18:47 UTC (permalink / raw)
To: Andrew Gwozdziewycz; +Cc: guile-user
() Andrew Gwozdziewycz <apgwoz@gmail.com>
() Thu, 8 Mar 2012 11:57:48 -0500
Not to strike you down twice,
No worries, the mud's fine.
but I'm not sure how .screenrc's syntax would be better served
with s-expressions. To my knowledge it's completely line
oriented without any sort of section delimiting.
Here's a fragment from my ~/.screenrc:
# special xterm hardstatus: use the window title.
termcap xterm 'hs:ts=\E]2;:fs=\007:ds=\E]0;Screen\007'
terminfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]0;Screen\007'
It shows a comment and two directives of the form:
CATEGORY KEY VALUE
Since KEY and VALUE are identical, it would be nice to be able to
express that using some kind of ‘for-each’ or ‘map’ expression.
Furthermore, IWBN to compose the string from meaningful bits
instead of having to cart around (for 15 years, no less :-) such
grot...
(define (both-termcap-and-terminfo name value)
;; do ‘termcap NAME VALUE’
;; do ‘terminfo NAME VALUE’
)
(both-termcap-and-terminfo
'xterm (string-join (map format-attribute
'(hs
(ts escape "]2;")
(fs bell)
(ds escape "]0;Screen" bell)))
":"))
or something like that.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-08 18:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 9:14 screen in guile Thien-Thi Nguyen
2012-03-08 11:02 ` Andrew Gwozdziewycz
2012-03-08 16:43 ` Thien-Thi Nguyen
2012-03-08 16:57 ` Andrew Gwozdziewycz
2012-03-08 18:47 ` Thien-Thi Nguyen
2012-03-08 13:48 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).