Hi Kyle and *, Am 2008-03-19 17:08:55, schrieb Kyle Wheeler: > #!/bin/sh > tmp=`mktemp -t menubox.XXXX` > dialog --menu "choose wisely" 0 0 0 \ > 1 'pick me' \ > 2 'no, really, pick me!' \ > 3 'forget those losers' \ > 4 'PICK ME!' 2>$tmp > read choice <$tmp > echo you picked $choice | less > > Read dialog's documentation for all the other neat tricks you can do > with it---it's surprisingly powerful. ------------------------ END OF REPLIED MESSAGE ------------------------ I do such stuff since years and it works great, with <pipe> or <editor>. However, in the console/vt there is no problem, but in a XTerm, I run sometimes into trouble with the characters... Curently, the threads are shown fine in lines. I can call my "tdmuttsettings" :-) to change settings on the fly or permananet and it it just works with Xdialog... But sometimes, I use a macro to start a filter (like blacklisting or such) and after I am back in "mutt" the threating is screwed up... The lines are transformed into => and such crap. Do you know what this cause? It seems, I have used something in one or more scripts, which screw it up but was not able to locate it. Any hints? Thanks, Greetings and nice Day Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature