Sponsored Content
Full Discussion: AudioScope Project.
Operating Systems OS X (Apple) AudioScope Project. Post 303002555 by wisecracker on Sunday 27th of August 2017 12:29:53 PM
Old 08-27-2017
Well guys, testing this project gets harder by the distance in upload periods.
(You could say AudioScope fatigue is setting in.)

Well on testing on numerous Linux flavours there are many that use terminal windows of varying sizes that CANNOT be adjusted using the terminal escape code so this is an update to check if the terminal in use CAN be adjusted and if not it immediately crashes out with the error report below; nothing is written to the storage media at this pont.
Code:
Your Prompt> ./AudioScope.sh<CR>

 A terminal window size of 80 columns x 24 lines IS required
 for this program to work!

 This terminal will not auto-resize using the escape codes.

 You will have to manually resize the terminal to EXACTLY
 80 columns x 24 lines and restart AudioScope.sh again.

 Aborting program...

Your Prompt> _

As you can see I have deliberately specified the size now to keep the aesthetics of the project right and in doing so will crash out if 80 columns by 24 lines is not detected.

Stats so far:-

# Total Lines=5187.
# Blank Lines=45.
# Code Lines=2375.
# Comments=2767, (including the builtin Manual).
# Filesize=223361 bytes.

Enjoy...
This User Gave Thanks to wisecracker For This Post:
 

9 More Discussions You Might Find Interesting

1. Solaris

SSH doesn't pick up user's project from /etc/project

We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies

2. News, Links, Events and Announcements

A new project was posted on The UNIX and Linux Forums project board.

A new project was posted on your project board. Project title: Bash Shell Tutoring Estimated Budget: $50/hr Start date: Immediately Required skills: Linux, Bash, Shell, UNIX I work as a datawarehouse designer and developer. Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies

3. What is on Your Mind?

AudioScope has had a magazine review. <shock>

Hi Admin and Staff... Thanks for hosting AudioScope.sh on this site. I have had the biggest surprise of my life today. This months issue of the UK Linux magazine "Linux Format" have done a small piece on the project. Issue April 2014, LXF 182, page 65... This I never expected and I... (1 Reply)
Discussion started by: wisecracker
1 Replies

4. OS X (Apple)

AC to DC trigger pulse for AudioScope.sh.

Hi all... Has _below_ ever been done in UNIX shell scripting before? (I have done this easily in Python but this is using purely the shell.) The DEMO version IS built and has been tested. Pre-amble... I now need at least one control pulse for the AudioScope.sh when in PURELY audio I/O mode,... (2 Replies)
Discussion started by: wisecracker
2 Replies

5. Shell Programming and Scripting

Experimental awk audio converter for CygWin and AudioScope.sh

Development machine:- Standard MBP 13 inch, OSX 10.7.5... GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11) Copyright (C) 2007 Free Software Foundation, Inc. Scenario:- Audio capture for AudioScope.sh for CygWin without ANY third party installs. I am trying my hardest to get a... (6 Replies)
Discussion started by: wisecracker
6 Replies

6. OS X (Apple)

The Alternate DC board for AudioScope.sh.

Hi guys... Well I have entered an area of partial insnity... ;o) Below is a photo of the 'ALTDC' board for AudioScope.sh... I have decided to incorporate all three methods for obtaining DC into this MBP via the MIC input. 1) VFO. 2) CHOPPER. 3) COUNTER. The controller for the COUNTER... (9 Replies)
Discussion started by: wisecracker
9 Replies

7. What is on Your Mind?

AudioScope...

Boy oh boy, with only a MONO mic input to use AudioScope gets much more difficult when the ALTDC board is included. It needs, so far, two hits at the MIC input with a single hit at the HEADPHONE audio output. The first at the highest practical resolution for the AC component and the second... (0 Replies)
Discussion started by: wisecracker
0 Replies

8. OS X (Apple)

The DC Control and Timer boards for AudioScope.sh...

Hi all... Apologies for any typos... For those intersted in the AudioScope the next construction is finished. I have not been totally idle but working out the hard stuff to be able to be very simple to build. It is a single transistor simple timer that lasts for about 1.2 to 1.8 seconds.... (2 Replies)
Discussion started by: wisecracker
2 Replies

9. UNIX for Advanced & Expert Users

Has AudioScope found a bug in bash 4.4.5?

Using AudioScope.sh on Ubuntu 17.04 from a live DVD disc I came across an error. Consider the code below it is a MUCH shortened version of the KEYBOARD input in AudioScope. #!/bin/bash bash --version uname -a status=0 KEYBOARD() { read -r -p "Enter QUIT or EXIT to quit:- " kbinput if ||... (11 Replies)
Discussion started by: wisecracker
11 Replies
GIT-FTP(1)						      General Commands Manual							GIT-FTP(1)

