Skip to content

Implement cbsh #2822

@worksofliam

Description

@worksofliam

We need a new component that will be used when bash is installed, which is a copy of cqsh but uses bash instead. This will enable us to use the cl built-in and solve CCSID problems that exist in OpenSSH (until they put out the fix of course), and allow us to support ASPs (which the work is already started in #2639)

int main(int argc, char **argv)
{
	//re - initialize cached PASE converters
	_SETCCSID(Qp2paseCCSID());

	argv[0] = "/QOpenSys/pkgs/bin/bash"; //use bash instead of qsh

	return execv(argv[0], &argv[0]);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions