Unix character-mode menu systems

Unix character-mode menu systems

Post by Voyag » Thu, 14 Sep 1995 04:00:00



   I would appreciate any recomendations on Unix character-mode menu
systems.. comercial or free.

Thanks

 
 
 

Unix character-mode menu systems

Post by Alan Hann » Sun, 17 Sep 1995 04:00:00


:    I would appreciate any recomendations on Unix character-mode menu
: systems.. comercial or free.

  There is a fairly decent ANSI CURSES library for perl somewhere, sorry
I don't know where...

--

Network Systems Administrator      Voice: (402) 472-0239
MIDnet, Lincoln NOC Office         Fax:   (402) 472-0240

  "The only way to make a man trustworthy is to trust him" - Henry Stimson

 
 
 

Unix character-mode menu systems

Post by Todd Michael Kenne » Mon, 18 Sep 1995 04:00:00




>   I would appreciate any recomendations on Unix character-mode menu
>systems.. comercial or free.

>Thanks

You don't have to go very far. It appears that Solaris comes with its own
menuing system called ``fmli''. However, I'm not sure how to write FMLI
scripts.  The man-pages stink, and there's no help in the AnswerBooks...
Does anyone out there have any references for FMLI?

Best Regards,
Todd Kennedy
CSL SysAdmin

 
 
 

Unix character-mode menu systems

Post by R. Stewart Ell » Wed, 20 Sep 1995 04:00:00




 >>
 >>   I would appreciate any recomendations on Unix character-mode menu
 >>systems.. comercial or free.
 >>
 >>Thanks

 >You don't have to go very far. It appears that Solaris comes with its own
 >menuing system called ``fmli''. However, I'm not sure how to write FMLI
 >scripts.  The man-pages stink, and there's no help in the AnswerBooks...
 >Does anyone out there have any references for FMLI?

This was part of the original AT&T SVR4 that I beta tested for Intel.  In
those early releases, there was a char mode admin program that was written
in FACES?  It was kind of interesting and even supported use of the mouse
when running in an xterm.

Something that I have known about for a while, but have never used, is the
select verb in ksh, which is designed to write enumerated menus with.  I
just found the entry with 'man ksh', the /select found it without any false
matches.

 >Best Regards,
 >Todd Kennedy
 >CSL SysAdmin

--
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______

  Web admin:  chimera,nn,tin,jove,kermit - free's best!/________/ /  /  / /

 
 
 

Unix character-mode menu systems

Post by John Caywo » Thu, 21 Sep 1995 04:00:00


: :    I would appreciate any recomendations on Unix character-mode menu
: : systems.. comercial or free.

We're using MultiMenu from MS Utilities, Riverside, NJ, (609) 764-1923.
A good, solid product; very easy to configure and just as easy to extend.
Not free....

--
 "If you've always done it that way, it's probably wrong"
 --------------------------------------attributed to Edward Kettering
 John Caywood, Sr. System Engineer (to engineer senior systems?),

 
 
 

Unix character-mode menu systems

Post by Darren Curt » Thu, 21 Sep 1995 04:00:00


You might try the book:

        Title:     Character User Interface Programming
        Publisher: Prentice Hall
        ISBN:      0-13-042581-8

Despite the title the book is about nothing but using FMLI and ETI.

+--------------------------------------------------------------------------+
| Name:     Darren Curtis        |  Disclaimer:  My opinion is my own!     |
| Company:  Battelle PNL         |  Theory:  If it is not broken then      |
| Phone:    (509) 375-2152       |           make it faster!               |

+--------------------------------------------------------------------------+




>>   I would appreciate any recomendations on Unix character-mode menu
>>systems.. comercial or free.

>>Thanks

>You don't have to go very far. It appears that Solaris comes with its own
>menuing system called ``fmli''. However, I'm not sure how to write FMLI
>scripts.  The man-pages stink, and there's no help in the AnswerBooks...
>Does anyone out there have any references for FMLI?

>Best Regards,
>Todd Kennedy
>CSL SysAdmin

 
 
 

Unix character-mode menu systems

Post by Roger Marqu » Tue, 26 Sep 1995 04:00:00



>   I would appreciate any recomendations on Unix character-mode menu
>systems.. comercial or free.

This works well for me...

#!/bin/sh
#---------------------------------------
# MENU 1.2

#
# Recommended installation directory: /usr/local/lib/menu
# with a symbolic link to: /usr/local/bin/menu
#----------------------------------------
set -fa
trap 'Run "menu" for the menu or "logout" to exit.' 0

MENULIB=/usr/local/lib/menu
PATH=/usr/bin:/usr/ucb:/usr/local/bin:/usr/5bin

/usr/ucb/logger -p local4.info "Menu/start"
while [ $# -eq 0 ]; do
clear
echo " "
echo " "
echo "                           [7m Plain ASCII Menu  [m"
echo " "
echo " "
echo "                 [7m[E] [m     [7mE [mmail"
echo " "
echo "                 [7m[W] [m     [7mW [mWW (lynx)"
echo " "
echo "                 [7m[N] [m     [7mN [mews (tin)"
echo " "
echo "                 [7m[S] [m     [7mS [mearch newsgroups"
echo " "
echo "                [7m[D/U] [m    [7mD [mownload or  [7mU [mpload a file (from/to Unix)"
echo " "
echo "                 [7m[M] [m    System  [7mM [message (MOTD)"
echo " "
echo "                 [7m[P] [m    Change  [7mP [massword"
echo " "
echo "                 [7m[Q] [m     [7mQ [muit Menu"
echo " "
echo " "
/bin/echo -n "                  SELECT AN OPTION (letter): "
read CHOICE

#-------------------------------------------------------------
case $CHOICE in
        E|e)
          # email (options)
          /usr/ucb/logger -p local4.info "Menu/email"
          clear
          . $MENULIB/email.menu
        ;;
#-------------------------------------------------------------
        W|w)
          # www
          /usr/ucb/logger -p local4.info "Menu/www"
          if [ ! -f $HOME/.lynxrc ]; then
             cp /usr/local/lib/lynxrc $HOME/.lynxrc
             /bin/chmod 644 $HOME/.lynxrc
          fi
          clear    
          /usr/local/bin/lynx /usr/local/lib/lynx_home.html
        ;;
#-------------------------------------------------------------
        N|n)
          # usenet news
          /usr/ucb/logger -p local4.info "Menu/news"
          clear    
          /usr/local/bin/tin -q
        ;;
#-------------------------------------------------------------
        S|s)
          # search newsgroups
          /usr/ucb/logger -p local4.info "Menu/search"
          clear    
          echo ""
          echo ""
          /bin/echo -n "Enter a term to search for:  "
          read CHOICE
          /usr/local/bin/newsgroups $CHOICE
          echo ""
          echo ""
        ;;
#-------------------------------------------------------------
        P|p)
          # change passwd
          /usr/ucb/logger -p local4.info "Menu/passwd"
          clear    
          echo ""
          echo "Good passwords are essential for Internet security.  Please:"
          echo "    * use at least 5 characters,"
          echo "    * don't match anything in your UNIX account information, such as your login"
          echo "      name or an item from your "finger" data entry,"
          echo "    * don't use dictionary words,"
          echo "    * don't use English, French or other proper nouns,"
          echo "    * use at least 5 unique characters,"
          echo "    * don't use leading or trailing numbers,"
          echo "    * any of these tests reversed, pluralized, or truncated."
          echo ""
          echo "Passwords also:"

          echo "    * Be easily remembered (so you don't have to write it down)."
          echo ""
          passwd `whoami`
        ;;
#-------------------------------------------------------------
        D|d)
          # zmodem download
          /usr/ucb/logger -p local4.info "Menu/dload"
          clear    
          echo ""
          echo ""
          echo ""
          /bin/echo -n "Download which file: "
          read DLOAD
          sz $DLOAD
        ;;
#-------------------------------------------------------------
        U|u)
          # zmodem upload
          /usr/ucb/logger -p local4.info "Menu/upload"
          clear    
          /usr/local/bin/rz -b -t 50
        ;;
#-------------------------------------------------------------
        M|m)
          # system message
          /usr/ucb/logger -p local4.info "Menu/motd"
          clear    
          /usr/local/bin/less -ec /etc/motd
        ;;
#-------------------------------------------------------------
        Q|q)
          # Quit Menu
          /usr/ucb/logger -p local4.info "Menu/quit"
          clear
          /bin/echo 'Run "menu" for the menu or "logout" to exit.'
          echo ""
          kill $$
          exit 0
        ;;
#-------------------------------------------------------------
        *)
          /usr/ucb/logger -p local4.info "Menu/null"
          ;;
      esac
done
#-------------------------------------------------------------
exit 1

 
 
 

1. character mode menu & dialog framework: summary

Thanks everyone for their responses. I will now try to summarize
according to the rules the information I got.

First, some people suggested to use X anyway; while that would perhaps
be wise, it wasn't what I wanted.
But it seems that outside X no such framework exists:
- A lot of people pointed me to (n)curses: that is definitely the
foundation for a character mode cua framework, but it doesn't offer any of the
desired functionality by itself.
- I was also urged to take a look at the code behind the dialogs used by
the slackware install: this should be interesting, but must wait until
I have ftp-access again.
- The best suggestion, I think, was to look at the Dr Dobbs DFlat
library. I have downloaded this from a local bulletin board, and it seems to
offer everything that's needed, but it will be a lot of work to port,
since it was written for MS-DOS. System dependent code is neatly
separated from the independent code, but the whole library assumes more
terminal functionality than Linux offers.

However, this is what I will try.

Again, thanks to everybody.

--
Boudewijn Rempt
Kloosterstraat 34 1.2, 2021 VN Haarlem.

2. Drivers for Trantor/Texel

3. wanted: sample source for lotus 123 style character mode menus

4. GVC,AT clone NE2000 and Linux?

5. Menu system generator wanted (character/console)

6. fvwm without a mouse?

7. pdmenu 1.0.0 - simple text mode menu system

8. non-ISO-8859-1 text: how to display

9. Character-mode file manager for Linux (not mc)

10. Very simple character-mode editor?

11. Character-Mode Screensaver For Linux ?

12. character-by-character mode through telnet