Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tab() special behaviour in Console?
#11
(12-04-2025, 01:02 PM)SMcNeill Wrote: Screen 0 isn't a console/terminal.  It's a graphic screen emulating a classic text-only screen.

With any $CONSOLE or _DEST CONSOLE, Locate will only work in Windows.  Ir doesn't work on Linux Terminals.
Finally got you in a mistake Steve.    LOCATE works fine in a Linux Console for me.    There are many Linux Console programs though,
not just two like in Windows (CMD & Powershell).     So it might not work on all.    I HAVE NOT tried in a regular Xterm.    But LOCATE works just fine on gterm & konsole !
Reply
#12
Quote:Ir doesn't work on Linux Terminals.

Ok not my problem then.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#13
Well then apparently since it works on Windows and works on some versions of Linux, it's not an issue.  There's no need to consider it a bug, or try to fix it or enhance it.  Thanks guys!  Since it's completely irrelevant to the entire user base, we'll just forget about making any such distinctions in the future and not even worry about TAB not working properly.  I mean why bother?  bplus has a work around that works on his setup.  That should be good enough for everyone else.  Just get him to send you his PC when you need to compile and run something.

I'm glad this issue has been solved and taken care of so efficiently.  I'm not going to worry about it anymore now.
Reply
#14
Since there are around 5555 different Linux distributions and their own special features, this doesn't really mean much.

gterm is a GNOME terminal emulator, and "Konsole" probably refers to KDE. GNOME, in particular, has a lot of special customizations, and for KDE, SuSE is probably the most important distribution, and they've always tried to be as close to Windows as possible.

If Locate works under some Linux distributions, that's thanks to the developers of QB64 and the distribution settings.

Under Windows, it simply works all the way back to MS-DOS and Win 3.1; I assume. And even today, you don't need more than two consoles: CMD and PS.

If one were to ask me but nobody ever does.  Tongue  I would stop developing for Linux; it's just a niche market, and concentrate fully on Windows.

[Image: MS-Linux.jpg]
Reply
#15
(12-04-2025, 10:28 PM)Kernelpanic Wrote: Since there are around 5555 different Linux distributions and their own special features, this doesn't really mean much.

gterm is a GNOME terminal emulator, and "Konsole" probably refers to KDE. GNOME, in particular, has a lot of special customizations, and for KDE, SuSE is probably the most important distribution, and they've always tried to be as close to Windows as possible.

If Locate works under some Linux distributions, that's thanks to the developers of QB64 and the distribution settings.

Under Windows, it simply works all the way back to MS-DOS and Win 3.1; I assume. And even today, you don't need more than two consoles: CMD and PS.

If one were to ask me but nobody ever does.  Tongue  I would stop developing for Linux; it's just a niche market, and concentrate fully on Windows.

[Image: MS-Linux.jpg]
    If that were to happen I would be sad.  I'm one of those nicher's and the niche I think is getting bigger !     The cross platform capability of QB64PE is one of the main reasons I'm using it !

(12-04-2025, 10:21 PM)SMcNeill Wrote: Well then apparently since it works on Windows and works on some versions of Linux, it's not an issue.  There's no need to consider it a bug, or try to fix it or enhance it.  Thanks guys!  Since it's completely irrelevant to the entire user base, we'll just forget about making any such distinctions in the future and not even worry about TAB not working properly.  I mean why bother?  bplus has a work around that works on his setup.  That should be good enough for everyone else.  Just get him to send you his PC when you need to compile and run something.

I'm glad this issue has been solved and taken care of so efficiently.  I'm not going to worry about it anymore now.
      I've usually eschewed TAB anyway.    Depending on what I'm writing I use either dumb teletype screen I/O  (just Print & Input or Line Input) or I make something meticulous where I'm LOCATING before almost every PRINT statement.   TAB is to in between for me to have found it really useful !
Reply
#16
(12-04-2025, 10:21 PM)SMcNeill Wrote: Well then apparently since it works on Windows and works on some versions of Linux, it's not an issue.  There's no need to consider it a bug, or try to fix it or enhance it.  Thanks guys!  Since it's completely irrelevant to the entire user base, we'll just forget about making any such distinctions in the future and not even worry about TAB not working properly.  I mean why bother?  bplus has a work around that works on his setup.  That should be good enough for everyone else.  Just get him to send you his PC when you need to compile and run something.

I'm glad this issue has been solved and taken care of so efficiently.  I'm not going to worry about it anymore now.

Your welcome! Smile
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#17
As it looks now, the fix needed is a line on the Wiki that mentions that tab() doesn't work as expected in the Console ...
Or fix it in the console  Cool
Reply
#18
And be sure to include bplus workaround so no one gets upset if developers dont get around to fixing Tab() in $Console. There are so many ways to play with the cat. (Who wants to skin one?)

Wink
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Print strings with accents and special chars Ikerkaz 8 674 12-20-2025, 09:28 PM
Last Post: TempodiBasic
  Make IDE $Console:Only output readably large dakra137 1 523 10-10-2025, 12:21 PM
Last Post: hsiangch_ong
  keyboard issue ? SHIFT + TAB not detected (linux) Herve 13 1,758 08-27-2025, 09:47 AM
Last Post: Herve
  console only OR screen only mdijkens 2 857 09-04-2024, 09:34 PM
Last Post: mdijkens

Forum Jump:


Users browsing this thread: