Author Topic: Pipecom Browser for Filename$  (Read 8511 times)

0 Members and 1 Guest are viewing this topic.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Pipecom Browser for Filename$
« Reply #45 on: February 11, 2021, 12:28:00 am »
To tell you the truth, I've never taken much notice of the display format... The standard Terminal screen size is 80 cards x 24 lines.

This is dir -F and dir -F -l.  I have only expanded the height to demonstrate both commands.

 
test.png


Widening the Terminal, prior to the dir -F, seems to create consistent columns.

 
test2.png


I hope this helps.

J
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Pipecom Browser for Filename$
« Reply #46 on: February 11, 2021, 12:42:26 am »
Man I was all set to assume 2nd column always 45 but doubt that very much! After seeing last shots.

I think number of columns depends on longest filename.

dir -F -l looks interesting it's a nice one column list but I wonder if the column of interest, the last which is all we want, might be different for different people ie if "john john" were longer for another person.

BTW If I told Linux to
Code: QB64: [Select]
  1. ChDir Android/

in Basic Code would it? Or does slash have to be removed.


Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Pipecom Browser for Filename$
« Reply #47 on: February 11, 2021, 12:54:29 am »
@johnno56

Any commands that gets just a plain 1 column list of just filenames or folders?

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Pipecom Browser for Filename$
« Reply #48 on: February 11, 2021, 05:38:39 pm »
I have only needed dir or ls when dealing with directories. There are probably a whole swag of commands but I have not had the need to use them or to learn what they are... I know this is not very helpful... In the early days of my Linux experience, using the command line, was more widely used. The advent of better GUI's meant less use of the command line....
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Pipecom Browser for Filename$
« Reply #49 on: February 11, 2021, 07:39:43 pm »
I have only needed dir or ls when dealing with directories. There are probably a whole swag of commands but I have not had the need to use them or to learn what they are... I know this is not very helpful... In the early days of my Linux experience, using the command line, was more widely used. The advent of better GUI's meant less use of the command line....

@johnno56  I probably think of you first when I want cross platform for at least Linux. I thank you again for all your assistance and feedback from that other OS.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Pipecom Browser for Filename$
« Reply #50 on: February 11, 2021, 11:05:47 pm »
"Other" OS? Do you not mean, "The" OS?  lol
Logic is the beginning of wisdom.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Pipecom Browser for Filename$
« Reply #51 on: February 11, 2021, 11:12:56 pm »
@johnno56

So you're a Linux guy? Any sort of thing (C++/POSIX-wise) you have on a wishlist for functions in Linux QB64? Linux is fun to mess with
Shuwatch!

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Pipecom Browser for Filename$
« Reply #52 on: February 12, 2021, 04:20:46 pm »
100% Linux since 2005.... and no, nothing really to add to QB64. Quite happy with the way it functions.

A wish-list. Interesting.

I usually work with  a series of "steps". Create concept. Is it feasible with the tools at hand. If so develop and produce. Otherwise move on to the next concept. "Wishing" for something, in my opinion, does not make it real or happen. But that is just me... lol

With that being said... Most 'Basics' are designed for 2D. Having a Physics engine (like Box2D) and a Particle System, 'built in', would be beneficial for 'any' Basic...

Yep. Happy with QB64.
Logic is the beginning of wisdom.