zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Juhapekka Tolvanen <juhtolv@st.jyu.fi>,
	zsh-user mailing list <zsh-users@sunsite.auc.dk>
Subject: Re: Tksh and dtksh replacements for Zsh-users?
Date: Sat, 22 Jul 2000 17:14:32 +0000	[thread overview]
Message-ID: <1000722171433.ZM4503@candle.brasslantern.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10007221458200.15004-100000@verso.st.jyu.fi>

On Jul 22,  3:07pm, Juhapekka Tolvanen wrote:
} Subject: Tksh and dtksh replacements for Zsh-users?
}
} Tksh is an implementation of the Tcl C library written on top of the
} library for the new KornShell (ksh93).  Dtksh is something like Tksh,
} but it is for making of CDE-apps.
} 
} I just wonder: Is it possible to create something like that for zsh?

Sure.  Just another module.

I don't know about the CDE graphics library, but the easiest way for Tk
would be to create a zsh module to link to the Tcl library as a builtin
command, then simply attach the existing Tcl bindings for Tk to that.  I
did exactly that years ago for Z-Mail, although the version with Tk was
never released.  The zsh module would also have to install a couple of
Tcl builtins to use for calling back to zsh functions, because the Tk
event loop has to be allowed to take over control once the UI is ready
to come up.

} How about possibility to create Tk-apps with zsh? Or better yet, how
} about possibility to creating Gtk- or even Gnome-apps with Zsh?

That should be possible, too.  All you need is someone with time and
inclination (I presently have neither).

} And here are the names I propose:
} 
} - TkZsh
} - GtkZsh
} - GnomeZsh

I have a better proposal:  Just call it zsh.  (The module names would
typically be something like ztk, zgtk, and zgnome, ala zpty and zftp.)

} Currently, it is possible to write Tk-, Gtk- and even Gnome-apps with
} Perl and Python. Is it better idea to just stick with those scripting
} languages?

I'm not very familiar with the sorts of things that one uses e.g. Dtksh
to write.  My suspicion would be that a graphically-enabled shell is more
often used to add simple I/O dialogs to shell scripts than it is to write
full-blown GUI apps in shell.

Certainly I'd prefer a language with something approximating real data
structures for purposes of writing a GUI.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2000-07-22 17:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-22 12:07 Juhapekka Tolvanen
2000-07-22 17:14 ` Bart Schaefer [this message]
2000-07-24 12:06   ` Oliver Kiddle
2000-07-24  7:09 Sven Wischnowsky
2000-07-24  7:26 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1000722171433.ZM4503@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=juhtolv@st.jyu.fi \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).