The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
Google UNIX.COM


Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Portable scripting porter Shell Programming and Scripting 0 11-27-2007 07:54 PM
Shell Scripting tt1ect UNIX for Dummies Questions & Answers 4 04-11-2007 02:36 AM
HELP PLS!! Shell Scripting!! Mary_xxx Shell Programming and Scripting 9 09-16-2006 03:52 AM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 05:12 AM
Shell scripting sendhil Shell Programming and Scripting 1 02-14-2006 09:16 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-22-2005
Registered User
 

Join Date: Feb 2005
Location: Australia
Posts: 5
Portable GUI shell scripting?

I have some scripts that run in Windows, and the ability to put a GUI
layer over them is kind of appealing. So when I stumbled over
http://wizapp.sourceforge.net/ I thought that was rather cute.
(Reading the "advanced batch scripting" art of the manual impresses upon me that no sane person should write Windows batch scripts, however. :-) )

I believe wizapp should work fine from under any Unix environment for Windows (Cygwin, UWin, SFU, etc.), with maybe one obvious trick needed.

Then I went looking and found a nice paper on using GUI equivalents to
shell components for teaching shell programming to students, at
http://jan.netcomp.monash.edu.au/xsc...gramming2.html
and that seemed cute too.

So I wondered whether there was a minimalist extension like wizapp that
would be available as a single command (you give wizapp various options
to tell it what kind of GUI panel to look like), so that you could
write portable GUI shell scripts. E.g. if wizapp were ported to X/Unix, the scripts would be portable. That'd be one solution.

I know many people will say "Just use Tk/Tcl", but that suffers from two
problems: each new version breaks all previous scripts; and I don't know
the language; and it's lower level than shell scripting (it's similar to
http://www.satisoft.com/satshell/: see the code for the /etc/passwd demo:
http://www.satisoft.com/examples/sat...iewpasswd.html to see what I
mean); and Tk/Tcl represents a hefty install on every target system (wizapp is just the single executable); and I can't count. :-)


luke
Reply With Quote
Forum Sponsor
  #2  
Old 02-22-2005
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,022
how about using dtksh - at least under Solaris' /usr/dt/bin/dtksh
Quote:
dtksh - shell command language interpreter with access to
many X, Xt, Xm and CDE functions
sorry if you're talking only about Windows....
Reply With Quote
  #3  
Old 02-23-2005
Registered User
 

Join Date: Feb 2005
Location: Australia
Posts: 5
I meant, *really* portable

Sorry, I should have made it clearer when I was talking about wanting portable GUI shell scripts, I meant *really* portable - all Unices and Windows too (via Cygwin or UWin or whatever).

dtksh otherwise would sound good, though I note this worrying quote at http://users.tpg.com.au/adsln4yb/dtkshdemos.html: "dtksh does not appear well maintained across different OSes". It does also seem to require X11, and for Windows portability you'd prefer an abstraction from the native windowing system.

Same problem applies to tksh (except that I don't think tksh is available for Windows at all).
http://www.research.att.com/~gsf/dow...open.html#tksh
http://www.cs.princeton.edu/~jlk/tksh/

A multi-purpose moderately flexible tool like the wizapp thing would handle 95% of cases. If it was built from something like tksh you'd have the flexibility to do the remaining 95%. :-) But installing tksh across a heterogeneous network of 100's of PCs running varying OSes sounds painful.

luke
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0