After much searching on the good ol' internet I could find nothing, so this is the result.
ALthough many people seem to have asked this question no-one seems to have a solution so here we go.
I need for AudioScope.sh, 'xterm' to run a second program for some of its calibration using the same machine.
'xterm' no longer exists on OSX 10.12.x Sierra, it can be installed but it is unavailable on a virgin OSX Sierra install.
Hence the code below.
Place it into your '$HOME' drawer and call as per the code comments.
Remember to change the access rights before you go.
This incarnation is called 'NewCLI', anyone remember that? ;oD
But you could just as easily name it 'xterm' if you wish. I have both in my '$HOME' drawer.
Enjoy...
Last edited by wisecracker; 05-18-2017 at 11:15 AM..
i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine.
then last week i wrote capture.sh and it... (2 Replies)
For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying.
The problem was the same both locally or using the terminal and going ssh somewhere.
... (1 Reply)
Hello,
I am trying to learn how to pass something more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
______________________________________________
${0##*/}
run... (0 Replies)
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection dropped... (1 Reply)
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection... (1 Reply)
I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in.
Is it also possible to start the... (4 Replies)
I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
hi all,
first off thesis my first post so if i am not in the right forum, i apologize.
i'm an absolute newbie to unix. i've been reading my books and studying my crib sheets etc. but... :/
i want to accomplish two things.
1. search and remove duplicate files i.e.. audio, doc alias etc.... (1 Reply)
Hi everyone...
I don't know if this is the correct forum but it is Apple OSX specific.
It is a proper pseudo-man page for the sparse official one...
This is as thorough as experimentation can get...
Command line afplay, August 2016.
---------------------------------
afplay -h
... (0 Replies)
I was looking for a method of clearing the buffer of the vertical scroll back slider and came across this little Terminal escape snippet I had never seen before:
printf "%b" "\033
SO...
printf "%b" "\033c\033
Performs a terminal reset, buffer clearance, clear the window, set back to default... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT DEBIAN
dict_lookup
DICT_LOOKUP(1)DICT_LOOKUP(1)NAME
dict_lookup - DICT Protocol Client
SYNOPSIS
dict_lookuop [options]
DESCRIPTION
dict_lookup reads X selection, then open terminal emulator and run dict client in it allowing user to view content using pager. It makes
sense to configure launching dict_lookup on a keyboard shortcut in the window manager.
OPTIONS -h display help message.
-x x X coordinate of terminal emulator.
-x Y Y coordinate of terminal emulator.
-s WxH width and height of terminal emulator separated by 'x'.
-q query
query, if it is specified, X selection is not read.
ENVIRONMENT
dict_lookup recognizes the following environment variables. The default value is specified in square brackets.
D_AWK_PROG
AWK interpreter to use. [awk]
D_XCLIP_PROG
xclip application. [xclip]
D_XTERM_PROG
xterm or equivalent terminal emulator. [xterm]
D_UTF8_LOCALE
UTF-8 locale. [first available UTF-8 locale on system]
D_DICT_PROG
Dictionary client program. [dict]
D_DICT_SERVER
Option for dictionary client specifying the server. [-h dict.org]
D_DICT_PORT
Option for dictionary client specifying the port. [-p 2628]
D_DICT_DB_OPT
Option for dictionary client specifying the database. [-d foldoc]
D_XTERM_CLASS
Option for terminal emulator specifying the class. [-class XTerm]
D_XTERM_NAME
Option for terminal emulator specifying the name. [-name xterm_dict]
D_XTERM_TITLE
Option for terminal emulator specifying the title. [-title dict_lookup]
D_TEXT_WIDTH
Program calculating text width for given text. [cyrillic_text_width]
cyrillic_text_width doesn't work correctly for Japanese, Korean, Chinese and some other languages.
D_TERM_X
Terminal emulator X coordinate. [+200]
D_TERM_Y
Terminal emulator Y coordinate. [+200]
D_TERM_H
Terminal emulator height. [+40]
D_PAGER
Pager. [less -R]
SEE ALSO dict(1), less(1), xterm(1), dictd(8), http://www.dict.org, RFC 2229
9 January 2011 DICT_LOOKUP(1)