NAME
Git-ftp - FTP done the Git way SYNOPSIS
git-ftp [actions] [options] [url]... DESCRIPTION
This manual page documents briefly the git-ftp program. Git-ftp is a FTP client using Git to determine which local files to upload or which files should be deleted on the remote host. It saves the deployed state by uploading the SHA1 hash in the .git-ftp.log file. There is no need for Git (http://git-scm.org) to be installed on the remote host. Even if you play with different branches, git-ftp knows which files are different and only handles those files. No ordinary FTP client can do this and it saves time and bandwith. Another advantage is Git-ftp only handles files which are tracked with Git (http://git-scm.org). ACTIONS
init Initializes the first upload to remote host. push Uploads files which have changed since last upload. catchup Uploads the .git-ftp.log file only. We have already uploaded the files to remote host with a different program and want to remember its state by uploading the .git-ftp.log file. show Downloads last uploaded SHA1 from log and hooks `git show`. add-scope <scope> Creates a new scope (e.g. dev, production, testing, foobar). This is a wrapper action over git-config. See SCOPES section for more information. remove-scope <scope> Remove a scope. help Prints a usage help. OPTIONS
-u [username], --user [username] FTP login name. If no argument is given, local user will be taken. -p [password], --passwd [password] FTP password. If no argument is given, a password prompt will be shown. -k [[user]@[account]], --keychain [[user]@[account]] FTP password from KeyChain (Mac OS X only). -a, --all Uploads all files of current Git checkout. -c, --commit Sets the SHA1 hash of last deployed commit by option. -A, --active Uses FTP active mode. -s <scope>, --scope <scope> Using a scope (e.g. dev, production, testing, foobar). See SCOPE and DEFAULTS section for more information. -l, --lock Enable remote locking. -D, --dry-run Does not upload or delete anything, but tries to get the .git-ftp.log file from remote host. -f, --force Does not ask any questions, it just does. -n, --silent Be silent. -h, --help Prints some usage information. -v, --verbose Be verbose. -vv Be as verbose as possible. --syncroot Specifies a directory to sync from as if it were the git project root path. --connections Number of simultanious connections (Linux only). --version Prints version. URL
The scheme of an URL is what you would expect protocol://host.domain.tld:port/path Below a full featured URL to host.exmaple.com on port 2121 to path mypath using protocol ftp: ftp://host.example.com:2121/mypath But, there is not just FTP. Supported protocols are: ftp://... FTP (default if no protocol is set) sftp://... SFTP ftps://... FTPS ftpes://... FTP over explicit SSL (FTPES) protocol DEFAULTS
Don't repeat yourself. Setting defaults for git-ftp in .git/config $ git config git-ftp.<(url|user|password)> <value> Everyone likes examples $ git config git-ftp.user john $ git config git-ftp.url ftp.example.com $ git config git-ftp.password secr3t $ git config git-ftp.connections 10 $ git config git-ftp.syncroot path/dir After setting those defaults, push to john@ftp.example.com is as simple as $ git ftp push SCOPES
Need different defaults per each system or environment? Use the so called scope feature. Useful if you use multi environment development. Like a development, testing and a production environment. $ git config git-ftp.<scope>.<(url|user|password)> <value> So in the case below you would set a testing scope and a production scope. Here we set the params for the scope "testing" $ git config git-ftp.testing.url ftp.testing.com:8080/foobar-path $ git config git-ftp.testing.password simp3l Here we set the params for the scope "production" $ git config git-ftp.production.user manager $ git config git-ftp.production.url live.example.com $ git config git-ftp.production.password n0tThatSimp3l Pushing to scope testing alias john@ftp.testing.com:8080/foobar-path using password simp3l $ git ftp push -s testing Note: The SCOPE feature can be mixed with the DEFAULTS feature. Because we didn't set the user for this scope, git-ftp uses john as user as set before in DEFAULTS. Pushing to scope production alias manager@live.example.com using password n0tThatSimp3l $ git ftp push -s production You can also create scopes using the add-scope action. All settings can be defined in the URL. Here we create the production scope using add-scope $ git ftp add-scope production ftp://manager:n0tThatSimp3l@live.example.com/foobar-path Deleting scopes is easy using the remove-scope action. $ git ftp remove-scope production IGNORING FILES
Add file names to .git-ftp-ignore to be ignored. Ignoring all in Directory config: config/* Ignoring all files having extension .txt in ./ : *.txt This ignores a.txt and b.txt but not dir/c.txt Ingnoring a single file called gargantubrain.txt: gargantubrain.txt EXIT CODES
There are a bunch of different error codes and their corresponding error messages that may appear during bad conditions. At the time of this writing, the exit codes are: 1 Unknown error 2 Wrong Usage 3 Missing arguments 4 Error while uploading 5 Error while downloading 6 Unknown protocol 7 Remote locked 8 Not a Git project KNOWN ISSUES &; BUGS The upstream BTS can be found at <http://github.com/resmo/git-ftp/issues>. AUTHORS
Rene Moser <mail@renemoser.net>. git-ftp User Manual December 23, 2010 GIT-FTP(1)
All times are GMT -4. The time now is 07:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy