Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ascii ClipDoodle (text screen art)
#9
(10-17-2023, 05:01 PM)mnrvovrfc Wrote: JDJ this is an awesome program! A bit clumsy to navigate three windows.

For this to work on Linux, there are a few fixes to be made in order. It is recommendable to choose what the filenames will be for the executable files of the ASCII and color pickers. Cannot end in EXE, because Debian doesn't like it for some reason. I'm running this on Spiral Linux GNOME with Debian "Bookworm" base.

It is suggested to use `_CWD$()` to create a full path of the program the command shell is told to execute:

Code: (Select All)
thisdirectory$ = _CWD$ + "/"
Shell _DontWait thisdirectory$ + "jdjdoodleasciipick" ' Open the pickclip control panel
Shell _DontWait thisdirectory$ + "jdjdoodlecolorpick" ' Open the colorpick16 control panel

I revealed how I changed the filenames for the other two programs.  Blush

I got an "Input Past End" runtime error for one of the pickers. It did not let me close the three programs together gracefully. It means must use `EOF()` everytime a line must be taken from an input file, in case that file is empty.

In line #54 of the ASCII picker:
Code: (Select All)
    if not eof(11) then Line Input #11, g$

In line #116 of the color picker:
Code: (Select All)
    if not eof(11) then Line Input #11, g$

Thanks for sharing the tips.  I haven't used a linux distribution in ages so I really don't know how it works these days. The EOF is odd for me as I've never noticed it being a problem with LINE INPUT in such a simple file. Thanks for pointing it out.
Reply


Messages In This Thread
RE: Ascii ClipDoodle (text screen art) - by James D Jarvis - 10-17-2023, 06:04 PM
RE: Ascii ClipDoodle (text screen art) - by bplus - 10-17-2023, 05:19 PM



Users browsing this thread: 13 Guest(s)