× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
NielsGron reported 2012-10-05T21:48:59Z  · tariqrahiman last modified 2012-10-22T21:44:05Z

Support line feed in shell PROMPT


Dev
Fun Fun
funfun
QA
Niels Gron
NielsGron
Priority Low
Complexity Unknown
Component App - FluidShell
Version 12.0

Shell prompts can be fairly long, so it would be nice to split the prompt over two lines, e.g.

[oracle]:[niels]:/home/oracle
$

To reproduce this prompt in fluidshell use:

declare -x PROMPT="[\\\${USERNAME}]:[\\\${DATABASE}]:\\\${PWD}\$ "

That worked fine - but I wanted a multiline prompt which can be achieved using:

declare -x PROMPT="[\\\${USERNAME}]:[\\\${DATABASE}]:\\\${PWD}
\$ "

However - While the prompt displays properly, e.g.

[ajpowell]:[WG0036]:[master]:Q:\SQL\SQLServer
$

any subsequent command does not display correctly, each keypress seems to introduce a line feed.

Issue #7740

Closed
Fixed
Resolved 2012-10-09T02:33:16Z
 
 
Completion
No due date
Fixed Build trunk/29641
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017